Text Generation
PEFT
Safetensors
Transformers
lora
sft
comedy
shakespeare
qwen2.5
trl
creative-writing
hackathon
build-small
conversational
Instructions to use sdavies/globe-theatre-qwen25-3b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sdavies/globe-theatre-qwen25-3b-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "sdavies/globe-theatre-qwen25-3b-lora") - Transformers
How to use sdavies/globe-theatre-qwen25-3b-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sdavies/globe-theatre-qwen25-3b-lora") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sdavies/globe-theatre-qwen25-3b-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use sdavies/globe-theatre-qwen25-3b-lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sdavies/globe-theatre-qwen25-3b-lora" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sdavies/globe-theatre-qwen25-3b-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/sdavies/globe-theatre-qwen25-3b-lora
- SGLang
How to use sdavies/globe-theatre-qwen25-3b-lora with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "sdavies/globe-theatre-qwen25-3b-lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sdavies/globe-theatre-qwen25-3b-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "sdavies/globe-theatre-qwen25-3b-lora" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sdavies/globe-theatre-qwen25-3b-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use sdavies/globe-theatre-qwen25-3b-lora with Docker Model Runner:
docker model run hf.co/sdavies/globe-theatre-qwen25-3b-lora
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +5 -0
- README.md +62 -0
- adapter_config.json +48 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +54 -0
- checkpoint-2/README.md +209 -0
- checkpoint-2/adapter_config.json +48 -0
- checkpoint-2/adapter_model.safetensors +3 -0
- checkpoint-2/chat_template.jinja +54 -0
- checkpoint-2/optimizer.pt +3 -0
- checkpoint-2/rng_state.pth +3 -0
- checkpoint-2/scheduler.pt +3 -0
- checkpoint-2/tokenizer.json +3 -0
- checkpoint-2/tokenizer_config.json +30 -0
- checkpoint-2/trainer_state.json +65 -0
- checkpoint-2/training_args.bin +3 -0
- checkpoint-25/README.md +209 -0
- checkpoint-25/adapter_config.json +48 -0
- checkpoint-25/adapter_model.safetensors +3 -0
- checkpoint-25/chat_template.jinja +54 -0
- checkpoint-25/optimizer.pt +3 -0
- checkpoint-25/rng_state.pth +3 -0
- checkpoint-25/scheduler.pt +3 -0
- checkpoint-25/tokenizer.json +3 -0
- checkpoint-25/tokenizer_config.json +30 -0
- checkpoint-25/trainer_state.json +295 -0
- checkpoint-25/training_args.bin +3 -0
- checkpoint-50/README.md +209 -0
- checkpoint-50/adapter_config.json +48 -0
- checkpoint-50/adapter_model.safetensors +3 -0
- checkpoint-50/chat_template.jinja +54 -0
- checkpoint-50/optimizer.pt +3 -0
- checkpoint-50/rng_state.pth +3 -0
- checkpoint-50/scheduler.pt +3 -0
- checkpoint-50/tokenizer.json +3 -0
- checkpoint-50/tokenizer_config.json +30 -0
- checkpoint-50/trainer_state.json +556 -0
- checkpoint-50/training_args.bin +3 -0
- checkpoint-66/README.md +209 -0
- checkpoint-66/adapter_config.json +48 -0
- checkpoint-66/adapter_model.safetensors +3 -0
- checkpoint-66/chat_template.jinja +54 -0
- checkpoint-66/optimizer.pt +3 -0
- checkpoint-66/rng_state.pth +3 -0
- checkpoint-66/scheduler.pt +3 -0
- checkpoint-66/tokenizer.json +3 -0
- checkpoint-66/tokenizer_config.json +30 -0
- checkpoint-66/trainer_state.json +727 -0
- checkpoint-66/training_args.bin +3 -0
- tokenizer.json +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
checkpoint-2/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
checkpoint-25/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
checkpoint-50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
checkpoint-66/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
model_name: globe-theatre-qwen25-3b-lora
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen2.5-3B-Instruct
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
licence: license
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Model Card for globe-theatre-qwen25-3b-lora
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct).
|
| 18 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 19 |
+
|
| 20 |
+
## Quick start
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from transformers import pipeline
|
| 24 |
+
|
| 25 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 26 |
+
generator = pipeline("text-generation", model="None", device="cuda")
|
| 27 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 28 |
+
print(output["generated_text"])
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Training procedure
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
This model was trained with SFT.
|
| 38 |
+
|
| 39 |
+
### Framework versions
|
| 40 |
+
|
| 41 |
+
- PEFT 0.19.1
|
| 42 |
+
- TRL: 1.6.0
|
| 43 |
+
- Transformers: 5.10.2
|
| 44 |
+
- Pytorch: 2.11.0+cu128
|
| 45 |
+
- Datasets: 5.0.0
|
| 46 |
+
- Tokenizers: 0.22.2
|
| 47 |
+
|
| 48 |
+
## Citations
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
Cite TRL as:
|
| 53 |
+
|
| 54 |
+
```bibtex
|
| 55 |
+
@software{vonwerra2020trl,
|
| 56 |
+
title = {{TRL: Transformers Reinforcement Learning}},
|
| 57 |
+
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
|
| 58 |
+
license = {Apache-2.0},
|
| 59 |
+
url = {https://github.com/huggingface/trl},
|
| 60 |
+
year = {2020}
|
| 61 |
+
}
|
| 62 |
+
```
|
adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-3B-Instruct",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 16,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"up_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"down_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"q_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"v_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e90749472ac39dec2b80483b7c98680e95ec8b1920292ae13ee8b50cadeca17
|
| 3 |
+
size 119801528
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
checkpoint-2/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen2.5-3B-Instruct
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for Model ID
|
| 14 |
+
|
| 15 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
|
| 21 |
+
### Model Description
|
| 22 |
+
|
| 23 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
- **Developed by:** [More Information Needed]
|
| 28 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 29 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 30 |
+
- **Model type:** [More Information Needed]
|
| 31 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 32 |
+
- **License:** [More Information Needed]
|
| 33 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 34 |
+
|
| 35 |
+
### Model Sources [optional]
|
| 36 |
+
|
| 37 |
+
<!-- Provide the basic links for the model. -->
|
| 38 |
+
|
| 39 |
+
- **Repository:** [More Information Needed]
|
| 40 |
+
- **Paper [optional]:** [More Information Needed]
|
| 41 |
+
- **Demo [optional]:** [More Information Needed]
|
| 42 |
+
|
| 43 |
+
## Uses
|
| 44 |
+
|
| 45 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 46 |
+
|
| 47 |
+
### Direct Use
|
| 48 |
+
|
| 49 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 50 |
+
|
| 51 |
+
[More Information Needed]
|
| 52 |
+
|
| 53 |
+
### Downstream Use [optional]
|
| 54 |
+
|
| 55 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 56 |
+
|
| 57 |
+
[More Information Needed]
|
| 58 |
+
|
| 59 |
+
### Out-of-Scope Use
|
| 60 |
+
|
| 61 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 62 |
+
|
| 63 |
+
[More Information Needed]
|
| 64 |
+
|
| 65 |
+
## Bias, Risks, and Limitations
|
| 66 |
+
|
| 67 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 68 |
+
|
| 69 |
+
[More Information Needed]
|
| 70 |
+
|
| 71 |
+
### Recommendations
|
| 72 |
+
|
| 73 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 74 |
+
|
| 75 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 76 |
+
|
| 77 |
+
## How to Get Started with the Model
|
| 78 |
+
|
| 79 |
+
Use the code below to get started with the model.
|
| 80 |
+
|
| 81 |
+
[More Information Needed]
|
| 82 |
+
|
| 83 |
+
## Training Details
|
| 84 |
+
|
| 85 |
+
### Training Data
|
| 86 |
+
|
| 87 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 88 |
+
|
| 89 |
+
[More Information Needed]
|
| 90 |
+
|
| 91 |
+
### Training Procedure
|
| 92 |
+
|
| 93 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 94 |
+
|
| 95 |
+
#### Preprocessing [optional]
|
| 96 |
+
|
| 97 |
+
[More Information Needed]
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
#### Training Hyperparameters
|
| 101 |
+
|
| 102 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 103 |
+
|
| 104 |
+
#### Speeds, Sizes, Times [optional]
|
| 105 |
+
|
| 106 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 107 |
+
|
| 108 |
+
[More Information Needed]
|
| 109 |
+
|
| 110 |
+
## Evaluation
|
| 111 |
+
|
| 112 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 113 |
+
|
| 114 |
+
### Testing Data, Factors & Metrics
|
| 115 |
+
|
| 116 |
+
#### Testing Data
|
| 117 |
+
|
| 118 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 119 |
+
|
| 120 |
+
[More Information Needed]
|
| 121 |
+
|
| 122 |
+
#### Factors
|
| 123 |
+
|
| 124 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
#### Metrics
|
| 129 |
+
|
| 130 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 131 |
+
|
| 132 |
+
[More Information Needed]
|
| 133 |
+
|
| 134 |
+
### Results
|
| 135 |
+
|
| 136 |
+
[More Information Needed]
|
| 137 |
+
|
| 138 |
+
#### Summary
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
## Model Examination [optional]
|
| 143 |
+
|
| 144 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 145 |
+
|
| 146 |
+
[More Information Needed]
|
| 147 |
+
|
| 148 |
+
## Environmental Impact
|
| 149 |
+
|
| 150 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 151 |
+
|
| 152 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 153 |
+
|
| 154 |
+
- **Hardware Type:** [More Information Needed]
|
| 155 |
+
- **Hours used:** [More Information Needed]
|
| 156 |
+
- **Cloud Provider:** [More Information Needed]
|
| 157 |
+
- **Compute Region:** [More Information Needed]
|
| 158 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 159 |
+
|
| 160 |
+
## Technical Specifications [optional]
|
| 161 |
+
|
| 162 |
+
### Model Architecture and Objective
|
| 163 |
+
|
| 164 |
+
[More Information Needed]
|
| 165 |
+
|
| 166 |
+
### Compute Infrastructure
|
| 167 |
+
|
| 168 |
+
[More Information Needed]
|
| 169 |
+
|
| 170 |
+
#### Hardware
|
| 171 |
+
|
| 172 |
+
[More Information Needed]
|
| 173 |
+
|
| 174 |
+
#### Software
|
| 175 |
+
|
| 176 |
+
[More Information Needed]
|
| 177 |
+
|
| 178 |
+
## Citation [optional]
|
| 179 |
+
|
| 180 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 181 |
+
|
| 182 |
+
**BibTeX:**
|
| 183 |
+
|
| 184 |
+
[More Information Needed]
|
| 185 |
+
|
| 186 |
+
**APA:**
|
| 187 |
+
|
| 188 |
+
[More Information Needed]
|
| 189 |
+
|
| 190 |
+
## Glossary [optional]
|
| 191 |
+
|
| 192 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 193 |
+
|
| 194 |
+
[More Information Needed]
|
| 195 |
+
|
| 196 |
+
## More Information [optional]
|
| 197 |
+
|
| 198 |
+
[More Information Needed]
|
| 199 |
+
|
| 200 |
+
## Model Card Authors [optional]
|
| 201 |
+
|
| 202 |
+
[More Information Needed]
|
| 203 |
+
|
| 204 |
+
## Model Card Contact
|
| 205 |
+
|
| 206 |
+
[More Information Needed]
|
| 207 |
+
### Framework versions
|
| 208 |
+
|
| 209 |
+
- PEFT 0.19.1
|
checkpoint-2/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-3B-Instruct",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 16,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"up_proj",
|
| 34 |
+
"v_proj",
|
| 35 |
+
"q_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"gate_proj",
|
| 38 |
+
"k_proj",
|
| 39 |
+
"down_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-2/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70515326599a883cb72a971fcac2c77a873db8a68afdbe9b39c0163185e87d7d
|
| 3 |
+
size 119801528
|
checkpoint-2/chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
checkpoint-2/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:630cfb12c8e1e3659fe00e88f55938253566003127240f1b329c72e2db2d965c
|
| 3 |
+
size 239900363
|
checkpoint-2/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:910a69df908656b84fc5747465e81d19f2c7de67ebe0eadfdbb98bcd5933a180
|
| 3 |
+
size 14645
|
checkpoint-2/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fdcd2562cf3166adf3765bf70a5123bdf92480863dbc3530647e4f1d81de651
|
| 3 |
+
size 1465
|
checkpoint-2/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|
checkpoint-2/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
checkpoint-2/trainer_state.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 0.09302325581395349,
|
| 6 |
+
"eval_steps": 25,
|
| 7 |
+
"global_step": 2,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 2.1579806357622147,
|
| 14 |
+
"epoch": 0.046511627906976744,
|
| 15 |
+
"grad_norm": 4.12920618057251,
|
| 16 |
+
"learning_rate": 0.0002,
|
| 17 |
+
"loss": 3.5343387126922607,
|
| 18 |
+
"mean_token_accuracy": 0.4543117918074131,
|
| 19 |
+
"num_tokens": 2858.0,
|
| 20 |
+
"step": 1
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 2.381355881690979,
|
| 24 |
+
"epoch": 0.09302325581395349,
|
| 25 |
+
"grad_norm": 1.1530635356903076,
|
| 26 |
+
"learning_rate": 0.0001,
|
| 27 |
+
"loss": 3.1979384422302246,
|
| 28 |
+
"mean_token_accuracy": 0.47458284348249435,
|
| 29 |
+
"num_tokens": 5729.0,
|
| 30 |
+
"step": 2
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.09302325581395349,
|
| 34 |
+
"eval_entropy": 2.509654998779297,
|
| 35 |
+
"eval_loss": 3.1365580558776855,
|
| 36 |
+
"eval_mean_token_accuracy": 0.4810996651649475,
|
| 37 |
+
"eval_num_tokens": 5729.0,
|
| 38 |
+
"eval_runtime": 20.9136,
|
| 39 |
+
"eval_samples_per_second": 1.004,
|
| 40 |
+
"eval_steps_per_second": 0.143,
|
| 41 |
+
"step": 2
|
| 42 |
+
}
|
| 43 |
+
],
|
| 44 |
+
"logging_steps": 1,
|
| 45 |
+
"max_steps": 2,
|
| 46 |
+
"num_input_tokens_seen": 0,
|
| 47 |
+
"num_train_epochs": 1,
|
| 48 |
+
"save_steps": 25,
|
| 49 |
+
"stateful_callbacks": {
|
| 50 |
+
"TrainerControl": {
|
| 51 |
+
"args": {
|
| 52 |
+
"should_epoch_stop": false,
|
| 53 |
+
"should_evaluate": false,
|
| 54 |
+
"should_log": false,
|
| 55 |
+
"should_save": true,
|
| 56 |
+
"should_training_stop": true
|
| 57 |
+
},
|
| 58 |
+
"attributes": {}
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
"total_flos": 96409009692672.0,
|
| 62 |
+
"train_batch_size": 1,
|
| 63 |
+
"trial_name": null,
|
| 64 |
+
"trial_params": null
|
| 65 |
+
}
|
checkpoint-2/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0f252f68f52357d4ff290307c822fe6a621cc40ea842f2aa372b8858c5d9c36
|
| 3 |
+
size 5649
|
checkpoint-25/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen2.5-3B-Instruct
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for Model ID
|
| 14 |
+
|
| 15 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
|
| 21 |
+
### Model Description
|
| 22 |
+
|
| 23 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
- **Developed by:** [More Information Needed]
|
| 28 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 29 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 30 |
+
- **Model type:** [More Information Needed]
|
| 31 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 32 |
+
- **License:** [More Information Needed]
|
| 33 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 34 |
+
|
| 35 |
+
### Model Sources [optional]
|
| 36 |
+
|
| 37 |
+
<!-- Provide the basic links for the model. -->
|
| 38 |
+
|
| 39 |
+
- **Repository:** [More Information Needed]
|
| 40 |
+
- **Paper [optional]:** [More Information Needed]
|
| 41 |
+
- **Demo [optional]:** [More Information Needed]
|
| 42 |
+
|
| 43 |
+
## Uses
|
| 44 |
+
|
| 45 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 46 |
+
|
| 47 |
+
### Direct Use
|
| 48 |
+
|
| 49 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 50 |
+
|
| 51 |
+
[More Information Needed]
|
| 52 |
+
|
| 53 |
+
### Downstream Use [optional]
|
| 54 |
+
|
| 55 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 56 |
+
|
| 57 |
+
[More Information Needed]
|
| 58 |
+
|
| 59 |
+
### Out-of-Scope Use
|
| 60 |
+
|
| 61 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 62 |
+
|
| 63 |
+
[More Information Needed]
|
| 64 |
+
|
| 65 |
+
## Bias, Risks, and Limitations
|
| 66 |
+
|
| 67 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 68 |
+
|
| 69 |
+
[More Information Needed]
|
| 70 |
+
|
| 71 |
+
### Recommendations
|
| 72 |
+
|
| 73 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 74 |
+
|
| 75 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 76 |
+
|
| 77 |
+
## How to Get Started with the Model
|
| 78 |
+
|
| 79 |
+
Use the code below to get started with the model.
|
| 80 |
+
|
| 81 |
+
[More Information Needed]
|
| 82 |
+
|
| 83 |
+
## Training Details
|
| 84 |
+
|
| 85 |
+
### Training Data
|
| 86 |
+
|
| 87 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 88 |
+
|
| 89 |
+
[More Information Needed]
|
| 90 |
+
|
| 91 |
+
### Training Procedure
|
| 92 |
+
|
| 93 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 94 |
+
|
| 95 |
+
#### Preprocessing [optional]
|
| 96 |
+
|
| 97 |
+
[More Information Needed]
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
#### Training Hyperparameters
|
| 101 |
+
|
| 102 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 103 |
+
|
| 104 |
+
#### Speeds, Sizes, Times [optional]
|
| 105 |
+
|
| 106 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 107 |
+
|
| 108 |
+
[More Information Needed]
|
| 109 |
+
|
| 110 |
+
## Evaluation
|
| 111 |
+
|
| 112 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 113 |
+
|
| 114 |
+
### Testing Data, Factors & Metrics
|
| 115 |
+
|
| 116 |
+
#### Testing Data
|
| 117 |
+
|
| 118 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 119 |
+
|
| 120 |
+
[More Information Needed]
|
| 121 |
+
|
| 122 |
+
#### Factors
|
| 123 |
+
|
| 124 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
#### Metrics
|
| 129 |
+
|
| 130 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 131 |
+
|
| 132 |
+
[More Information Needed]
|
| 133 |
+
|
| 134 |
+
### Results
|
| 135 |
+
|
| 136 |
+
[More Information Needed]
|
| 137 |
+
|
| 138 |
+
#### Summary
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
## Model Examination [optional]
|
| 143 |
+
|
| 144 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 145 |
+
|
| 146 |
+
[More Information Needed]
|
| 147 |
+
|
| 148 |
+
## Environmental Impact
|
| 149 |
+
|
| 150 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 151 |
+
|
| 152 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 153 |
+
|
| 154 |
+
- **Hardware Type:** [More Information Needed]
|
| 155 |
+
- **Hours used:** [More Information Needed]
|
| 156 |
+
- **Cloud Provider:** [More Information Needed]
|
| 157 |
+
- **Compute Region:** [More Information Needed]
|
| 158 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 159 |
+
|
| 160 |
+
## Technical Specifications [optional]
|
| 161 |
+
|
| 162 |
+
### Model Architecture and Objective
|
| 163 |
+
|
| 164 |
+
[More Information Needed]
|
| 165 |
+
|
| 166 |
+
### Compute Infrastructure
|
| 167 |
+
|
| 168 |
+
[More Information Needed]
|
| 169 |
+
|
| 170 |
+
#### Hardware
|
| 171 |
+
|
| 172 |
+
[More Information Needed]
|
| 173 |
+
|
| 174 |
+
#### Software
|
| 175 |
+
|
| 176 |
+
[More Information Needed]
|
| 177 |
+
|
| 178 |
+
## Citation [optional]
|
| 179 |
+
|
| 180 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 181 |
+
|
| 182 |
+
**BibTeX:**
|
| 183 |
+
|
| 184 |
+
[More Information Needed]
|
| 185 |
+
|
| 186 |
+
**APA:**
|
| 187 |
+
|
| 188 |
+
[More Information Needed]
|
| 189 |
+
|
| 190 |
+
## Glossary [optional]
|
| 191 |
+
|
| 192 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 193 |
+
|
| 194 |
+
[More Information Needed]
|
| 195 |
+
|
| 196 |
+
## More Information [optional]
|
| 197 |
+
|
| 198 |
+
[More Information Needed]
|
| 199 |
+
|
| 200 |
+
## Model Card Authors [optional]
|
| 201 |
+
|
| 202 |
+
[More Information Needed]
|
| 203 |
+
|
| 204 |
+
## Model Card Contact
|
| 205 |
+
|
| 206 |
+
[More Information Needed]
|
| 207 |
+
### Framework versions
|
| 208 |
+
|
| 209 |
+
- PEFT 0.19.1
|
checkpoint-25/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-3B-Instruct",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 16,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"up_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"down_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"q_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"v_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-25/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb362b3f835360c6a7808db04b1c7c10cbd0ddebfc743914e1fd5b5d6390b0ba
|
| 3 |
+
size 119801528
|
checkpoint-25/chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
checkpoint-25/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d1b5d87b260810afea48284009b6e805ee96d40447d2e66f107a55cf98ef8eb
|
| 3 |
+
size 239900363
|
checkpoint-25/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f00834fbd33b0d6c164898a9444c72d97e60a896a491d50451bd670c748f26b6
|
| 3 |
+
size 14645
|
checkpoint-25/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c2aecfb3dce65b3290a2d1051f23acd25a40887e44e4423df70fcc7c28d274b
|
| 3 |
+
size 1465
|
checkpoint-25/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|
checkpoint-25/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
checkpoint-25/trainer_state.json
ADDED
|
@@ -0,0 +1,295 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.1395348837209303,
|
| 6 |
+
"eval_steps": 25,
|
| 7 |
+
"global_step": 25,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 2.1579806357622147,
|
| 14 |
+
"epoch": 0.046511627906976744,
|
| 15 |
+
"grad_norm": 4.1606550216674805,
|
| 16 |
+
"learning_rate": 0.0002,
|
| 17 |
+
"loss": 3.5343387126922607,
|
| 18 |
+
"mean_token_accuracy": 0.4543117918074131,
|
| 19 |
+
"num_tokens": 2858.0,
|
| 20 |
+
"step": 1
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 2.383239656686783,
|
| 24 |
+
"epoch": 0.09302325581395349,
|
| 25 |
+
"grad_norm": 1.1439001560211182,
|
| 26 |
+
"learning_rate": 0.00019696969696969698,
|
| 27 |
+
"loss": 3.196744918823242,
|
| 28 |
+
"mean_token_accuracy": 0.4753075949847698,
|
| 29 |
+
"num_tokens": 5729.0,
|
| 30 |
+
"step": 2
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 2.611323744058609,
|
| 34 |
+
"epoch": 0.13953488372093023,
|
| 35 |
+
"grad_norm": 0.8999320864677429,
|
| 36 |
+
"learning_rate": 0.00019393939393939395,
|
| 37 |
+
"loss": 3.031313419342041,
|
| 38 |
+
"mean_token_accuracy": 0.4914238899946213,
|
| 39 |
+
"num_tokens": 8652.0,
|
| 40 |
+
"step": 3
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 2.6815119981765747,
|
| 44 |
+
"epoch": 0.18604651162790697,
|
| 45 |
+
"grad_norm": 0.9472066164016724,
|
| 46 |
+
"learning_rate": 0.00019090909090909092,
|
| 47 |
+
"loss": 2.823822259902954,
|
| 48 |
+
"mean_token_accuracy": 0.5055175274610519,
|
| 49 |
+
"num_tokens": 11505.0,
|
| 50 |
+
"step": 4
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 2.6952448189258575,
|
| 54 |
+
"epoch": 0.23255813953488372,
|
| 55 |
+
"grad_norm": 1.0103695392608643,
|
| 56 |
+
"learning_rate": 0.0001878787878787879,
|
| 57 |
+
"loss": 2.653456449508667,
|
| 58 |
+
"mean_token_accuracy": 0.5434774681925774,
|
| 59 |
+
"num_tokens": 14305.0,
|
| 60 |
+
"step": 5
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 2.583629608154297,
|
| 64 |
+
"epoch": 0.27906976744186046,
|
| 65 |
+
"grad_norm": 1.0037801265716553,
|
| 66 |
+
"learning_rate": 0.00018484848484848484,
|
| 67 |
+
"loss": 2.4006030559539795,
|
| 68 |
+
"mean_token_accuracy": 0.5793078020215034,
|
| 69 |
+
"num_tokens": 17183.0,
|
| 70 |
+
"step": 6
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 2.5597729980945587,
|
| 74 |
+
"epoch": 0.32558139534883723,
|
| 75 |
+
"grad_norm": 0.8710836172103882,
|
| 76 |
+
"learning_rate": 0.00018181818181818183,
|
| 77 |
+
"loss": 2.2892913818359375,
|
| 78 |
+
"mean_token_accuracy": 0.5941493511199951,
|
| 79 |
+
"num_tokens": 19984.0,
|
| 80 |
+
"step": 7
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 2.376883178949356,
|
| 84 |
+
"epoch": 0.37209302325581395,
|
| 85 |
+
"grad_norm": 0.9070297479629517,
|
| 86 |
+
"learning_rate": 0.0001787878787878788,
|
| 87 |
+
"loss": 2.0746352672576904,
|
| 88 |
+
"mean_token_accuracy": 0.6227477192878723,
|
| 89 |
+
"num_tokens": 22855.0,
|
| 90 |
+
"step": 8
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 2.258640706539154,
|
| 94 |
+
"epoch": 0.4186046511627907,
|
| 95 |
+
"grad_norm": 0.946723222732544,
|
| 96 |
+
"learning_rate": 0.00017575757575757578,
|
| 97 |
+
"loss": 2.0197558403015137,
|
| 98 |
+
"mean_token_accuracy": 0.6193782836198807,
|
| 99 |
+
"num_tokens": 25725.0,
|
| 100 |
+
"step": 9
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 2.0423424541950226,
|
| 104 |
+
"epoch": 0.46511627906976744,
|
| 105 |
+
"grad_norm": 0.967450737953186,
|
| 106 |
+
"learning_rate": 0.00017272727272727275,
|
| 107 |
+
"loss": 1.9194402694702148,
|
| 108 |
+
"mean_token_accuracy": 0.6510066166520119,
|
| 109 |
+
"num_tokens": 28640.0,
|
| 110 |
+
"step": 10
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 1.8195575922727585,
|
| 114 |
+
"epoch": 0.5116279069767442,
|
| 115 |
+
"grad_norm": 0.9876963496208191,
|
| 116 |
+
"learning_rate": 0.00016969696969696972,
|
| 117 |
+
"loss": 1.6916238069534302,
|
| 118 |
+
"mean_token_accuracy": 0.6843769624829292,
|
| 119 |
+
"num_tokens": 31466.0,
|
| 120 |
+
"step": 11
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 1.657564640045166,
|
| 124 |
+
"epoch": 0.5581395348837209,
|
| 125 |
+
"grad_norm": 0.9327711462974548,
|
| 126 |
+
"learning_rate": 0.0001666666666666667,
|
| 127 |
+
"loss": 1.6198698282241821,
|
| 128 |
+
"mean_token_accuracy": 0.6921377927064896,
|
| 129 |
+
"num_tokens": 34386.0,
|
| 130 |
+
"step": 12
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 1.5036935806274414,
|
| 134 |
+
"epoch": 0.6046511627906976,
|
| 135 |
+
"grad_norm": 0.9925690293312073,
|
| 136 |
+
"learning_rate": 0.00016363636363636366,
|
| 137 |
+
"loss": 1.6096687316894531,
|
| 138 |
+
"mean_token_accuracy": 0.6979961171746254,
|
| 139 |
+
"num_tokens": 37253.0,
|
| 140 |
+
"step": 13
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 1.493466705083847,
|
| 144 |
+
"epoch": 0.6511627906976745,
|
| 145 |
+
"grad_norm": 0.7939132452011108,
|
| 146 |
+
"learning_rate": 0.0001606060606060606,
|
| 147 |
+
"loss": 1.5107256174087524,
|
| 148 |
+
"mean_token_accuracy": 0.7151075974106789,
|
| 149 |
+
"num_tokens": 40126.0,
|
| 150 |
+
"step": 14
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 1.4645536988973618,
|
| 154 |
+
"epoch": 0.6976744186046512,
|
| 155 |
+
"grad_norm": 0.7673895359039307,
|
| 156 |
+
"learning_rate": 0.00015757575757575757,
|
| 157 |
+
"loss": 1.498252272605896,
|
| 158 |
+
"mean_token_accuracy": 0.7205590456724167,
|
| 159 |
+
"num_tokens": 42987.0,
|
| 160 |
+
"step": 15
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 1.4190728217363358,
|
| 164 |
+
"epoch": 0.7441860465116279,
|
| 165 |
+
"grad_norm": 0.7674983739852905,
|
| 166 |
+
"learning_rate": 0.00015454545454545454,
|
| 167 |
+
"loss": 1.4531012773513794,
|
| 168 |
+
"mean_token_accuracy": 0.7277705073356628,
|
| 169 |
+
"num_tokens": 45824.0,
|
| 170 |
+
"step": 16
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 1.4405420571565628,
|
| 174 |
+
"epoch": 0.7906976744186046,
|
| 175 |
+
"grad_norm": 0.8017104268074036,
|
| 176 |
+
"learning_rate": 0.00015151515151515152,
|
| 177 |
+
"loss": 1.4173262119293213,
|
| 178 |
+
"mean_token_accuracy": 0.7321867346763611,
|
| 179 |
+
"num_tokens": 48701.0,
|
| 180 |
+
"step": 17
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 1.4430709928274155,
|
| 184 |
+
"epoch": 0.8372093023255814,
|
| 185 |
+
"grad_norm": 0.719692587852478,
|
| 186 |
+
"learning_rate": 0.00014848484848484849,
|
| 187 |
+
"loss": 1.470382809638977,
|
| 188 |
+
"mean_token_accuracy": 0.7175731509923935,
|
| 189 |
+
"num_tokens": 51599.0,
|
| 190 |
+
"step": 18
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 1.4004132896661758,
|
| 194 |
+
"epoch": 0.8837209302325582,
|
| 195 |
+
"grad_norm": 0.7663323283195496,
|
| 196 |
+
"learning_rate": 0.00014545454545454546,
|
| 197 |
+
"loss": 1.3906199932098389,
|
| 198 |
+
"mean_token_accuracy": 0.7266740947961807,
|
| 199 |
+
"num_tokens": 54512.0,
|
| 200 |
+
"step": 19
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 1.3797460794448853,
|
| 204 |
+
"epoch": 0.9302325581395349,
|
| 205 |
+
"grad_norm": 0.7134779691696167,
|
| 206 |
+
"learning_rate": 0.00014242424242424243,
|
| 207 |
+
"loss": 1.3138104677200317,
|
| 208 |
+
"mean_token_accuracy": 0.7396841123700142,
|
| 209 |
+
"num_tokens": 57288.0,
|
| 210 |
+
"step": 20
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"entropy": 1.4256091862916946,
|
| 214 |
+
"epoch": 0.9767441860465116,
|
| 215 |
+
"grad_norm": 0.7985653281211853,
|
| 216 |
+
"learning_rate": 0.0001393939393939394,
|
| 217 |
+
"loss": 1.4366086721420288,
|
| 218 |
+
"mean_token_accuracy": 0.7251775711774826,
|
| 219 |
+
"num_tokens": 60169.0,
|
| 220 |
+
"step": 21
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"entropy": 1.3379312753677368,
|
| 224 |
+
"epoch": 1.0,
|
| 225 |
+
"grad_norm": 1.0615953207015991,
|
| 226 |
+
"learning_rate": 0.00013636363636363637,
|
| 227 |
+
"loss": 1.3719230890274048,
|
| 228 |
+
"mean_token_accuracy": 0.7408558428287506,
|
| 229 |
+
"num_tokens": 61638.0,
|
| 230 |
+
"step": 22
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"entropy": 1.3840602338314056,
|
| 234 |
+
"epoch": 1.0465116279069768,
|
| 235 |
+
"grad_norm": 0.6854942440986633,
|
| 236 |
+
"learning_rate": 0.00013333333333333334,
|
| 237 |
+
"loss": 1.2929234504699707,
|
| 238 |
+
"mean_token_accuracy": 0.7477771267294884,
|
| 239 |
+
"num_tokens": 64544.0,
|
| 240 |
+
"step": 23
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"entropy": 1.3140927851200104,
|
| 244 |
+
"epoch": 1.0930232558139534,
|
| 245 |
+
"grad_norm": 0.7578628659248352,
|
| 246 |
+
"learning_rate": 0.0001303030303030303,
|
| 247 |
+
"loss": 1.2306703329086304,
|
| 248 |
+
"mean_token_accuracy": 0.7550539150834084,
|
| 249 |
+
"num_tokens": 67387.0,
|
| 250 |
+
"step": 24
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"entropy": 1.2623722553253174,
|
| 254 |
+
"epoch": 1.1395348837209303,
|
| 255 |
+
"grad_norm": 0.8415782451629639,
|
| 256 |
+
"learning_rate": 0.00012727272727272728,
|
| 257 |
+
"loss": 1.2171947956085205,
|
| 258 |
+
"mean_token_accuracy": 0.7480703815817833,
|
| 259 |
+
"num_tokens": 70226.0,
|
| 260 |
+
"step": 25
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"epoch": 1.1395348837209303,
|
| 264 |
+
"eval_entropy": 1.269708236058553,
|
| 265 |
+
"eval_loss": 1.3236218690872192,
|
| 266 |
+
"eval_mean_token_accuracy": 0.7468412717183431,
|
| 267 |
+
"eval_num_tokens": 70226.0,
|
| 268 |
+
"eval_runtime": 23.6754,
|
| 269 |
+
"eval_samples_per_second": 0.887,
|
| 270 |
+
"eval_steps_per_second": 0.127,
|
| 271 |
+
"step": 25
|
| 272 |
+
}
|
| 273 |
+
],
|
| 274 |
+
"logging_steps": 1,
|
| 275 |
+
"max_steps": 66,
|
| 276 |
+
"num_input_tokens_seen": 0,
|
| 277 |
+
"num_train_epochs": 3,
|
| 278 |
+
"save_steps": 25,
|
| 279 |
+
"stateful_callbacks": {
|
| 280 |
+
"TrainerControl": {
|
| 281 |
+
"args": {
|
| 282 |
+
"should_epoch_stop": false,
|
| 283 |
+
"should_evaluate": false,
|
| 284 |
+
"should_log": false,
|
| 285 |
+
"should_save": true,
|
| 286 |
+
"should_training_stop": false
|
| 287 |
+
},
|
| 288 |
+
"attributes": {}
|
| 289 |
+
}
|
| 290 |
+
},
|
| 291 |
+
"total_flos": 1181780260896768.0,
|
| 292 |
+
"train_batch_size": 1,
|
| 293 |
+
"trial_name": null,
|
| 294 |
+
"trial_params": null
|
| 295 |
+
}
|
checkpoint-25/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11d90e48fffad8a6ebb3bb804054cb6870cb9595177d5a606f4008edb172012b
|
| 3 |
+
size 5649
|
checkpoint-50/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen2.5-3B-Instruct
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for Model ID
|
| 14 |
+
|
| 15 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
|
| 21 |
+
### Model Description
|
| 22 |
+
|
| 23 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
- **Developed by:** [More Information Needed]
|
| 28 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 29 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 30 |
+
- **Model type:** [More Information Needed]
|
| 31 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 32 |
+
- **License:** [More Information Needed]
|
| 33 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 34 |
+
|
| 35 |
+
### Model Sources [optional]
|
| 36 |
+
|
| 37 |
+
<!-- Provide the basic links for the model. -->
|
| 38 |
+
|
| 39 |
+
- **Repository:** [More Information Needed]
|
| 40 |
+
- **Paper [optional]:** [More Information Needed]
|
| 41 |
+
- **Demo [optional]:** [More Information Needed]
|
| 42 |
+
|
| 43 |
+
## Uses
|
| 44 |
+
|
| 45 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 46 |
+
|
| 47 |
+
### Direct Use
|
| 48 |
+
|
| 49 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 50 |
+
|
| 51 |
+
[More Information Needed]
|
| 52 |
+
|
| 53 |
+
### Downstream Use [optional]
|
| 54 |
+
|
| 55 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 56 |
+
|
| 57 |
+
[More Information Needed]
|
| 58 |
+
|
| 59 |
+
### Out-of-Scope Use
|
| 60 |
+
|
| 61 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 62 |
+
|
| 63 |
+
[More Information Needed]
|
| 64 |
+
|
| 65 |
+
## Bias, Risks, and Limitations
|
| 66 |
+
|
| 67 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 68 |
+
|
| 69 |
+
[More Information Needed]
|
| 70 |
+
|
| 71 |
+
### Recommendations
|
| 72 |
+
|
| 73 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 74 |
+
|
| 75 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 76 |
+
|
| 77 |
+
## How to Get Started with the Model
|
| 78 |
+
|
| 79 |
+
Use the code below to get started with the model.
|
| 80 |
+
|
| 81 |
+
[More Information Needed]
|
| 82 |
+
|
| 83 |
+
## Training Details
|
| 84 |
+
|
| 85 |
+
### Training Data
|
| 86 |
+
|
| 87 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 88 |
+
|
| 89 |
+
[More Information Needed]
|
| 90 |
+
|
| 91 |
+
### Training Procedure
|
| 92 |
+
|
| 93 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 94 |
+
|
| 95 |
+
#### Preprocessing [optional]
|
| 96 |
+
|
| 97 |
+
[More Information Needed]
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
#### Training Hyperparameters
|
| 101 |
+
|
| 102 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 103 |
+
|
| 104 |
+
#### Speeds, Sizes, Times [optional]
|
| 105 |
+
|
| 106 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 107 |
+
|
| 108 |
+
[More Information Needed]
|
| 109 |
+
|
| 110 |
+
## Evaluation
|
| 111 |
+
|
| 112 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 113 |
+
|
| 114 |
+
### Testing Data, Factors & Metrics
|
| 115 |
+
|
| 116 |
+
#### Testing Data
|
| 117 |
+
|
| 118 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 119 |
+
|
| 120 |
+
[More Information Needed]
|
| 121 |
+
|
| 122 |
+
#### Factors
|
| 123 |
+
|
| 124 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
#### Metrics
|
| 129 |
+
|
| 130 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 131 |
+
|
| 132 |
+
[More Information Needed]
|
| 133 |
+
|
| 134 |
+
### Results
|
| 135 |
+
|
| 136 |
+
[More Information Needed]
|
| 137 |
+
|
| 138 |
+
#### Summary
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
## Model Examination [optional]
|
| 143 |
+
|
| 144 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 145 |
+
|
| 146 |
+
[More Information Needed]
|
| 147 |
+
|
| 148 |
+
## Environmental Impact
|
| 149 |
+
|
| 150 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 151 |
+
|
| 152 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 153 |
+
|
| 154 |
+
- **Hardware Type:** [More Information Needed]
|
| 155 |
+
- **Hours used:** [More Information Needed]
|
| 156 |
+
- **Cloud Provider:** [More Information Needed]
|
| 157 |
+
- **Compute Region:** [More Information Needed]
|
| 158 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 159 |
+
|
| 160 |
+
## Technical Specifications [optional]
|
| 161 |
+
|
| 162 |
+
### Model Architecture and Objective
|
| 163 |
+
|
| 164 |
+
[More Information Needed]
|
| 165 |
+
|
| 166 |
+
### Compute Infrastructure
|
| 167 |
+
|
| 168 |
+
[More Information Needed]
|
| 169 |
+
|
| 170 |
+
#### Hardware
|
| 171 |
+
|
| 172 |
+
[More Information Needed]
|
| 173 |
+
|
| 174 |
+
#### Software
|
| 175 |
+
|
| 176 |
+
[More Information Needed]
|
| 177 |
+
|
| 178 |
+
## Citation [optional]
|
| 179 |
+
|
| 180 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 181 |
+
|
| 182 |
+
**BibTeX:**
|
| 183 |
+
|
| 184 |
+
[More Information Needed]
|
| 185 |
+
|
| 186 |
+
**APA:**
|
| 187 |
+
|
| 188 |
+
[More Information Needed]
|
| 189 |
+
|
| 190 |
+
## Glossary [optional]
|
| 191 |
+
|
| 192 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 193 |
+
|
| 194 |
+
[More Information Needed]
|
| 195 |
+
|
| 196 |
+
## More Information [optional]
|
| 197 |
+
|
| 198 |
+
[More Information Needed]
|
| 199 |
+
|
| 200 |
+
## Model Card Authors [optional]
|
| 201 |
+
|
| 202 |
+
[More Information Needed]
|
| 203 |
+
|
| 204 |
+
## Model Card Contact
|
| 205 |
+
|
| 206 |
+
[More Information Needed]
|
| 207 |
+
### Framework versions
|
| 208 |
+
|
| 209 |
+
- PEFT 0.19.1
|
checkpoint-50/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-3B-Instruct",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 16,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"up_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"down_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"q_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"v_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-50/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e16151c6f0776e5405b367bcebded49aa33d3a6707a12cc00721465329303df
|
| 3 |
+
size 119801528
|
checkpoint-50/chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
checkpoint-50/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3833c21639ea2fa74be3b2195d1d94624805d1c95f2ebed878fcfb8f8c35b293
|
| 3 |
+
size 239900363
|
checkpoint-50/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11640b86187bdf48c71339348dd0297d34cddc8c1c154ea35a13bbfb98ebd78e
|
| 3 |
+
size 14645
|
checkpoint-50/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1eaf5c00b490894951565911f2ccd316fcf39759c432bfac95e986ab880a82b0
|
| 3 |
+
size 1465
|
checkpoint-50/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|
checkpoint-50/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
checkpoint-50/trainer_state.json
ADDED
|
@@ -0,0 +1,556 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 2.2790697674418605,
|
| 6 |
+
"eval_steps": 25,
|
| 7 |
+
"global_step": 50,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 2.1579806357622147,
|
| 14 |
+
"epoch": 0.046511627906976744,
|
| 15 |
+
"grad_norm": 4.1606550216674805,
|
| 16 |
+
"learning_rate": 0.0002,
|
| 17 |
+
"loss": 3.5343387126922607,
|
| 18 |
+
"mean_token_accuracy": 0.4543117918074131,
|
| 19 |
+
"num_tokens": 2858.0,
|
| 20 |
+
"step": 1
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 2.383239656686783,
|
| 24 |
+
"epoch": 0.09302325581395349,
|
| 25 |
+
"grad_norm": 1.1439001560211182,
|
| 26 |
+
"learning_rate": 0.00019696969696969698,
|
| 27 |
+
"loss": 3.196744918823242,
|
| 28 |
+
"mean_token_accuracy": 0.4753075949847698,
|
| 29 |
+
"num_tokens": 5729.0,
|
| 30 |
+
"step": 2
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 2.611323744058609,
|
| 34 |
+
"epoch": 0.13953488372093023,
|
| 35 |
+
"grad_norm": 0.8999320864677429,
|
| 36 |
+
"learning_rate": 0.00019393939393939395,
|
| 37 |
+
"loss": 3.031313419342041,
|
| 38 |
+
"mean_token_accuracy": 0.4914238899946213,
|
| 39 |
+
"num_tokens": 8652.0,
|
| 40 |
+
"step": 3
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 2.6815119981765747,
|
| 44 |
+
"epoch": 0.18604651162790697,
|
| 45 |
+
"grad_norm": 0.9472066164016724,
|
| 46 |
+
"learning_rate": 0.00019090909090909092,
|
| 47 |
+
"loss": 2.823822259902954,
|
| 48 |
+
"mean_token_accuracy": 0.5055175274610519,
|
| 49 |
+
"num_tokens": 11505.0,
|
| 50 |
+
"step": 4
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 2.6952448189258575,
|
| 54 |
+
"epoch": 0.23255813953488372,
|
| 55 |
+
"grad_norm": 1.0103695392608643,
|
| 56 |
+
"learning_rate": 0.0001878787878787879,
|
| 57 |
+
"loss": 2.653456449508667,
|
| 58 |
+
"mean_token_accuracy": 0.5434774681925774,
|
| 59 |
+
"num_tokens": 14305.0,
|
| 60 |
+
"step": 5
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 2.583629608154297,
|
| 64 |
+
"epoch": 0.27906976744186046,
|
| 65 |
+
"grad_norm": 1.0037801265716553,
|
| 66 |
+
"learning_rate": 0.00018484848484848484,
|
| 67 |
+
"loss": 2.4006030559539795,
|
| 68 |
+
"mean_token_accuracy": 0.5793078020215034,
|
| 69 |
+
"num_tokens": 17183.0,
|
| 70 |
+
"step": 6
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 2.5597729980945587,
|
| 74 |
+
"epoch": 0.32558139534883723,
|
| 75 |
+
"grad_norm": 0.8710836172103882,
|
| 76 |
+
"learning_rate": 0.00018181818181818183,
|
| 77 |
+
"loss": 2.2892913818359375,
|
| 78 |
+
"mean_token_accuracy": 0.5941493511199951,
|
| 79 |
+
"num_tokens": 19984.0,
|
| 80 |
+
"step": 7
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 2.376883178949356,
|
| 84 |
+
"epoch": 0.37209302325581395,
|
| 85 |
+
"grad_norm": 0.9070297479629517,
|
| 86 |
+
"learning_rate": 0.0001787878787878788,
|
| 87 |
+
"loss": 2.0746352672576904,
|
| 88 |
+
"mean_token_accuracy": 0.6227477192878723,
|
| 89 |
+
"num_tokens": 22855.0,
|
| 90 |
+
"step": 8
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 2.258640706539154,
|
| 94 |
+
"epoch": 0.4186046511627907,
|
| 95 |
+
"grad_norm": 0.946723222732544,
|
| 96 |
+
"learning_rate": 0.00017575757575757578,
|
| 97 |
+
"loss": 2.0197558403015137,
|
| 98 |
+
"mean_token_accuracy": 0.6193782836198807,
|
| 99 |
+
"num_tokens": 25725.0,
|
| 100 |
+
"step": 9
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 2.0423424541950226,
|
| 104 |
+
"epoch": 0.46511627906976744,
|
| 105 |
+
"grad_norm": 0.967450737953186,
|
| 106 |
+
"learning_rate": 0.00017272727272727275,
|
| 107 |
+
"loss": 1.9194402694702148,
|
| 108 |
+
"mean_token_accuracy": 0.6510066166520119,
|
| 109 |
+
"num_tokens": 28640.0,
|
| 110 |
+
"step": 10
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 1.8195575922727585,
|
| 114 |
+
"epoch": 0.5116279069767442,
|
| 115 |
+
"grad_norm": 0.9876963496208191,
|
| 116 |
+
"learning_rate": 0.00016969696969696972,
|
| 117 |
+
"loss": 1.6916238069534302,
|
| 118 |
+
"mean_token_accuracy": 0.6843769624829292,
|
| 119 |
+
"num_tokens": 31466.0,
|
| 120 |
+
"step": 11
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 1.657564640045166,
|
| 124 |
+
"epoch": 0.5581395348837209,
|
| 125 |
+
"grad_norm": 0.9327711462974548,
|
| 126 |
+
"learning_rate": 0.0001666666666666667,
|
| 127 |
+
"loss": 1.6198698282241821,
|
| 128 |
+
"mean_token_accuracy": 0.6921377927064896,
|
| 129 |
+
"num_tokens": 34386.0,
|
| 130 |
+
"step": 12
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 1.5036935806274414,
|
| 134 |
+
"epoch": 0.6046511627906976,
|
| 135 |
+
"grad_norm": 0.9925690293312073,
|
| 136 |
+
"learning_rate": 0.00016363636363636366,
|
| 137 |
+
"loss": 1.6096687316894531,
|
| 138 |
+
"mean_token_accuracy": 0.6979961171746254,
|
| 139 |
+
"num_tokens": 37253.0,
|
| 140 |
+
"step": 13
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 1.493466705083847,
|
| 144 |
+
"epoch": 0.6511627906976745,
|
| 145 |
+
"grad_norm": 0.7939132452011108,
|
| 146 |
+
"learning_rate": 0.0001606060606060606,
|
| 147 |
+
"loss": 1.5107256174087524,
|
| 148 |
+
"mean_token_accuracy": 0.7151075974106789,
|
| 149 |
+
"num_tokens": 40126.0,
|
| 150 |
+
"step": 14
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 1.4645536988973618,
|
| 154 |
+
"epoch": 0.6976744186046512,
|
| 155 |
+
"grad_norm": 0.7673895359039307,
|
| 156 |
+
"learning_rate": 0.00015757575757575757,
|
| 157 |
+
"loss": 1.498252272605896,
|
| 158 |
+
"mean_token_accuracy": 0.7205590456724167,
|
| 159 |
+
"num_tokens": 42987.0,
|
| 160 |
+
"step": 15
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 1.4190728217363358,
|
| 164 |
+
"epoch": 0.7441860465116279,
|
| 165 |
+
"grad_norm": 0.7674983739852905,
|
| 166 |
+
"learning_rate": 0.00015454545454545454,
|
| 167 |
+
"loss": 1.4531012773513794,
|
| 168 |
+
"mean_token_accuracy": 0.7277705073356628,
|
| 169 |
+
"num_tokens": 45824.0,
|
| 170 |
+
"step": 16
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 1.4405420571565628,
|
| 174 |
+
"epoch": 0.7906976744186046,
|
| 175 |
+
"grad_norm": 0.8017104268074036,
|
| 176 |
+
"learning_rate": 0.00015151515151515152,
|
| 177 |
+
"loss": 1.4173262119293213,
|
| 178 |
+
"mean_token_accuracy": 0.7321867346763611,
|
| 179 |
+
"num_tokens": 48701.0,
|
| 180 |
+
"step": 17
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 1.4430709928274155,
|
| 184 |
+
"epoch": 0.8372093023255814,
|
| 185 |
+
"grad_norm": 0.719692587852478,
|
| 186 |
+
"learning_rate": 0.00014848484848484849,
|
| 187 |
+
"loss": 1.470382809638977,
|
| 188 |
+
"mean_token_accuracy": 0.7175731509923935,
|
| 189 |
+
"num_tokens": 51599.0,
|
| 190 |
+
"step": 18
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 1.4004132896661758,
|
| 194 |
+
"epoch": 0.8837209302325582,
|
| 195 |
+
"grad_norm": 0.7663323283195496,
|
| 196 |
+
"learning_rate": 0.00014545454545454546,
|
| 197 |
+
"loss": 1.3906199932098389,
|
| 198 |
+
"mean_token_accuracy": 0.7266740947961807,
|
| 199 |
+
"num_tokens": 54512.0,
|
| 200 |
+
"step": 19
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 1.3797460794448853,
|
| 204 |
+
"epoch": 0.9302325581395349,
|
| 205 |
+
"grad_norm": 0.7134779691696167,
|
| 206 |
+
"learning_rate": 0.00014242424242424243,
|
| 207 |
+
"loss": 1.3138104677200317,
|
| 208 |
+
"mean_token_accuracy": 0.7396841123700142,
|
| 209 |
+
"num_tokens": 57288.0,
|
| 210 |
+
"step": 20
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"entropy": 1.4256091862916946,
|
| 214 |
+
"epoch": 0.9767441860465116,
|
| 215 |
+
"grad_norm": 0.7985653281211853,
|
| 216 |
+
"learning_rate": 0.0001393939393939394,
|
| 217 |
+
"loss": 1.4366086721420288,
|
| 218 |
+
"mean_token_accuracy": 0.7251775711774826,
|
| 219 |
+
"num_tokens": 60169.0,
|
| 220 |
+
"step": 21
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"entropy": 1.3379312753677368,
|
| 224 |
+
"epoch": 1.0,
|
| 225 |
+
"grad_norm": 1.0615953207015991,
|
| 226 |
+
"learning_rate": 0.00013636363636363637,
|
| 227 |
+
"loss": 1.3719230890274048,
|
| 228 |
+
"mean_token_accuracy": 0.7408558428287506,
|
| 229 |
+
"num_tokens": 61638.0,
|
| 230 |
+
"step": 22
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"entropy": 1.3840602338314056,
|
| 234 |
+
"epoch": 1.0465116279069768,
|
| 235 |
+
"grad_norm": 0.6854942440986633,
|
| 236 |
+
"learning_rate": 0.00013333333333333334,
|
| 237 |
+
"loss": 1.2929234504699707,
|
| 238 |
+
"mean_token_accuracy": 0.7477771267294884,
|
| 239 |
+
"num_tokens": 64544.0,
|
| 240 |
+
"step": 23
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"entropy": 1.3140927851200104,
|
| 244 |
+
"epoch": 1.0930232558139534,
|
| 245 |
+
"grad_norm": 0.7578628659248352,
|
| 246 |
+
"learning_rate": 0.0001303030303030303,
|
| 247 |
+
"loss": 1.2306703329086304,
|
| 248 |
+
"mean_token_accuracy": 0.7550539150834084,
|
| 249 |
+
"num_tokens": 67387.0,
|
| 250 |
+
"step": 24
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"entropy": 1.2623722553253174,
|
| 254 |
+
"epoch": 1.1395348837209303,
|
| 255 |
+
"grad_norm": 0.8415782451629639,
|
| 256 |
+
"learning_rate": 0.00012727272727272728,
|
| 257 |
+
"loss": 1.2171947956085205,
|
| 258 |
+
"mean_token_accuracy": 0.7480703815817833,
|
| 259 |
+
"num_tokens": 70226.0,
|
| 260 |
+
"step": 25
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"epoch": 1.1395348837209303,
|
| 264 |
+
"eval_entropy": 1.269708236058553,
|
| 265 |
+
"eval_loss": 1.3236218690872192,
|
| 266 |
+
"eval_mean_token_accuracy": 0.7468412717183431,
|
| 267 |
+
"eval_num_tokens": 70226.0,
|
| 268 |
+
"eval_runtime": 23.6754,
|
| 269 |
+
"eval_samples_per_second": 0.887,
|
| 270 |
+
"eval_steps_per_second": 0.127,
|
| 271 |
+
"step": 25
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"entropy": 1.2569413930177689,
|
| 275 |
+
"epoch": 1.1860465116279069,
|
| 276 |
+
"grad_norm": 0.7056717872619629,
|
| 277 |
+
"learning_rate": 0.00012424242424242425,
|
| 278 |
+
"loss": 1.2411645650863647,
|
| 279 |
+
"mean_token_accuracy": 0.7509386241436005,
|
| 280 |
+
"num_tokens": 73108.0,
|
| 281 |
+
"step": 26
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"entropy": 1.1610113084316254,
|
| 285 |
+
"epoch": 1.2325581395348837,
|
| 286 |
+
"grad_norm": 0.6524553894996643,
|
| 287 |
+
"learning_rate": 0.00012121212121212122,
|
| 288 |
+
"loss": 1.2357319593429565,
|
| 289 |
+
"mean_token_accuracy": 0.7581899166107178,
|
| 290 |
+
"num_tokens": 75997.0,
|
| 291 |
+
"step": 27
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"entropy": 1.1316318660974503,
|
| 295 |
+
"epoch": 1.2790697674418605,
|
| 296 |
+
"grad_norm": 0.7145143747329712,
|
| 297 |
+
"learning_rate": 0.0001181818181818182,
|
| 298 |
+
"loss": 1.1603296995162964,
|
| 299 |
+
"mean_token_accuracy": 0.7560656443238258,
|
| 300 |
+
"num_tokens": 78843.0,
|
| 301 |
+
"step": 28
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"entropy": 1.0897059589624405,
|
| 305 |
+
"epoch": 1.3255813953488373,
|
| 306 |
+
"grad_norm": 0.716164231300354,
|
| 307 |
+
"learning_rate": 0.00011515151515151516,
|
| 308 |
+
"loss": 1.1013548374176025,
|
| 309 |
+
"mean_token_accuracy": 0.7676788046956062,
|
| 310 |
+
"num_tokens": 81658.0,
|
| 311 |
+
"step": 29
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"entropy": 1.1006843373179436,
|
| 315 |
+
"epoch": 1.372093023255814,
|
| 316 |
+
"grad_norm": 0.7658649682998657,
|
| 317 |
+
"learning_rate": 0.00011212121212121212,
|
| 318 |
+
"loss": 1.2547061443328857,
|
| 319 |
+
"mean_token_accuracy": 0.7541963085532188,
|
| 320 |
+
"num_tokens": 84536.0,
|
| 321 |
+
"step": 30
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"entropy": 1.1640941053628922,
|
| 325 |
+
"epoch": 1.4186046511627908,
|
| 326 |
+
"grad_norm": 0.6944812536239624,
|
| 327 |
+
"learning_rate": 0.00010909090909090909,
|
| 328 |
+
"loss": 1.2627403736114502,
|
| 329 |
+
"mean_token_accuracy": 0.7511968314647675,
|
| 330 |
+
"num_tokens": 87417.0,
|
| 331 |
+
"step": 31
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"entropy": 1.1671042293310165,
|
| 335 |
+
"epoch": 1.4651162790697674,
|
| 336 |
+
"grad_norm": 0.6439647674560547,
|
| 337 |
+
"learning_rate": 0.00010606060606060606,
|
| 338 |
+
"loss": 1.1558995246887207,
|
| 339 |
+
"mean_token_accuracy": 0.7654487788677216,
|
| 340 |
+
"num_tokens": 90331.0,
|
| 341 |
+
"step": 32
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"entropy": 1.1942840218544006,
|
| 345 |
+
"epoch": 1.5116279069767442,
|
| 346 |
+
"grad_norm": 0.6287422776222229,
|
| 347 |
+
"learning_rate": 0.00010303030303030303,
|
| 348 |
+
"loss": 1.1651532649993896,
|
| 349 |
+
"mean_token_accuracy": 0.7653707712888718,
|
| 350 |
+
"num_tokens": 93121.0,
|
| 351 |
+
"step": 33
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"entropy": 1.1679446250200272,
|
| 355 |
+
"epoch": 1.558139534883721,
|
| 356 |
+
"grad_norm": 0.6145845651626587,
|
| 357 |
+
"learning_rate": 0.0001,
|
| 358 |
+
"loss": 1.1484891176223755,
|
| 359 |
+
"mean_token_accuracy": 0.7692908048629761,
|
| 360 |
+
"num_tokens": 95976.0,
|
| 361 |
+
"step": 34
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"entropy": 1.192369356751442,
|
| 365 |
+
"epoch": 1.6046511627906976,
|
| 366 |
+
"grad_norm": 0.6312623620033264,
|
| 367 |
+
"learning_rate": 9.696969696969698e-05,
|
| 368 |
+
"loss": 1.1241192817687988,
|
| 369 |
+
"mean_token_accuracy": 0.7745805829763412,
|
| 370 |
+
"num_tokens": 98831.0,
|
| 371 |
+
"step": 35
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"entropy": 1.1986273378133774,
|
| 375 |
+
"epoch": 1.6511627906976745,
|
| 376 |
+
"grad_norm": 0.631524384021759,
|
| 377 |
+
"learning_rate": 9.393939393939395e-05,
|
| 378 |
+
"loss": 1.1099392175674438,
|
| 379 |
+
"mean_token_accuracy": 0.7665266469120979,
|
| 380 |
+
"num_tokens": 101692.0,
|
| 381 |
+
"step": 36
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"entropy": 1.1622384190559387,
|
| 385 |
+
"epoch": 1.697674418604651,
|
| 386 |
+
"grad_norm": 0.6554811000823975,
|
| 387 |
+
"learning_rate": 9.090909090909092e-05,
|
| 388 |
+
"loss": 1.1182700395584106,
|
| 389 |
+
"mean_token_accuracy": 0.7731309980154037,
|
| 390 |
+
"num_tokens": 104588.0,
|
| 391 |
+
"step": 37
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"entropy": 1.1431942731142044,
|
| 395 |
+
"epoch": 1.744186046511628,
|
| 396 |
+
"grad_norm": 0.6505893468856812,
|
| 397 |
+
"learning_rate": 8.787878787878789e-05,
|
| 398 |
+
"loss": 1.1559628248214722,
|
| 399 |
+
"mean_token_accuracy": 0.7654054239392281,
|
| 400 |
+
"num_tokens": 107432.0,
|
| 401 |
+
"step": 38
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"entropy": 1.0986781418323517,
|
| 405 |
+
"epoch": 1.7906976744186047,
|
| 406 |
+
"grad_norm": 0.6133966445922852,
|
| 407 |
+
"learning_rate": 8.484848484848486e-05,
|
| 408 |
+
"loss": 1.1038329601287842,
|
| 409 |
+
"mean_token_accuracy": 0.7741741612553596,
|
| 410 |
+
"num_tokens": 110290.0,
|
| 411 |
+
"step": 39
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"entropy": 1.1940048933029175,
|
| 415 |
+
"epoch": 1.8372093023255816,
|
| 416 |
+
"grad_norm": 0.6706917881965637,
|
| 417 |
+
"learning_rate": 8.181818181818183e-05,
|
| 418 |
+
"loss": 1.2224962711334229,
|
| 419 |
+
"mean_token_accuracy": 0.7595749273896217,
|
| 420 |
+
"num_tokens": 113241.0,
|
| 421 |
+
"step": 40
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"entropy": 1.093463771045208,
|
| 425 |
+
"epoch": 1.8837209302325582,
|
| 426 |
+
"grad_norm": 0.6326221823692322,
|
| 427 |
+
"learning_rate": 7.878787878787879e-05,
|
| 428 |
+
"loss": 1.0774179697036743,
|
| 429 |
+
"mean_token_accuracy": 0.7765835002064705,
|
| 430 |
+
"num_tokens": 116058.0,
|
| 431 |
+
"step": 41
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"entropy": 1.0873005762696266,
|
| 435 |
+
"epoch": 1.9302325581395348,
|
| 436 |
+
"grad_norm": 0.6181315183639526,
|
| 437 |
+
"learning_rate": 7.575757575757576e-05,
|
| 438 |
+
"loss": 1.0978009700775146,
|
| 439 |
+
"mean_token_accuracy": 0.7810145989060402,
|
| 440 |
+
"num_tokens": 118917.0,
|
| 441 |
+
"step": 42
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"entropy": 1.1240383982658386,
|
| 445 |
+
"epoch": 1.9767441860465116,
|
| 446 |
+
"grad_norm": 0.6578682661056519,
|
| 447 |
+
"learning_rate": 7.272727272727273e-05,
|
| 448 |
+
"loss": 1.1661534309387207,
|
| 449 |
+
"mean_token_accuracy": 0.7703806236386299,
|
| 450 |
+
"num_tokens": 121826.0,
|
| 451 |
+
"step": 43
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"entropy": 1.1067591309547424,
|
| 455 |
+
"epoch": 2.0,
|
| 456 |
+
"grad_norm": 0.859855592250824,
|
| 457 |
+
"learning_rate": 6.96969696969697e-05,
|
| 458 |
+
"loss": 1.1423782110214233,
|
| 459 |
+
"mean_token_accuracy": 0.7782015055418015,
|
| 460 |
+
"num_tokens": 123276.0,
|
| 461 |
+
"step": 44
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"entropy": 1.007106527686119,
|
| 465 |
+
"epoch": 2.046511627906977,
|
| 466 |
+
"grad_norm": 0.6361871957778931,
|
| 467 |
+
"learning_rate": 6.666666666666667e-05,
|
| 468 |
+
"loss": 0.99169921875,
|
| 469 |
+
"mean_token_accuracy": 0.8010707274079323,
|
| 470 |
+
"num_tokens": 126131.0,
|
| 471 |
+
"step": 45
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"entropy": 1.0915530025959015,
|
| 475 |
+
"epoch": 2.0930232558139537,
|
| 476 |
+
"grad_norm": 0.6246346831321716,
|
| 477 |
+
"learning_rate": 6.363636363636364e-05,
|
| 478 |
+
"loss": 1.0227229595184326,
|
| 479 |
+
"mean_token_accuracy": 0.7880896329879761,
|
| 480 |
+
"num_tokens": 129040.0,
|
| 481 |
+
"step": 46
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"entropy": 1.0547040328383446,
|
| 485 |
+
"epoch": 2.13953488372093,
|
| 486 |
+
"grad_norm": 0.603927493095398,
|
| 487 |
+
"learning_rate": 6.060606060606061e-05,
|
| 488 |
+
"loss": 1.0576000213623047,
|
| 489 |
+
"mean_token_accuracy": 0.7919111326336861,
|
| 490 |
+
"num_tokens": 131913.0,
|
| 491 |
+
"step": 47
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"entropy": 1.0246013700962067,
|
| 495 |
+
"epoch": 2.186046511627907,
|
| 496 |
+
"grad_norm": 0.6876993179321289,
|
| 497 |
+
"learning_rate": 5.757575757575758e-05,
|
| 498 |
+
"loss": 1.001023530960083,
|
| 499 |
+
"mean_token_accuracy": 0.7936117947101593,
|
| 500 |
+
"num_tokens": 134761.0,
|
| 501 |
+
"step": 48
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"entropy": 1.0352526903152466,
|
| 505 |
+
"epoch": 2.2325581395348837,
|
| 506 |
+
"grad_norm": 0.6039313673973083,
|
| 507 |
+
"learning_rate": 5.4545454545454546e-05,
|
| 508 |
+
"loss": 1.0032858848571777,
|
| 509 |
+
"mean_token_accuracy": 0.7948877811431885,
|
| 510 |
+
"num_tokens": 137615.0,
|
| 511 |
+
"step": 49
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"entropy": 1.0240555480122566,
|
| 515 |
+
"epoch": 2.2790697674418605,
|
| 516 |
+
"grad_norm": 0.8708204627037048,
|
| 517 |
+
"learning_rate": 5.151515151515152e-05,
|
| 518 |
+
"loss": 1.0185186862945557,
|
| 519 |
+
"mean_token_accuracy": 0.7922521382570267,
|
| 520 |
+
"num_tokens": 140414.0,
|
| 521 |
+
"step": 50
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"epoch": 2.2790697674418605,
|
| 525 |
+
"eval_entropy": 1.0602943102518718,
|
| 526 |
+
"eval_loss": 1.200447678565979,
|
| 527 |
+
"eval_mean_token_accuracy": 0.7699050903320312,
|
| 528 |
+
"eval_num_tokens": 140414.0,
|
| 529 |
+
"eval_runtime": 23.5584,
|
| 530 |
+
"eval_samples_per_second": 0.891,
|
| 531 |
+
"eval_steps_per_second": 0.127,
|
| 532 |
+
"step": 50
|
| 533 |
+
}
|
| 534 |
+
],
|
| 535 |
+
"logging_steps": 1,
|
| 536 |
+
"max_steps": 66,
|
| 537 |
+
"num_input_tokens_seen": 0,
|
| 538 |
+
"num_train_epochs": 3,
|
| 539 |
+
"save_steps": 25,
|
| 540 |
+
"stateful_callbacks": {
|
| 541 |
+
"TrainerControl": {
|
| 542 |
+
"args": {
|
| 543 |
+
"should_epoch_stop": false,
|
| 544 |
+
"should_evaluate": false,
|
| 545 |
+
"should_log": false,
|
| 546 |
+
"should_save": true,
|
| 547 |
+
"should_training_stop": false
|
| 548 |
+
},
|
| 549 |
+
"attributes": {}
|
| 550 |
+
}
|
| 551 |
+
},
|
| 552 |
+
"total_flos": 2362921048522752.0,
|
| 553 |
+
"train_batch_size": 1,
|
| 554 |
+
"trial_name": null,
|
| 555 |
+
"trial_params": null
|
| 556 |
+
}
|
checkpoint-50/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11d90e48fffad8a6ebb3bb804054cb6870cb9595177d5a606f4008edb172012b
|
| 3 |
+
size 5649
|
checkpoint-66/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen2.5-3B-Instruct
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for Model ID
|
| 14 |
+
|
| 15 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
|
| 21 |
+
### Model Description
|
| 22 |
+
|
| 23 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
- **Developed by:** [More Information Needed]
|
| 28 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 29 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 30 |
+
- **Model type:** [More Information Needed]
|
| 31 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 32 |
+
- **License:** [More Information Needed]
|
| 33 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 34 |
+
|
| 35 |
+
### Model Sources [optional]
|
| 36 |
+
|
| 37 |
+
<!-- Provide the basic links for the model. -->
|
| 38 |
+
|
| 39 |
+
- **Repository:** [More Information Needed]
|
| 40 |
+
- **Paper [optional]:** [More Information Needed]
|
| 41 |
+
- **Demo [optional]:** [More Information Needed]
|
| 42 |
+
|
| 43 |
+
## Uses
|
| 44 |
+
|
| 45 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 46 |
+
|
| 47 |
+
### Direct Use
|
| 48 |
+
|
| 49 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 50 |
+
|
| 51 |
+
[More Information Needed]
|
| 52 |
+
|
| 53 |
+
### Downstream Use [optional]
|
| 54 |
+
|
| 55 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 56 |
+
|
| 57 |
+
[More Information Needed]
|
| 58 |
+
|
| 59 |
+
### Out-of-Scope Use
|
| 60 |
+
|
| 61 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 62 |
+
|
| 63 |
+
[More Information Needed]
|
| 64 |
+
|
| 65 |
+
## Bias, Risks, and Limitations
|
| 66 |
+
|
| 67 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 68 |
+
|
| 69 |
+
[More Information Needed]
|
| 70 |
+
|
| 71 |
+
### Recommendations
|
| 72 |
+
|
| 73 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 74 |
+
|
| 75 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 76 |
+
|
| 77 |
+
## How to Get Started with the Model
|
| 78 |
+
|
| 79 |
+
Use the code below to get started with the model.
|
| 80 |
+
|
| 81 |
+
[More Information Needed]
|
| 82 |
+
|
| 83 |
+
## Training Details
|
| 84 |
+
|
| 85 |
+
### Training Data
|
| 86 |
+
|
| 87 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 88 |
+
|
| 89 |
+
[More Information Needed]
|
| 90 |
+
|
| 91 |
+
### Training Procedure
|
| 92 |
+
|
| 93 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 94 |
+
|
| 95 |
+
#### Preprocessing [optional]
|
| 96 |
+
|
| 97 |
+
[More Information Needed]
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
#### Training Hyperparameters
|
| 101 |
+
|
| 102 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 103 |
+
|
| 104 |
+
#### Speeds, Sizes, Times [optional]
|
| 105 |
+
|
| 106 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 107 |
+
|
| 108 |
+
[More Information Needed]
|
| 109 |
+
|
| 110 |
+
## Evaluation
|
| 111 |
+
|
| 112 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 113 |
+
|
| 114 |
+
### Testing Data, Factors & Metrics
|
| 115 |
+
|
| 116 |
+
#### Testing Data
|
| 117 |
+
|
| 118 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 119 |
+
|
| 120 |
+
[More Information Needed]
|
| 121 |
+
|
| 122 |
+
#### Factors
|
| 123 |
+
|
| 124 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
#### Metrics
|
| 129 |
+
|
| 130 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 131 |
+
|
| 132 |
+
[More Information Needed]
|
| 133 |
+
|
| 134 |
+
### Results
|
| 135 |
+
|
| 136 |
+
[More Information Needed]
|
| 137 |
+
|
| 138 |
+
#### Summary
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
## Model Examination [optional]
|
| 143 |
+
|
| 144 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 145 |
+
|
| 146 |
+
[More Information Needed]
|
| 147 |
+
|
| 148 |
+
## Environmental Impact
|
| 149 |
+
|
| 150 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 151 |
+
|
| 152 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 153 |
+
|
| 154 |
+
- **Hardware Type:** [More Information Needed]
|
| 155 |
+
- **Hours used:** [More Information Needed]
|
| 156 |
+
- **Cloud Provider:** [More Information Needed]
|
| 157 |
+
- **Compute Region:** [More Information Needed]
|
| 158 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 159 |
+
|
| 160 |
+
## Technical Specifications [optional]
|
| 161 |
+
|
| 162 |
+
### Model Architecture and Objective
|
| 163 |
+
|
| 164 |
+
[More Information Needed]
|
| 165 |
+
|
| 166 |
+
### Compute Infrastructure
|
| 167 |
+
|
| 168 |
+
[More Information Needed]
|
| 169 |
+
|
| 170 |
+
#### Hardware
|
| 171 |
+
|
| 172 |
+
[More Information Needed]
|
| 173 |
+
|
| 174 |
+
#### Software
|
| 175 |
+
|
| 176 |
+
[More Information Needed]
|
| 177 |
+
|
| 178 |
+
## Citation [optional]
|
| 179 |
+
|
| 180 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 181 |
+
|
| 182 |
+
**BibTeX:**
|
| 183 |
+
|
| 184 |
+
[More Information Needed]
|
| 185 |
+
|
| 186 |
+
**APA:**
|
| 187 |
+
|
| 188 |
+
[More Information Needed]
|
| 189 |
+
|
| 190 |
+
## Glossary [optional]
|
| 191 |
+
|
| 192 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 193 |
+
|
| 194 |
+
[More Information Needed]
|
| 195 |
+
|
| 196 |
+
## More Information [optional]
|
| 197 |
+
|
| 198 |
+
[More Information Needed]
|
| 199 |
+
|
| 200 |
+
## Model Card Authors [optional]
|
| 201 |
+
|
| 202 |
+
[More Information Needed]
|
| 203 |
+
|
| 204 |
+
## Model Card Contact
|
| 205 |
+
|
| 206 |
+
[More Information Needed]
|
| 207 |
+
### Framework versions
|
| 208 |
+
|
| 209 |
+
- PEFT 0.19.1
|
checkpoint-66/adapter_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen2.5-3B-Instruct",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 32,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"lora_ga_config": null,
|
| 23 |
+
"megatron_config": null,
|
| 24 |
+
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": null,
|
| 26 |
+
"peft_type": "LORA",
|
| 27 |
+
"peft_version": "0.19.1",
|
| 28 |
+
"qalora_group_size": 16,
|
| 29 |
+
"r": 16,
|
| 30 |
+
"rank_pattern": {},
|
| 31 |
+
"revision": null,
|
| 32 |
+
"target_modules": [
|
| 33 |
+
"up_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"down_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"q_proj",
|
| 38 |
+
"gate_proj",
|
| 39 |
+
"v_proj"
|
| 40 |
+
],
|
| 41 |
+
"target_parameters": null,
|
| 42 |
+
"task_type": "CAUSAL_LM",
|
| 43 |
+
"trainable_token_indices": null,
|
| 44 |
+
"use_bdlora": null,
|
| 45 |
+
"use_dora": false,
|
| 46 |
+
"use_qalora": false,
|
| 47 |
+
"use_rslora": false
|
| 48 |
+
}
|
checkpoint-66/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e90749472ac39dec2b80483b7c98680e95ec8b1920292ae13ee8b50cadeca17
|
| 3 |
+
size 119801528
|
checkpoint-66/chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
checkpoint-66/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9303c8bb5bc7726b4f215fed70e22b9519327c1d23b3dd58dd0f48529a9fe62
|
| 3 |
+
size 239900363
|
checkpoint-66/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8aa96bffe1c83c14e17036638a6e2860624179ab07eea20990734cf7a58410c9
|
| 3 |
+
size 14645
|
checkpoint-66/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b0ef08a8896fc74249e1d03a7a19353047bad5d9925f4998a7d2908c9b7b155
|
| 3 |
+
size 1465
|
checkpoint-66/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|
checkpoint-66/tokenizer_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|im_end|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"local_files_only": false,
|
| 25 |
+
"model_max_length": 131072,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
checkpoint-66/trainer_state.json
ADDED
|
@@ -0,0 +1,727 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 25,
|
| 7 |
+
"global_step": 66,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 2.1579806357622147,
|
| 14 |
+
"epoch": 0.046511627906976744,
|
| 15 |
+
"grad_norm": 4.1606550216674805,
|
| 16 |
+
"learning_rate": 0.0002,
|
| 17 |
+
"loss": 3.5343387126922607,
|
| 18 |
+
"mean_token_accuracy": 0.4543117918074131,
|
| 19 |
+
"num_tokens": 2858.0,
|
| 20 |
+
"step": 1
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 2.383239656686783,
|
| 24 |
+
"epoch": 0.09302325581395349,
|
| 25 |
+
"grad_norm": 1.1439001560211182,
|
| 26 |
+
"learning_rate": 0.00019696969696969698,
|
| 27 |
+
"loss": 3.196744918823242,
|
| 28 |
+
"mean_token_accuracy": 0.4753075949847698,
|
| 29 |
+
"num_tokens": 5729.0,
|
| 30 |
+
"step": 2
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 2.611323744058609,
|
| 34 |
+
"epoch": 0.13953488372093023,
|
| 35 |
+
"grad_norm": 0.8999320864677429,
|
| 36 |
+
"learning_rate": 0.00019393939393939395,
|
| 37 |
+
"loss": 3.031313419342041,
|
| 38 |
+
"mean_token_accuracy": 0.4914238899946213,
|
| 39 |
+
"num_tokens": 8652.0,
|
| 40 |
+
"step": 3
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 2.6815119981765747,
|
| 44 |
+
"epoch": 0.18604651162790697,
|
| 45 |
+
"grad_norm": 0.9472066164016724,
|
| 46 |
+
"learning_rate": 0.00019090909090909092,
|
| 47 |
+
"loss": 2.823822259902954,
|
| 48 |
+
"mean_token_accuracy": 0.5055175274610519,
|
| 49 |
+
"num_tokens": 11505.0,
|
| 50 |
+
"step": 4
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 2.6952448189258575,
|
| 54 |
+
"epoch": 0.23255813953488372,
|
| 55 |
+
"grad_norm": 1.0103695392608643,
|
| 56 |
+
"learning_rate": 0.0001878787878787879,
|
| 57 |
+
"loss": 2.653456449508667,
|
| 58 |
+
"mean_token_accuracy": 0.5434774681925774,
|
| 59 |
+
"num_tokens": 14305.0,
|
| 60 |
+
"step": 5
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 2.583629608154297,
|
| 64 |
+
"epoch": 0.27906976744186046,
|
| 65 |
+
"grad_norm": 1.0037801265716553,
|
| 66 |
+
"learning_rate": 0.00018484848484848484,
|
| 67 |
+
"loss": 2.4006030559539795,
|
| 68 |
+
"mean_token_accuracy": 0.5793078020215034,
|
| 69 |
+
"num_tokens": 17183.0,
|
| 70 |
+
"step": 6
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 2.5597729980945587,
|
| 74 |
+
"epoch": 0.32558139534883723,
|
| 75 |
+
"grad_norm": 0.8710836172103882,
|
| 76 |
+
"learning_rate": 0.00018181818181818183,
|
| 77 |
+
"loss": 2.2892913818359375,
|
| 78 |
+
"mean_token_accuracy": 0.5941493511199951,
|
| 79 |
+
"num_tokens": 19984.0,
|
| 80 |
+
"step": 7
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 2.376883178949356,
|
| 84 |
+
"epoch": 0.37209302325581395,
|
| 85 |
+
"grad_norm": 0.9070297479629517,
|
| 86 |
+
"learning_rate": 0.0001787878787878788,
|
| 87 |
+
"loss": 2.0746352672576904,
|
| 88 |
+
"mean_token_accuracy": 0.6227477192878723,
|
| 89 |
+
"num_tokens": 22855.0,
|
| 90 |
+
"step": 8
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 2.258640706539154,
|
| 94 |
+
"epoch": 0.4186046511627907,
|
| 95 |
+
"grad_norm": 0.946723222732544,
|
| 96 |
+
"learning_rate": 0.00017575757575757578,
|
| 97 |
+
"loss": 2.0197558403015137,
|
| 98 |
+
"mean_token_accuracy": 0.6193782836198807,
|
| 99 |
+
"num_tokens": 25725.0,
|
| 100 |
+
"step": 9
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 2.0423424541950226,
|
| 104 |
+
"epoch": 0.46511627906976744,
|
| 105 |
+
"grad_norm": 0.967450737953186,
|
| 106 |
+
"learning_rate": 0.00017272727272727275,
|
| 107 |
+
"loss": 1.9194402694702148,
|
| 108 |
+
"mean_token_accuracy": 0.6510066166520119,
|
| 109 |
+
"num_tokens": 28640.0,
|
| 110 |
+
"step": 10
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 1.8195575922727585,
|
| 114 |
+
"epoch": 0.5116279069767442,
|
| 115 |
+
"grad_norm": 0.9876963496208191,
|
| 116 |
+
"learning_rate": 0.00016969696969696972,
|
| 117 |
+
"loss": 1.6916238069534302,
|
| 118 |
+
"mean_token_accuracy": 0.6843769624829292,
|
| 119 |
+
"num_tokens": 31466.0,
|
| 120 |
+
"step": 11
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 1.657564640045166,
|
| 124 |
+
"epoch": 0.5581395348837209,
|
| 125 |
+
"grad_norm": 0.9327711462974548,
|
| 126 |
+
"learning_rate": 0.0001666666666666667,
|
| 127 |
+
"loss": 1.6198698282241821,
|
| 128 |
+
"mean_token_accuracy": 0.6921377927064896,
|
| 129 |
+
"num_tokens": 34386.0,
|
| 130 |
+
"step": 12
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 1.5036935806274414,
|
| 134 |
+
"epoch": 0.6046511627906976,
|
| 135 |
+
"grad_norm": 0.9925690293312073,
|
| 136 |
+
"learning_rate": 0.00016363636363636366,
|
| 137 |
+
"loss": 1.6096687316894531,
|
| 138 |
+
"mean_token_accuracy": 0.6979961171746254,
|
| 139 |
+
"num_tokens": 37253.0,
|
| 140 |
+
"step": 13
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 1.493466705083847,
|
| 144 |
+
"epoch": 0.6511627906976745,
|
| 145 |
+
"grad_norm": 0.7939132452011108,
|
| 146 |
+
"learning_rate": 0.0001606060606060606,
|
| 147 |
+
"loss": 1.5107256174087524,
|
| 148 |
+
"mean_token_accuracy": 0.7151075974106789,
|
| 149 |
+
"num_tokens": 40126.0,
|
| 150 |
+
"step": 14
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 1.4645536988973618,
|
| 154 |
+
"epoch": 0.6976744186046512,
|
| 155 |
+
"grad_norm": 0.7673895359039307,
|
| 156 |
+
"learning_rate": 0.00015757575757575757,
|
| 157 |
+
"loss": 1.498252272605896,
|
| 158 |
+
"mean_token_accuracy": 0.7205590456724167,
|
| 159 |
+
"num_tokens": 42987.0,
|
| 160 |
+
"step": 15
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 1.4190728217363358,
|
| 164 |
+
"epoch": 0.7441860465116279,
|
| 165 |
+
"grad_norm": 0.7674983739852905,
|
| 166 |
+
"learning_rate": 0.00015454545454545454,
|
| 167 |
+
"loss": 1.4531012773513794,
|
| 168 |
+
"mean_token_accuracy": 0.7277705073356628,
|
| 169 |
+
"num_tokens": 45824.0,
|
| 170 |
+
"step": 16
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 1.4405420571565628,
|
| 174 |
+
"epoch": 0.7906976744186046,
|
| 175 |
+
"grad_norm": 0.8017104268074036,
|
| 176 |
+
"learning_rate": 0.00015151515151515152,
|
| 177 |
+
"loss": 1.4173262119293213,
|
| 178 |
+
"mean_token_accuracy": 0.7321867346763611,
|
| 179 |
+
"num_tokens": 48701.0,
|
| 180 |
+
"step": 17
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 1.4430709928274155,
|
| 184 |
+
"epoch": 0.8372093023255814,
|
| 185 |
+
"grad_norm": 0.719692587852478,
|
| 186 |
+
"learning_rate": 0.00014848484848484849,
|
| 187 |
+
"loss": 1.470382809638977,
|
| 188 |
+
"mean_token_accuracy": 0.7175731509923935,
|
| 189 |
+
"num_tokens": 51599.0,
|
| 190 |
+
"step": 18
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 1.4004132896661758,
|
| 194 |
+
"epoch": 0.8837209302325582,
|
| 195 |
+
"grad_norm": 0.7663323283195496,
|
| 196 |
+
"learning_rate": 0.00014545454545454546,
|
| 197 |
+
"loss": 1.3906199932098389,
|
| 198 |
+
"mean_token_accuracy": 0.7266740947961807,
|
| 199 |
+
"num_tokens": 54512.0,
|
| 200 |
+
"step": 19
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 1.3797460794448853,
|
| 204 |
+
"epoch": 0.9302325581395349,
|
| 205 |
+
"grad_norm": 0.7134779691696167,
|
| 206 |
+
"learning_rate": 0.00014242424242424243,
|
| 207 |
+
"loss": 1.3138104677200317,
|
| 208 |
+
"mean_token_accuracy": 0.7396841123700142,
|
| 209 |
+
"num_tokens": 57288.0,
|
| 210 |
+
"step": 20
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"entropy": 1.4256091862916946,
|
| 214 |
+
"epoch": 0.9767441860465116,
|
| 215 |
+
"grad_norm": 0.7985653281211853,
|
| 216 |
+
"learning_rate": 0.0001393939393939394,
|
| 217 |
+
"loss": 1.4366086721420288,
|
| 218 |
+
"mean_token_accuracy": 0.7251775711774826,
|
| 219 |
+
"num_tokens": 60169.0,
|
| 220 |
+
"step": 21
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"entropy": 1.3379312753677368,
|
| 224 |
+
"epoch": 1.0,
|
| 225 |
+
"grad_norm": 1.0615953207015991,
|
| 226 |
+
"learning_rate": 0.00013636363636363637,
|
| 227 |
+
"loss": 1.3719230890274048,
|
| 228 |
+
"mean_token_accuracy": 0.7408558428287506,
|
| 229 |
+
"num_tokens": 61638.0,
|
| 230 |
+
"step": 22
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"entropy": 1.3840602338314056,
|
| 234 |
+
"epoch": 1.0465116279069768,
|
| 235 |
+
"grad_norm": 0.6854942440986633,
|
| 236 |
+
"learning_rate": 0.00013333333333333334,
|
| 237 |
+
"loss": 1.2929234504699707,
|
| 238 |
+
"mean_token_accuracy": 0.7477771267294884,
|
| 239 |
+
"num_tokens": 64544.0,
|
| 240 |
+
"step": 23
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"entropy": 1.3140927851200104,
|
| 244 |
+
"epoch": 1.0930232558139534,
|
| 245 |
+
"grad_norm": 0.7578628659248352,
|
| 246 |
+
"learning_rate": 0.0001303030303030303,
|
| 247 |
+
"loss": 1.2306703329086304,
|
| 248 |
+
"mean_token_accuracy": 0.7550539150834084,
|
| 249 |
+
"num_tokens": 67387.0,
|
| 250 |
+
"step": 24
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"entropy": 1.2623722553253174,
|
| 254 |
+
"epoch": 1.1395348837209303,
|
| 255 |
+
"grad_norm": 0.8415782451629639,
|
| 256 |
+
"learning_rate": 0.00012727272727272728,
|
| 257 |
+
"loss": 1.2171947956085205,
|
| 258 |
+
"mean_token_accuracy": 0.7480703815817833,
|
| 259 |
+
"num_tokens": 70226.0,
|
| 260 |
+
"step": 25
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"epoch": 1.1395348837209303,
|
| 264 |
+
"eval_entropy": 1.269708236058553,
|
| 265 |
+
"eval_loss": 1.3236218690872192,
|
| 266 |
+
"eval_mean_token_accuracy": 0.7468412717183431,
|
| 267 |
+
"eval_num_tokens": 70226.0,
|
| 268 |
+
"eval_runtime": 23.6754,
|
| 269 |
+
"eval_samples_per_second": 0.887,
|
| 270 |
+
"eval_steps_per_second": 0.127,
|
| 271 |
+
"step": 25
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"entropy": 1.2569413930177689,
|
| 275 |
+
"epoch": 1.1860465116279069,
|
| 276 |
+
"grad_norm": 0.7056717872619629,
|
| 277 |
+
"learning_rate": 0.00012424242424242425,
|
| 278 |
+
"loss": 1.2411645650863647,
|
| 279 |
+
"mean_token_accuracy": 0.7509386241436005,
|
| 280 |
+
"num_tokens": 73108.0,
|
| 281 |
+
"step": 26
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"entropy": 1.1610113084316254,
|
| 285 |
+
"epoch": 1.2325581395348837,
|
| 286 |
+
"grad_norm": 0.6524553894996643,
|
| 287 |
+
"learning_rate": 0.00012121212121212122,
|
| 288 |
+
"loss": 1.2357319593429565,
|
| 289 |
+
"mean_token_accuracy": 0.7581899166107178,
|
| 290 |
+
"num_tokens": 75997.0,
|
| 291 |
+
"step": 27
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"entropy": 1.1316318660974503,
|
| 295 |
+
"epoch": 1.2790697674418605,
|
| 296 |
+
"grad_norm": 0.7145143747329712,
|
| 297 |
+
"learning_rate": 0.0001181818181818182,
|
| 298 |
+
"loss": 1.1603296995162964,
|
| 299 |
+
"mean_token_accuracy": 0.7560656443238258,
|
| 300 |
+
"num_tokens": 78843.0,
|
| 301 |
+
"step": 28
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"entropy": 1.0897059589624405,
|
| 305 |
+
"epoch": 1.3255813953488373,
|
| 306 |
+
"grad_norm": 0.716164231300354,
|
| 307 |
+
"learning_rate": 0.00011515151515151516,
|
| 308 |
+
"loss": 1.1013548374176025,
|
| 309 |
+
"mean_token_accuracy": 0.7676788046956062,
|
| 310 |
+
"num_tokens": 81658.0,
|
| 311 |
+
"step": 29
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"entropy": 1.1006843373179436,
|
| 315 |
+
"epoch": 1.372093023255814,
|
| 316 |
+
"grad_norm": 0.7658649682998657,
|
| 317 |
+
"learning_rate": 0.00011212121212121212,
|
| 318 |
+
"loss": 1.2547061443328857,
|
| 319 |
+
"mean_token_accuracy": 0.7541963085532188,
|
| 320 |
+
"num_tokens": 84536.0,
|
| 321 |
+
"step": 30
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"entropy": 1.1640941053628922,
|
| 325 |
+
"epoch": 1.4186046511627908,
|
| 326 |
+
"grad_norm": 0.6944812536239624,
|
| 327 |
+
"learning_rate": 0.00010909090909090909,
|
| 328 |
+
"loss": 1.2627403736114502,
|
| 329 |
+
"mean_token_accuracy": 0.7511968314647675,
|
| 330 |
+
"num_tokens": 87417.0,
|
| 331 |
+
"step": 31
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"entropy": 1.1671042293310165,
|
| 335 |
+
"epoch": 1.4651162790697674,
|
| 336 |
+
"grad_norm": 0.6439647674560547,
|
| 337 |
+
"learning_rate": 0.00010606060606060606,
|
| 338 |
+
"loss": 1.1558995246887207,
|
| 339 |
+
"mean_token_accuracy": 0.7654487788677216,
|
| 340 |
+
"num_tokens": 90331.0,
|
| 341 |
+
"step": 32
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"entropy": 1.1942840218544006,
|
| 345 |
+
"epoch": 1.5116279069767442,
|
| 346 |
+
"grad_norm": 0.6287422776222229,
|
| 347 |
+
"learning_rate": 0.00010303030303030303,
|
| 348 |
+
"loss": 1.1651532649993896,
|
| 349 |
+
"mean_token_accuracy": 0.7653707712888718,
|
| 350 |
+
"num_tokens": 93121.0,
|
| 351 |
+
"step": 33
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"entropy": 1.1679446250200272,
|
| 355 |
+
"epoch": 1.558139534883721,
|
| 356 |
+
"grad_norm": 0.6145845651626587,
|
| 357 |
+
"learning_rate": 0.0001,
|
| 358 |
+
"loss": 1.1484891176223755,
|
| 359 |
+
"mean_token_accuracy": 0.7692908048629761,
|
| 360 |
+
"num_tokens": 95976.0,
|
| 361 |
+
"step": 34
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"entropy": 1.192369356751442,
|
| 365 |
+
"epoch": 1.6046511627906976,
|
| 366 |
+
"grad_norm": 0.6312623620033264,
|
| 367 |
+
"learning_rate": 9.696969696969698e-05,
|
| 368 |
+
"loss": 1.1241192817687988,
|
| 369 |
+
"mean_token_accuracy": 0.7745805829763412,
|
| 370 |
+
"num_tokens": 98831.0,
|
| 371 |
+
"step": 35
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"entropy": 1.1986273378133774,
|
| 375 |
+
"epoch": 1.6511627906976745,
|
| 376 |
+
"grad_norm": 0.631524384021759,
|
| 377 |
+
"learning_rate": 9.393939393939395e-05,
|
| 378 |
+
"loss": 1.1099392175674438,
|
| 379 |
+
"mean_token_accuracy": 0.7665266469120979,
|
| 380 |
+
"num_tokens": 101692.0,
|
| 381 |
+
"step": 36
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"entropy": 1.1622384190559387,
|
| 385 |
+
"epoch": 1.697674418604651,
|
| 386 |
+
"grad_norm": 0.6554811000823975,
|
| 387 |
+
"learning_rate": 9.090909090909092e-05,
|
| 388 |
+
"loss": 1.1182700395584106,
|
| 389 |
+
"mean_token_accuracy": 0.7731309980154037,
|
| 390 |
+
"num_tokens": 104588.0,
|
| 391 |
+
"step": 37
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"entropy": 1.1431942731142044,
|
| 395 |
+
"epoch": 1.744186046511628,
|
| 396 |
+
"grad_norm": 0.6505893468856812,
|
| 397 |
+
"learning_rate": 8.787878787878789e-05,
|
| 398 |
+
"loss": 1.1559628248214722,
|
| 399 |
+
"mean_token_accuracy": 0.7654054239392281,
|
| 400 |
+
"num_tokens": 107432.0,
|
| 401 |
+
"step": 38
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"entropy": 1.0986781418323517,
|
| 405 |
+
"epoch": 1.7906976744186047,
|
| 406 |
+
"grad_norm": 0.6133966445922852,
|
| 407 |
+
"learning_rate": 8.484848484848486e-05,
|
| 408 |
+
"loss": 1.1038329601287842,
|
| 409 |
+
"mean_token_accuracy": 0.7741741612553596,
|
| 410 |
+
"num_tokens": 110290.0,
|
| 411 |
+
"step": 39
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"entropy": 1.1940048933029175,
|
| 415 |
+
"epoch": 1.8372093023255816,
|
| 416 |
+
"grad_norm": 0.6706917881965637,
|
| 417 |
+
"learning_rate": 8.181818181818183e-05,
|
| 418 |
+
"loss": 1.2224962711334229,
|
| 419 |
+
"mean_token_accuracy": 0.7595749273896217,
|
| 420 |
+
"num_tokens": 113241.0,
|
| 421 |
+
"step": 40
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"entropy": 1.093463771045208,
|
| 425 |
+
"epoch": 1.8837209302325582,
|
| 426 |
+
"grad_norm": 0.6326221823692322,
|
| 427 |
+
"learning_rate": 7.878787878787879e-05,
|
| 428 |
+
"loss": 1.0774179697036743,
|
| 429 |
+
"mean_token_accuracy": 0.7765835002064705,
|
| 430 |
+
"num_tokens": 116058.0,
|
| 431 |
+
"step": 41
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"entropy": 1.0873005762696266,
|
| 435 |
+
"epoch": 1.9302325581395348,
|
| 436 |
+
"grad_norm": 0.6181315183639526,
|
| 437 |
+
"learning_rate": 7.575757575757576e-05,
|
| 438 |
+
"loss": 1.0978009700775146,
|
| 439 |
+
"mean_token_accuracy": 0.7810145989060402,
|
| 440 |
+
"num_tokens": 118917.0,
|
| 441 |
+
"step": 42
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"entropy": 1.1240383982658386,
|
| 445 |
+
"epoch": 1.9767441860465116,
|
| 446 |
+
"grad_norm": 0.6578682661056519,
|
| 447 |
+
"learning_rate": 7.272727272727273e-05,
|
| 448 |
+
"loss": 1.1661534309387207,
|
| 449 |
+
"mean_token_accuracy": 0.7703806236386299,
|
| 450 |
+
"num_tokens": 121826.0,
|
| 451 |
+
"step": 43
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"entropy": 1.1067591309547424,
|
| 455 |
+
"epoch": 2.0,
|
| 456 |
+
"grad_norm": 0.859855592250824,
|
| 457 |
+
"learning_rate": 6.96969696969697e-05,
|
| 458 |
+
"loss": 1.1423782110214233,
|
| 459 |
+
"mean_token_accuracy": 0.7782015055418015,
|
| 460 |
+
"num_tokens": 123276.0,
|
| 461 |
+
"step": 44
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"entropy": 1.007106527686119,
|
| 465 |
+
"epoch": 2.046511627906977,
|
| 466 |
+
"grad_norm": 0.6361871957778931,
|
| 467 |
+
"learning_rate": 6.666666666666667e-05,
|
| 468 |
+
"loss": 0.99169921875,
|
| 469 |
+
"mean_token_accuracy": 0.8010707274079323,
|
| 470 |
+
"num_tokens": 126131.0,
|
| 471 |
+
"step": 45
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"entropy": 1.0915530025959015,
|
| 475 |
+
"epoch": 2.0930232558139537,
|
| 476 |
+
"grad_norm": 0.6246346831321716,
|
| 477 |
+
"learning_rate": 6.363636363636364e-05,
|
| 478 |
+
"loss": 1.0227229595184326,
|
| 479 |
+
"mean_token_accuracy": 0.7880896329879761,
|
| 480 |
+
"num_tokens": 129040.0,
|
| 481 |
+
"step": 46
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"entropy": 1.0547040328383446,
|
| 485 |
+
"epoch": 2.13953488372093,
|
| 486 |
+
"grad_norm": 0.603927493095398,
|
| 487 |
+
"learning_rate": 6.060606060606061e-05,
|
| 488 |
+
"loss": 1.0576000213623047,
|
| 489 |
+
"mean_token_accuracy": 0.7919111326336861,
|
| 490 |
+
"num_tokens": 131913.0,
|
| 491 |
+
"step": 47
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"entropy": 1.0246013700962067,
|
| 495 |
+
"epoch": 2.186046511627907,
|
| 496 |
+
"grad_norm": 0.6876993179321289,
|
| 497 |
+
"learning_rate": 5.757575757575758e-05,
|
| 498 |
+
"loss": 1.001023530960083,
|
| 499 |
+
"mean_token_accuracy": 0.7936117947101593,
|
| 500 |
+
"num_tokens": 134761.0,
|
| 501 |
+
"step": 48
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"entropy": 1.0352526903152466,
|
| 505 |
+
"epoch": 2.2325581395348837,
|
| 506 |
+
"grad_norm": 0.6039313673973083,
|
| 507 |
+
"learning_rate": 5.4545454545454546e-05,
|
| 508 |
+
"loss": 1.0032858848571777,
|
| 509 |
+
"mean_token_accuracy": 0.7948877811431885,
|
| 510 |
+
"num_tokens": 137615.0,
|
| 511 |
+
"step": 49
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"entropy": 1.0240555480122566,
|
| 515 |
+
"epoch": 2.2790697674418605,
|
| 516 |
+
"grad_norm": 0.8708204627037048,
|
| 517 |
+
"learning_rate": 5.151515151515152e-05,
|
| 518 |
+
"loss": 1.0185186862945557,
|
| 519 |
+
"mean_token_accuracy": 0.7922521382570267,
|
| 520 |
+
"num_tokens": 140414.0,
|
| 521 |
+
"step": 50
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"epoch": 2.2790697674418605,
|
| 525 |
+
"eval_entropy": 1.0602943102518718,
|
| 526 |
+
"eval_loss": 1.200447678565979,
|
| 527 |
+
"eval_mean_token_accuracy": 0.7699050903320312,
|
| 528 |
+
"eval_num_tokens": 140414.0,
|
| 529 |
+
"eval_runtime": 23.5584,
|
| 530 |
+
"eval_samples_per_second": 0.891,
|
| 531 |
+
"eval_steps_per_second": 0.127,
|
| 532 |
+
"step": 50
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"entropy": 1.0265027210116386,
|
| 536 |
+
"epoch": 2.3255813953488373,
|
| 537 |
+
"grad_norm": 0.6438567638397217,
|
| 538 |
+
"learning_rate": 4.848484848484849e-05,
|
| 539 |
+
"loss": 1.0175249576568604,
|
| 540 |
+
"mean_token_accuracy": 0.7826866135001183,
|
| 541 |
+
"num_tokens": 143284.0,
|
| 542 |
+
"step": 51
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"entropy": 0.9898267388343811,
|
| 546 |
+
"epoch": 2.3720930232558137,
|
| 547 |
+
"grad_norm": 0.6375133991241455,
|
| 548 |
+
"learning_rate": 4.545454545454546e-05,
|
| 549 |
+
"loss": 0.9707764387130737,
|
| 550 |
+
"mean_token_accuracy": 0.7932744771242142,
|
| 551 |
+
"num_tokens": 146150.0,
|
| 552 |
+
"step": 52
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"entropy": 1.0071745812892914,
|
| 556 |
+
"epoch": 2.4186046511627906,
|
| 557 |
+
"grad_norm": 0.6660930514335632,
|
| 558 |
+
"learning_rate": 4.242424242424243e-05,
|
| 559 |
+
"loss": 1.009242296218872,
|
| 560 |
+
"mean_token_accuracy": 0.7855371758341789,
|
| 561 |
+
"num_tokens": 149068.0,
|
| 562 |
+
"step": 53
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"entropy": 0.9613702818751335,
|
| 566 |
+
"epoch": 2.4651162790697674,
|
| 567 |
+
"grad_norm": 0.7088518738746643,
|
| 568 |
+
"learning_rate": 3.939393939393939e-05,
|
| 569 |
+
"loss": 1.0165516138076782,
|
| 570 |
+
"mean_token_accuracy": 0.783820278942585,
|
| 571 |
+
"num_tokens": 151917.0,
|
| 572 |
+
"step": 54
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"entropy": 0.9687683582305908,
|
| 576 |
+
"epoch": 2.511627906976744,
|
| 577 |
+
"grad_norm": 0.7164815664291382,
|
| 578 |
+
"learning_rate": 3.6363636363636364e-05,
|
| 579 |
+
"loss": 1.0128358602523804,
|
| 580 |
+
"mean_token_accuracy": 0.7865022346377373,
|
| 581 |
+
"num_tokens": 154798.0,
|
| 582 |
+
"step": 55
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"entropy": 1.055348590016365,
|
| 586 |
+
"epoch": 2.558139534883721,
|
| 587 |
+
"grad_norm": 0.6744108200073242,
|
| 588 |
+
"learning_rate": 3.3333333333333335e-05,
|
| 589 |
+
"loss": 1.089644193649292,
|
| 590 |
+
"mean_token_accuracy": 0.7786232009530067,
|
| 591 |
+
"num_tokens": 157680.0,
|
| 592 |
+
"step": 56
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"entropy": 0.9879975840449333,
|
| 596 |
+
"epoch": 2.604651162790698,
|
| 597 |
+
"grad_norm": 0.6763589978218079,
|
| 598 |
+
"learning_rate": 3.0303030303030306e-05,
|
| 599 |
+
"loss": 0.9537328481674194,
|
| 600 |
+
"mean_token_accuracy": 0.7971024885773659,
|
| 601 |
+
"num_tokens": 160507.0,
|
| 602 |
+
"step": 57
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"entropy": 0.9627247974276543,
|
| 606 |
+
"epoch": 2.6511627906976747,
|
| 607 |
+
"grad_norm": 0.7175208926200867,
|
| 608 |
+
"learning_rate": 2.7272727272727273e-05,
|
| 609 |
+
"loss": 0.9957941174507141,
|
| 610 |
+
"mean_token_accuracy": 0.7866578698158264,
|
| 611 |
+
"num_tokens": 163425.0,
|
| 612 |
+
"step": 58
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"entropy": 1.0002940371632576,
|
| 616 |
+
"epoch": 2.697674418604651,
|
| 617 |
+
"grad_norm": 0.701934278011322,
|
| 618 |
+
"learning_rate": 2.4242424242424244e-05,
|
| 619 |
+
"loss": 1.0220932960510254,
|
| 620 |
+
"mean_token_accuracy": 0.7892234101891518,
|
| 621 |
+
"num_tokens": 166345.0,
|
| 622 |
+
"step": 59
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"entropy": 1.025565043091774,
|
| 626 |
+
"epoch": 2.744186046511628,
|
| 627 |
+
"grad_norm": 0.745701014995575,
|
| 628 |
+
"learning_rate": 2.1212121212121215e-05,
|
| 629 |
+
"loss": 1.0702790021896362,
|
| 630 |
+
"mean_token_accuracy": 0.7797161340713501,
|
| 631 |
+
"num_tokens": 169237.0,
|
| 632 |
+
"step": 60
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"entropy": 1.039203941822052,
|
| 636 |
+
"epoch": 2.7906976744186047,
|
| 637 |
+
"grad_norm": 0.7017920613288879,
|
| 638 |
+
"learning_rate": 1.8181818181818182e-05,
|
| 639 |
+
"loss": 0.998133659362793,
|
| 640 |
+
"mean_token_accuracy": 0.7900014817714691,
|
| 641 |
+
"num_tokens": 172060.0,
|
| 642 |
+
"step": 61
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"entropy": 0.9565892815589905,
|
| 646 |
+
"epoch": 2.8372093023255816,
|
| 647 |
+
"grad_norm": 0.6405618190765381,
|
| 648 |
+
"learning_rate": 1.5151515151515153e-05,
|
| 649 |
+
"loss": 0.9477425813674927,
|
| 650 |
+
"mean_token_accuracy": 0.7926909402012825,
|
| 651 |
+
"num_tokens": 174911.0,
|
| 652 |
+
"step": 62
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"entropy": 1.0012692958116531,
|
| 656 |
+
"epoch": 2.883720930232558,
|
| 657 |
+
"grad_norm": 0.6901278495788574,
|
| 658 |
+
"learning_rate": 1.2121212121212122e-05,
|
| 659 |
+
"loss": 1.0073176622390747,
|
| 660 |
+
"mean_token_accuracy": 0.7831154614686966,
|
| 661 |
+
"num_tokens": 177785.0,
|
| 662 |
+
"step": 63
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"entropy": 1.0543946996331215,
|
| 666 |
+
"epoch": 2.9302325581395348,
|
| 667 |
+
"grad_norm": 0.7121431231498718,
|
| 668 |
+
"learning_rate": 9.090909090909091e-06,
|
| 669 |
+
"loss": 1.0966410636901855,
|
| 670 |
+
"mean_token_accuracy": 0.7801365330815315,
|
| 671 |
+
"num_tokens": 180657.0,
|
| 672 |
+
"step": 64
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"entropy": 0.9581101983785629,
|
| 676 |
+
"epoch": 2.9767441860465116,
|
| 677 |
+
"grad_norm": 0.6658024191856384,
|
| 678 |
+
"learning_rate": 6.060606060606061e-06,
|
| 679 |
+
"loss": 0.9611006379127502,
|
| 680 |
+
"mean_token_accuracy": 0.7966474443674088,
|
| 681 |
+
"num_tokens": 183493.0,
|
| 682 |
+
"step": 65
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"entropy": 1.041701763868332,
|
| 686 |
+
"epoch": 3.0,
|
| 687 |
+
"grad_norm": 0.990643322467804,
|
| 688 |
+
"learning_rate": 3.0303030303030305e-06,
|
| 689 |
+
"loss": 1.044697642326355,
|
| 690 |
+
"mean_token_accuracy": 0.7845684140920639,
|
| 691 |
+
"num_tokens": 184914.0,
|
| 692 |
+
"step": 66
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"epoch": 3.0,
|
| 696 |
+
"eval_entropy": 1.0458589792251587,
|
| 697 |
+
"eval_loss": 1.186977505683899,
|
| 698 |
+
"eval_mean_token_accuracy": 0.770394523938497,
|
| 699 |
+
"eval_num_tokens": 184914.0,
|
| 700 |
+
"eval_runtime": 23.5158,
|
| 701 |
+
"eval_samples_per_second": 0.893,
|
| 702 |
+
"eval_steps_per_second": 0.128,
|
| 703 |
+
"step": 66
|
| 704 |
+
}
|
| 705 |
+
],
|
| 706 |
+
"logging_steps": 1,
|
| 707 |
+
"max_steps": 66,
|
| 708 |
+
"num_input_tokens_seen": 0,
|
| 709 |
+
"num_train_epochs": 3,
|
| 710 |
+
"save_steps": 25,
|
| 711 |
+
"stateful_callbacks": {
|
| 712 |
+
"TrainerControl": {
|
| 713 |
+
"args": {
|
| 714 |
+
"should_epoch_stop": false,
|
| 715 |
+
"should_evaluate": false,
|
| 716 |
+
"should_log": false,
|
| 717 |
+
"should_save": true,
|
| 718 |
+
"should_training_stop": true
|
| 719 |
+
},
|
| 720 |
+
"attributes": {}
|
| 721 |
+
}
|
| 722 |
+
},
|
| 723 |
+
"total_flos": 3111777905098752.0,
|
| 724 |
+
"train_batch_size": 1,
|
| 725 |
+
"trial_name": null,
|
| 726 |
+
"trial_params": null
|
| 727 |
+
}
|
checkpoint-66/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11d90e48fffad8a6ebb3bb804054cb6870cb9595177d5a606f4008edb172012b
|
| 3 |
+
size 5649
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|