Instructions to use mindsofchaos/codeoptics-coder-3b-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mindsofchaos/codeoptics-coder-3b-v5 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-3B-Instruct") model = PeftModel.from_pretrained(base_model, "mindsofchaos/codeoptics-coder-3b-v5") - Transformers
How to use mindsofchaos/codeoptics-coder-3b-v5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mindsofchaos/codeoptics-coder-3b-v5") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mindsofchaos/codeoptics-coder-3b-v5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mindsofchaos/codeoptics-coder-3b-v5 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M # Run inference directly in the terminal: llama cli -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M # Run inference directly in the terminal: llama cli -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Use Docker
docker model run hf.co/mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use mindsofchaos/codeoptics-coder-3b-v5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mindsofchaos/codeoptics-coder-3b-v5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mindsofchaos/codeoptics-coder-3b-v5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
- SGLang
How to use mindsofchaos/codeoptics-coder-3b-v5 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 "mindsofchaos/codeoptics-coder-3b-v5" \ --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": "mindsofchaos/codeoptics-coder-3b-v5", "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 "mindsofchaos/codeoptics-coder-3b-v5" \ --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": "mindsofchaos/codeoptics-coder-3b-v5", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use mindsofchaos/codeoptics-coder-3b-v5 with Ollama:
ollama run hf.co/mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
- Unsloth Desktop
- Pi
How to use mindsofchaos/codeoptics-coder-3b-v5 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mindsofchaos/codeoptics-coder-3b-v5 with Docker Model Runner:
docker model run hf.co/mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
- Lemonade
How to use mindsofchaos/codeoptics-coder-3b-v5 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Run and chat with the model
lemonade run user.codeoptics-coder-3b-v5-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use mindsofchaos/codeoptics-coder-3b-v5 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mindsofchaos/codeoptics-coder-3b-v5 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "mindsofchaos/codeoptics-coder-3b-v5:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- README.md +62 -0
- adapter_config.json +51 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +54 -0
- checkpoint-405/README.md +209 -0
- checkpoint-405/adapter_config.json +51 -0
- checkpoint-405/adapter_model.safetensors +3 -0
- checkpoint-405/chat_template.jinja +54 -0
- checkpoint-405/optimizer.pt +3 -0
- checkpoint-405/rng_state.pth +3 -0
- checkpoint-405/scaler.pt +3 -0
- checkpoint-405/scheduler.pt +3 -0
- checkpoint-405/tokenizer.json +3 -0
- checkpoint-405/tokenizer_config.json +30 -0
- checkpoint-405/trainer_state.json +877 -0
- checkpoint-405/training_args.bin +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +30 -0
- training_args.bin +3 -0
- training_meta.json +9 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ 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-405/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-Coder-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
model_name: codeoptics-coder-3b-v5
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen2.5-Coder-3B-Instruct
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
licence: license
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Model Card for codeoptics-coder-3b-v5
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-Coder-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-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_map="auto")
|
| 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.21.3
|
| 42 |
+
- TRL: 1.18.1
|
| 43 |
+
- Transformers: 5.23.0
|
| 44 |
+
- Pytorch: 2.11.0+cu130
|
| 45 |
+
- Datasets: 5.2.0
|
| 46 |
+
- Tokenizers: 0.23.3
|
| 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 and Dirhoussi, Amine},
|
| 58 |
+
license = {Apache-2.0},
|
| 59 |
+
url = {https://github.com/huggingface/trl},
|
| 60 |
+
year = {2020}
|
| 61 |
+
}
|
| 62 |
+
```
|
adapter_config.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-Coder-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 |
+
"kasa_config": null,
|
| 16 |
+
"layer_replication": null,
|
| 17 |
+
"layers_pattern": null,
|
| 18 |
+
"layers_to_transform": null,
|
| 19 |
+
"loftq_config": {},
|
| 20 |
+
"lora_alpha": 32,
|
| 21 |
+
"lora_bias": false,
|
| 22 |
+
"lora_dropout": 0.05,
|
| 23 |
+
"lora_ga_config": null,
|
| 24 |
+
"megatron_config": null,
|
| 25 |
+
"megatron_core": "megatron.core",
|
| 26 |
+
"modules_to_save": null,
|
| 27 |
+
"monteclora_config": null,
|
| 28 |
+
"peft_type": "LORA",
|
| 29 |
+
"peft_version": "0.21.3",
|
| 30 |
+
"qalora_group_size": 16,
|
| 31 |
+
"r": 32,
|
| 32 |
+
"rank_pattern": {},
|
| 33 |
+
"revision": null,
|
| 34 |
+
"target_modules": [
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"k_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"o_proj",
|
| 39 |
+
"down_proj",
|
| 40 |
+
"q_proj",
|
| 41 |
+
"v_proj"
|
| 42 |
+
],
|
| 43 |
+
"target_parameters": null,
|
| 44 |
+
"task_type": "CAUSAL_LM",
|
| 45 |
+
"trainable_token_indices": null,
|
| 46 |
+
"use_bdlora": null,
|
| 47 |
+
"use_dora": false,
|
| 48 |
+
"use_qalora": false,
|
| 49 |
+
"use_rslora": false,
|
| 50 |
+
"velora_config": null
|
| 51 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f55e24c3afbfdc2793634f38371101f461801031cc999eb7064a1eb714202560
|
| 3 |
+
size 239536272
|
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-405/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-Coder-3B-Instruct
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen2.5-Coder-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.21.3
|
checkpoint-405/adapter_config.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-Coder-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 |
+
"kasa_config": null,
|
| 16 |
+
"layer_replication": null,
|
| 17 |
+
"layers_pattern": null,
|
| 18 |
+
"layers_to_transform": null,
|
| 19 |
+
"loftq_config": {},
|
| 20 |
+
"lora_alpha": 32,
|
| 21 |
+
"lora_bias": false,
|
| 22 |
+
"lora_dropout": 0.05,
|
| 23 |
+
"lora_ga_config": null,
|
| 24 |
+
"megatron_config": null,
|
| 25 |
+
"megatron_core": "megatron.core",
|
| 26 |
+
"modules_to_save": null,
|
| 27 |
+
"monteclora_config": null,
|
| 28 |
+
"peft_type": "LORA",
|
| 29 |
+
"peft_version": "0.21.3",
|
| 30 |
+
"qalora_group_size": 16,
|
| 31 |
+
"r": 32,
|
| 32 |
+
"rank_pattern": {},
|
| 33 |
+
"revision": null,
|
| 34 |
+
"target_modules": [
|
| 35 |
+
"gate_proj",
|
| 36 |
+
"k_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"o_proj",
|
| 39 |
+
"down_proj",
|
| 40 |
+
"q_proj",
|
| 41 |
+
"v_proj"
|
| 42 |
+
],
|
| 43 |
+
"target_parameters": null,
|
| 44 |
+
"task_type": "CAUSAL_LM",
|
| 45 |
+
"trainable_token_indices": null,
|
| 46 |
+
"use_bdlora": null,
|
| 47 |
+
"use_dora": false,
|
| 48 |
+
"use_qalora": false,
|
| 49 |
+
"use_rslora": false,
|
| 50 |
+
"velora_config": null
|
| 51 |
+
}
|
checkpoint-405/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f55e24c3afbfdc2793634f38371101f461801031cc999eb7064a1eb714202560
|
| 3 |
+
size 239536272
|
checkpoint-405/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-405/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28b5f8f70dfe32c650eb5e7bf2002bdd249ac7b5c33149b8d18f9bf5189769ba
|
| 3 |
+
size 479370187
|
checkpoint-405/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2dd0698176f9ca01252e811bd60dd61e326eb5502780533fa771bc4968fc3d2b
|
| 3 |
+
size 14645
|
checkpoint-405/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0d95f84b6f724114c0b3e5ce3c22d311fae5eefef765317f74ece995038af1f
|
| 3 |
+
size 1383
|
checkpoint-405/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d51f89f113136050a7f67fce95a2c20e1f57feeaa9887384cc86ed31090dd7a8
|
| 3 |
+
size 1465
|
checkpoint-405/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|
checkpoint-405/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": 32768,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
checkpoint-405/trainer_state.json
ADDED
|
@@ -0,0 +1,877 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": 405,
|
| 3 |
+
"best_metric": 0.017633475363254547,
|
| 4 |
+
"best_model_checkpoint": "adapters/codeoptics-coder-3b-v5/checkpoint-405",
|
| 5 |
+
"epoch": 3.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 405,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 1.565822184085846,
|
| 14 |
+
"epoch": 0.037037037037037035,
|
| 15 |
+
"grad_norm": 0.5403406620025635,
|
| 16 |
+
"learning_rate": 2.4e-05,
|
| 17 |
+
"loss": 2.45123233795166,
|
| 18 |
+
"mean_token_accuracy": 0.5793403267860413,
|
| 19 |
+
"num_tokens": 11694.0,
|
| 20 |
+
"step": 5
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 1.7006611764430999,
|
| 24 |
+
"epoch": 0.07407407407407407,
|
| 25 |
+
"grad_norm": 0.5483595132827759,
|
| 26 |
+
"learning_rate": 5.4000000000000005e-05,
|
| 27 |
+
"loss": 2.33437442779541,
|
| 28 |
+
"mean_token_accuracy": 0.582209300994873,
|
| 29 |
+
"num_tokens": 23160.0,
|
| 30 |
+
"step": 10
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 1.8450955390930175,
|
| 34 |
+
"epoch": 0.1111111111111111,
|
| 35 |
+
"grad_norm": 0.5264711976051331,
|
| 36 |
+
"learning_rate": 8.4e-05,
|
| 37 |
+
"loss": 2.013787841796875,
|
| 38 |
+
"mean_token_accuracy": 0.6200948387384415,
|
| 39 |
+
"num_tokens": 34810.0,
|
| 40 |
+
"step": 15
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 1.6775289833545686,
|
| 44 |
+
"epoch": 0.14814814814814814,
|
| 45 |
+
"grad_norm": 1.2876044511795044,
|
| 46 |
+
"learning_rate": 0.00011399999999999999,
|
| 47 |
+
"loss": 1.4702275276184082,
|
| 48 |
+
"mean_token_accuracy": 0.6920230120420456,
|
| 49 |
+
"num_tokens": 46403.0,
|
| 50 |
+
"step": 20
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 0.9005307212471962,
|
| 54 |
+
"epoch": 0.18518518518518517,
|
| 55 |
+
"grad_norm": 0.5380297899246216,
|
| 56 |
+
"learning_rate": 0.00011996804189888099,
|
| 57 |
+
"loss": 0.6606400489807129,
|
| 58 |
+
"mean_token_accuracy": 0.8447390466928482,
|
| 59 |
+
"num_tokens": 58217.0,
|
| 60 |
+
"step": 25
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 0.33204666823148726,
|
| 64 |
+
"epoch": 0.2222222222222222,
|
| 65 |
+
"grad_norm": 0.3216717541217804,
|
| 66 |
+
"learning_rate": 0.000119838270457791,
|
| 67 |
+
"loss": 0.27447147369384767,
|
| 68 |
+
"mean_token_accuracy": 0.9348172962665557,
|
| 69 |
+
"num_tokens": 69695.0,
|
| 70 |
+
"step": 30
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 0.22328370660543442,
|
| 74 |
+
"epoch": 0.25925925925925924,
|
| 75 |
+
"grad_norm": 0.2484206110239029,
|
| 76 |
+
"learning_rate": 0.00011960890412091301,
|
| 77 |
+
"loss": 0.22512419223785402,
|
| 78 |
+
"mean_token_accuracy": 0.9479029238224029,
|
| 79 |
+
"num_tokens": 81674.0,
|
| 80 |
+
"step": 35
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 0.19873286746442317,
|
| 84 |
+
"epoch": 0.2962962962962963,
|
| 85 |
+
"grad_norm": 0.19593127071857452,
|
| 86 |
+
"learning_rate": 0.0001192803246458788,
|
| 87 |
+
"loss": 0.1957616925239563,
|
| 88 |
+
"mean_token_accuracy": 0.9522120267152786,
|
| 89 |
+
"num_tokens": 93893.0,
|
| 90 |
+
"step": 40
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 0.18650528676807882,
|
| 94 |
+
"epoch": 0.3333333333333333,
|
| 95 |
+
"grad_norm": 0.40185990929603577,
|
| 96 |
+
"learning_rate": 0.00011885307892079729,
|
| 97 |
+
"loss": 0.20835540294647217,
|
| 98 |
+
"mean_token_accuracy": 0.9523905128240585,
|
| 99 |
+
"num_tokens": 106122.0,
|
| 100 |
+
"step": 45
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 0.15161259137094021,
|
| 104 |
+
"epoch": 0.37037037037037035,
|
| 105 |
+
"grad_norm": 0.16066667437553406,
|
| 106 |
+
"learning_rate": 0.00011832787805401336,
|
| 107 |
+
"loss": 0.1287817358970642,
|
| 108 |
+
"mean_token_accuracy": 0.9655880957841874,
|
| 109 |
+
"num_tokens": 118069.0,
|
| 110 |
+
"step": 50
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"entropy": 0.15053805224597455,
|
| 114 |
+
"epoch": 0.4074074074074074,
|
| 115 |
+
"grad_norm": 0.14585353434085846,
|
| 116 |
+
"learning_rate": 0.00011770559619053817,
|
| 117 |
+
"loss": 0.14090813398361207,
|
| 118 |
+
"mean_token_accuracy": 0.9639440953731537,
|
| 119 |
+
"num_tokens": 129471.0,
|
| 120 |
+
"step": 55
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"entropy": 0.09936608709394931,
|
| 124 |
+
"epoch": 0.4444444444444444,
|
| 125 |
+
"grad_norm": 0.2057754099369049,
|
| 126 |
+
"learning_rate": 0.00011698726905712097,
|
| 127 |
+
"loss": 0.09850983023643493,
|
| 128 |
+
"mean_token_accuracy": 0.9733195185661316,
|
| 129 |
+
"num_tokens": 140982.0,
|
| 130 |
+
"step": 60
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"entropy": 0.10234237797558307,
|
| 134 |
+
"epoch": 0.48148148148148145,
|
| 135 |
+
"grad_norm": 0.18433858454227448,
|
| 136 |
+
"learning_rate": 0.00011617409223838424,
|
| 137 |
+
"loss": 0.09683944582939148,
|
| 138 |
+
"mean_token_accuracy": 0.9742834717035294,
|
| 139 |
+
"num_tokens": 153791.0,
|
| 140 |
+
"step": 65
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"entropy": 0.07824690397828818,
|
| 144 |
+
"epoch": 0.5185185185185185,
|
| 145 |
+
"grad_norm": 0.13548970222473145,
|
| 146 |
+
"learning_rate": 0.00011526741918689102,
|
| 147 |
+
"loss": 0.07679080367088317,
|
| 148 |
+
"mean_token_accuracy": 0.9783078134059906,
|
| 149 |
+
"num_tokens": 165817.0,
|
| 150 |
+
"step": 70
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"entropy": 0.08320145066827536,
|
| 154 |
+
"epoch": 0.5555555555555556,
|
| 155 |
+
"grad_norm": 0.15186652541160583,
|
| 156 |
+
"learning_rate": 0.00011426875897045668,
|
| 157 |
+
"loss": 0.08074983954429626,
|
| 158 |
+
"mean_token_accuracy": 0.9779912263154984,
|
| 159 |
+
"num_tokens": 176815.0,
|
| 160 |
+
"step": 75
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"entropy": 0.08174711763858795,
|
| 164 |
+
"epoch": 0.5925925925925926,
|
| 165 |
+
"grad_norm": 0.259741872549057,
|
| 166 |
+
"learning_rate": 0.00011317977376045462,
|
| 167 |
+
"loss": 0.06300960183143615,
|
| 168 |
+
"mean_token_accuracy": 0.9824207067489624,
|
| 169 |
+
"num_tokens": 188605.0,
|
| 170 |
+
"step": 80
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"entropy": 0.0831047541461885,
|
| 174 |
+
"epoch": 0.6296296296296297,
|
| 175 |
+
"grad_norm": 0.15887252986431122,
|
| 176 |
+
"learning_rate": 0.00011200227606529575,
|
| 177 |
+
"loss": 0.07506940960884094,
|
| 178 |
+
"mean_token_accuracy": 0.9780758321285248,
|
| 179 |
+
"num_tokens": 199513.0,
|
| 180 |
+
"step": 85
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"entropy": 0.06736826440319418,
|
| 184 |
+
"epoch": 0.6666666666666666,
|
| 185 |
+
"grad_norm": 0.2369181513786316,
|
| 186 |
+
"learning_rate": 0.00011073822571368744,
|
| 187 |
+
"loss": 0.06144486665725708,
|
| 188 |
+
"mean_token_accuracy": 0.9824140101671219,
|
| 189 |
+
"num_tokens": 210923.0,
|
| 190 |
+
"step": 90
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"entropy": 0.05634280601516366,
|
| 194 |
+
"epoch": 0.7037037037037037,
|
| 195 |
+
"grad_norm": 0.24719209969043732,
|
| 196 |
+
"learning_rate": 0.00010938972659269189,
|
| 197 |
+
"loss": 0.060472726821899414,
|
| 198 |
+
"mean_token_accuracy": 0.9837271720170975,
|
| 199 |
+
"num_tokens": 222787.0,
|
| 200 |
+
"step": 95
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"entropy": 0.07072817357257008,
|
| 204 |
+
"epoch": 0.7407407407407407,
|
| 205 |
+
"grad_norm": 0.14950594305992126,
|
| 206 |
+
"learning_rate": 0.00010795902314601368,
|
| 207 |
+
"loss": 0.051984351873397824,
|
| 208 |
+
"mean_token_accuracy": 0.985470974445343,
|
| 209 |
+
"num_tokens": 234924.0,
|
| 210 |
+
"step": 100
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"entropy": 0.06330697322264314,
|
| 214 |
+
"epoch": 0.7777777777777778,
|
| 215 |
+
"grad_norm": 0.15363340079784393,
|
| 216 |
+
"learning_rate": 0.00010644849663834496,
|
| 217 |
+
"loss": 0.060857027769088745,
|
| 218 |
+
"mean_token_accuracy": 0.9848979711532593,
|
| 219 |
+
"num_tokens": 246456.0,
|
| 220 |
+
"step": 105
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"entropy": 0.04936530189588666,
|
| 224 |
+
"epoch": 0.8148148148148148,
|
| 225 |
+
"grad_norm": 0.13986723124980927,
|
| 226 |
+
"learning_rate": 0.00010486066119198507,
|
| 227 |
+
"loss": 0.032787421345710756,
|
| 228 |
+
"mean_token_accuracy": 0.99012870490551,
|
| 229 |
+
"num_tokens": 258349.0,
|
| 230 |
+
"step": 110
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"entropy": 0.04568654056638479,
|
| 234 |
+
"epoch": 0.8518518518518519,
|
| 235 |
+
"grad_norm": 0.18340961635112762,
|
| 236 |
+
"learning_rate": 0.00010319815960233235,
|
| 237 |
+
"loss": 0.04602453410625458,
|
| 238 |
+
"mean_token_accuracy": 0.9859922111034394,
|
| 239 |
+
"num_tokens": 269840.0,
|
| 240 |
+
"step": 115
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"entropy": 0.04834917709231377,
|
| 244 |
+
"epoch": 0.8888888888888888,
|
| 245 |
+
"grad_norm": 0.3293381929397583,
|
| 246 |
+
"learning_rate": 0.00010146375893921189,
|
| 247 |
+
"loss": 0.04292893707752228,
|
| 248 |
+
"mean_token_accuracy": 0.9876560688018798,
|
| 249 |
+
"num_tokens": 281775.0,
|
| 250 |
+
"step": 120
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"entropy": 0.04007941922172904,
|
| 254 |
+
"epoch": 0.9259259259259259,
|
| 255 |
+
"grad_norm": 0.07845436036586761,
|
| 256 |
+
"learning_rate": 9.966034594136088e-05,
|
| 257 |
+
"loss": 0.027235734462738036,
|
| 258 |
+
"mean_token_accuracy": 0.9918505012989044,
|
| 259 |
+
"num_tokens": 294019.0,
|
| 260 |
+
"step": 125
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"entropy": 0.035360564338043333,
|
| 264 |
+
"epoch": 0.9629629629629629,
|
| 265 |
+
"grad_norm": 0.12564261257648468,
|
| 266 |
+
"learning_rate": 9.779092221173693e-05,
|
| 267 |
+
"loss": 0.031424480676651004,
|
| 268 |
+
"mean_token_accuracy": 0.991526848077774,
|
| 269 |
+
"num_tokens": 306153.0,
|
| 270 |
+
"step": 130
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"entropy": 0.04177192095667124,
|
| 274 |
+
"epoch": 1.0,
|
| 275 |
+
"grad_norm": 0.10918562859296799,
|
| 276 |
+
"learning_rate": 9.585859922164614e-05,
|
| 277 |
+
"loss": 0.042234611511230466,
|
| 278 |
+
"mean_token_accuracy": 0.987271249294281,
|
| 279 |
+
"num_tokens": 317434.0,
|
| 280 |
+
"step": 135
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"epoch": 1.0,
|
| 284 |
+
"eval_entropy": 0.03486363682895899,
|
| 285 |
+
"eval_loss": 0.0344783216714859,
|
| 286 |
+
"eval_mean_token_accuracy": 0.9901577085256577,
|
| 287 |
+
"eval_num_tokens": 317434.0,
|
| 288 |
+
"eval_runtime": 21.5934,
|
| 289 |
+
"eval_samples_per_second": 2.825,
|
| 290 |
+
"eval_steps_per_second": 0.37,
|
| 291 |
+
"step": 135
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"entropy": 0.02738695344887674,
|
| 295 |
+
"epoch": 1.037037037037037,
|
| 296 |
+
"grad_norm": 0.1941111981868744,
|
| 297 |
+
"learning_rate": 9.386659313200617e-05,
|
| 298 |
+
"loss": 0.02262488305568695,
|
| 299 |
+
"mean_token_accuracy": 0.9927230477333069,
|
| 300 |
+
"num_tokens": 329934.0,
|
| 301 |
+
"step": 140
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"entropy": 0.03556588082574308,
|
| 305 |
+
"epoch": 1.074074074074074,
|
| 306 |
+
"grad_norm": 0.08918816596269608,
|
| 307 |
+
"learning_rate": 9.181821944036377e-05,
|
| 308 |
+
"loss": 0.029541340470314027,
|
| 309 |
+
"mean_token_accuracy": 0.9909862071275711,
|
| 310 |
+
"num_tokens": 341340.0,
|
| 311 |
+
"step": 145
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"entropy": 0.03869956005364657,
|
| 315 |
+
"epoch": 1.1111111111111112,
|
| 316 |
+
"grad_norm": 0.11529859155416489,
|
| 317 |
+
"learning_rate": 8.971688746257643e-05,
|
| 318 |
+
"loss": 0.03130730390548706,
|
| 319 |
+
"mean_token_accuracy": 0.9915205389261246,
|
| 320 |
+
"num_tokens": 352258.0,
|
| 321 |
+
"step": 150
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"entropy": 0.033127557439729574,
|
| 325 |
+
"epoch": 1.1481481481481481,
|
| 326 |
+
"grad_norm": 0.11719546467065811,
|
| 327 |
+
"learning_rate": 8.756609465834247e-05,
|
| 328 |
+
"loss": 0.027328357100486755,
|
| 329 |
+
"mean_token_accuracy": 0.9920252948999405,
|
| 330 |
+
"num_tokens": 363366.0,
|
| 331 |
+
"step": 155
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"entropy": 0.02724163541570306,
|
| 335 |
+
"epoch": 1.1851851851851851,
|
| 336 |
+
"grad_norm": 0.13734927773475647,
|
| 337 |
+
"learning_rate": 8.536942081002458e-05,
|
| 338 |
+
"loss": 0.01805514991283417,
|
| 339 |
+
"mean_token_accuracy": 0.9940120458602906,
|
| 340 |
+
"num_tokens": 375355.0,
|
| 341 |
+
"step": 160
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"entropy": 0.024101035995408894,
|
| 345 |
+
"epoch": 1.2222222222222223,
|
| 346 |
+
"grad_norm": 0.09833049774169922,
|
| 347 |
+
"learning_rate": 8.313052206445537e-05,
|
| 348 |
+
"loss": 0.020745748281478883,
|
| 349 |
+
"mean_token_accuracy": 0.9928192019462585,
|
| 350 |
+
"num_tokens": 387249.0,
|
| 351 |
+
"step": 165
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"entropy": 0.025682222004979847,
|
| 355 |
+
"epoch": 1.2592592592592593,
|
| 356 |
+
"grad_norm": 0.0961751639842987,
|
| 357 |
+
"learning_rate": 8.085312484764182e-05,
|
| 358 |
+
"loss": 0.07190865874290467,
|
| 359 |
+
"mean_token_accuracy": 0.9875553280115128,
|
| 360 |
+
"num_tokens": 399300.0,
|
| 361 |
+
"step": 170
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"entropy": 0.04264706941321492,
|
| 365 |
+
"epoch": 1.2962962962962963,
|
| 366 |
+
"grad_norm": 0.13578034937381744,
|
| 367 |
+
"learning_rate": 7.854101966249684e-05,
|
| 368 |
+
"loss": 0.02366093695163727,
|
| 369 |
+
"mean_token_accuracy": 0.9940260708332062,
|
| 370 |
+
"num_tokens": 411556.0,
|
| 371 |
+
"step": 175
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"entropy": 0.06220883633941412,
|
| 375 |
+
"epoch": 1.3333333333333333,
|
| 376 |
+
"grad_norm": 0.20384126901626587,
|
| 377 |
+
"learning_rate": 7.619805477992142e-05,
|
| 378 |
+
"loss": 0.04640635848045349,
|
| 379 |
+
"mean_token_accuracy": 0.9899013251066208,
|
| 380 |
+
"num_tokens": 423996.0,
|
| 381 |
+
"step": 180
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"entropy": 0.043295564223080875,
|
| 385 |
+
"epoch": 1.3703703703703702,
|
| 386 |
+
"grad_norm": 0.15128712356090546,
|
| 387 |
+
"learning_rate": 7.382812983373733e-05,
|
| 388 |
+
"loss": 0.029296672344207762,
|
| 389 |
+
"mean_token_accuracy": 0.992077785730362,
|
| 390 |
+
"num_tokens": 435518.0,
|
| 391 |
+
"step": 185
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"entropy": 0.043108578445389865,
|
| 395 |
+
"epoch": 1.4074074074074074,
|
| 396 |
+
"grad_norm": 0.11903570592403412,
|
| 397 |
+
"learning_rate": 7.143518933013158e-05,
|
| 398 |
+
"loss": 0.036831405758857724,
|
| 399 |
+
"mean_token_accuracy": 0.9891063272953033,
|
| 400 |
+
"num_tokens": 446677.0,
|
| 401 |
+
"step": 190
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"entropy": 0.03183741355314851,
|
| 405 |
+
"epoch": 1.4444444444444444,
|
| 406 |
+
"grad_norm": 0.10164694488048553,
|
| 407 |
+
"learning_rate": 6.902321608241511e-05,
|
| 408 |
+
"loss": 0.028231596946716307,
|
| 409 |
+
"mean_token_accuracy": 0.9920115739107132,
|
| 410 |
+
"num_tokens": 457751.0,
|
| 411 |
+
"step": 195
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"entropy": 0.029331148881465197,
|
| 415 |
+
"epoch": 1.4814814814814814,
|
| 416 |
+
"grad_norm": 0.10179842263460159,
|
| 417 |
+
"learning_rate": 6.659622458202313e-05,
|
| 418 |
+
"loss": 0.05093961954116821,
|
| 419 |
+
"mean_token_accuracy": 0.9899779498577118,
|
| 420 |
+
"num_tokens": 469718.0,
|
| 421 |
+
"step": 200
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"entropy": 0.028726924024522305,
|
| 425 |
+
"epoch": 1.5185185185185186,
|
| 426 |
+
"grad_norm": 0.07060033828020096,
|
| 427 |
+
"learning_rate": 6.415825431679027e-05,
|
| 428 |
+
"loss": 0.02026405483484268,
|
| 429 |
+
"mean_token_accuracy": 0.9932345747947693,
|
| 430 |
+
"num_tokens": 481002.0,
|
| 431 |
+
"step": 205
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"entropy": 0.028702672850340605,
|
| 435 |
+
"epoch": 1.5555555555555556,
|
| 436 |
+
"grad_norm": 0.10019222646951675,
|
| 437 |
+
"learning_rate": 6.171336304762177e-05,
|
| 438 |
+
"loss": 0.022156040370464324,
|
| 439 |
+
"mean_token_accuracy": 0.992090979218483,
|
| 440 |
+
"num_tokens": 492358.0,
|
| 441 |
+
"step": 210
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"entropy": 0.03079746402800083,
|
| 445 |
+
"epoch": 1.5925925925925926,
|
| 446 |
+
"grad_norm": 0.12455855309963226,
|
| 447 |
+
"learning_rate": 5.9265620054750894e-05,
|
| 448 |
+
"loss": 0.025223690271377563,
|
| 449 |
+
"mean_token_accuracy": 0.991818904876709,
|
| 450 |
+
"num_tokens": 504532.0,
|
| 451 |
+
"step": 215
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"entropy": 0.025136778503656386,
|
| 455 |
+
"epoch": 1.6296296296296298,
|
| 456 |
+
"grad_norm": 0.05858968570828438,
|
| 457 |
+
"learning_rate": 5.681909936482352e-05,
|
| 458 |
+
"loss": 0.014613455533981324,
|
| 459 |
+
"mean_token_accuracy": 0.9954995334148407,
|
| 460 |
+
"num_tokens": 516398.0,
|
| 461 |
+
"step": 220
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"entropy": 0.02275953588541597,
|
| 465 |
+
"epoch": 1.6666666666666665,
|
| 466 |
+
"grad_norm": 0.04841729998588562,
|
| 467 |
+
"learning_rate": 5.4377872970082965e-05,
|
| 468 |
+
"loss": 0.019071631133556366,
|
| 469 |
+
"mean_token_accuracy": 0.9940439134836196,
|
| 470 |
+
"num_tokens": 528185.0,
|
| 471 |
+
"step": 225
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"entropy": 0.02200131481513381,
|
| 475 |
+
"epoch": 1.7037037037037037,
|
| 476 |
+
"grad_norm": 0.22355793416500092,
|
| 477 |
+
"learning_rate": 5.1946004050940695e-05,
|
| 478 |
+
"loss": 0.023459078371524812,
|
| 479 |
+
"mean_token_accuracy": 0.9931194931268692,
|
| 480 |
+
"num_tokens": 539769.0,
|
| 481 |
+
"step": 230
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"entropy": 0.020356427505612375,
|
| 485 |
+
"epoch": 1.7407407407407407,
|
| 486 |
+
"grad_norm": 0.058030445128679276,
|
| 487 |
+
"learning_rate": 4.952754021321347e-05,
|
| 488 |
+
"loss": 0.017044633626937866,
|
| 489 |
+
"mean_token_accuracy": 0.9935435086488724,
|
| 490 |
+
"num_tokens": 551795.0,
|
| 491 |
+
"step": 235
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"entropy": 0.026314255222678183,
|
| 495 |
+
"epoch": 1.7777777777777777,
|
| 496 |
+
"grad_norm": 0.20818936824798584,
|
| 497 |
+
"learning_rate": 4.712650675128304e-05,
|
| 498 |
+
"loss": 0.0228676900267601,
|
| 499 |
+
"mean_token_accuracy": 0.9921791225671768,
|
| 500 |
+
"num_tokens": 562957.0,
|
| 501 |
+
"step": 240
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"entropy": 0.022862236388027667,
|
| 505 |
+
"epoch": 1.8148148148148149,
|
| 506 |
+
"grad_norm": 0.10002370923757553,
|
| 507 |
+
"learning_rate": 4.47468999483908e-05,
|
| 508 |
+
"loss": 0.02041718512773514,
|
| 509 |
+
"mean_token_accuracy": 0.9938913494348526,
|
| 510 |
+
"num_tokens": 574502.0,
|
| 511 |
+
"step": 245
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"entropy": 0.016790922870859502,
|
| 515 |
+
"epoch": 1.8518518518518519,
|
| 516 |
+
"grad_norm": 0.0550544299185276,
|
| 517 |
+
"learning_rate": 4.239268042521873e-05,
|
| 518 |
+
"loss": 0.012437263131141662,
|
| 519 |
+
"mean_token_accuracy": 0.9951070278882981,
|
| 520 |
+
"num_tokens": 586811.0,
|
| 521 |
+
"step": 250
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"entropy": 0.016522265132516624,
|
| 525 |
+
"epoch": 1.8888888888888888,
|
| 526 |
+
"grad_norm": 0.06232566758990288,
|
| 527 |
+
"learning_rate": 4.00677665478272e-05,
|
| 528 |
+
"loss": 0.011668998748064041,
|
| 529 |
+
"mean_token_accuracy": 0.9955484867095947,
|
| 530 |
+
"num_tokens": 599300.0,
|
| 531 |
+
"step": 255
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"entropy": 0.018748187366873025,
|
| 535 |
+
"epoch": 1.925925925925926,
|
| 536 |
+
"grad_norm": 0.06504185497760773,
|
| 537 |
+
"learning_rate": 3.777602790592134e-05,
|
| 538 |
+
"loss": 0.017984168231487276,
|
| 539 |
+
"mean_token_accuracy": 0.9940858900547027,
|
| 540 |
+
"num_tokens": 611110.0,
|
| 541 |
+
"step": 260
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"entropy": 0.017865141620859504,
|
| 545 |
+
"epoch": 1.9629629629629628,
|
| 546 |
+
"grad_norm": 0.06499379128217697,
|
| 547 |
+
"learning_rate": 3.5521278872300795e-05,
|
| 548 |
+
"loss": 0.016649360954761504,
|
| 549 |
+
"mean_token_accuracy": 0.99436714053154,
|
| 550 |
+
"num_tokens": 622721.0,
|
| 551 |
+
"step": 265
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"entropy": 0.018701449153013527,
|
| 555 |
+
"epoch": 2.0,
|
| 556 |
+
"grad_norm": 0.08233848959207535,
|
| 557 |
+
"learning_rate": 3.330727225421275e-05,
|
| 558 |
+
"loss": 0.016060291230678557,
|
| 559 |
+
"mean_token_accuracy": 0.9938223898410797,
|
| 560 |
+
"num_tokens": 634868.0,
|
| 561 |
+
"step": 270
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"epoch": 2.0,
|
| 565 |
+
"eval_entropy": 0.019374949391931295,
|
| 566 |
+
"eval_loss": 0.019307320937514305,
|
| 567 |
+
"eval_mean_token_accuracy": 0.9943541213870049,
|
| 568 |
+
"eval_num_tokens": 634868.0,
|
| 569 |
+
"eval_runtime": 21.6042,
|
| 570 |
+
"eval_samples_per_second": 2.824,
|
| 571 |
+
"eval_steps_per_second": 0.37,
|
| 572 |
+
"step": 270
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"entropy": 0.02155592639464885,
|
| 576 |
+
"epoch": 2.037037037037037,
|
| 577 |
+
"grad_norm": 0.057472191751003265,
|
| 578 |
+
"learning_rate": 3.113769304717453e-05,
|
| 579 |
+
"loss": 0.01684061735868454,
|
| 580 |
+
"mean_token_accuracy": 0.994311398267746,
|
| 581 |
+
"num_tokens": 646316.0,
|
| 582 |
+
"step": 275
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"entropy": 0.01509386943653226,
|
| 586 |
+
"epoch": 2.074074074074074,
|
| 587 |
+
"grad_norm": 0.06480696052312851,
|
| 588 |
+
"learning_rate": 2.901615230166229e-05,
|
| 589 |
+
"loss": 0.012962163984775543,
|
| 590 |
+
"mean_token_accuracy": 0.995723757147789,
|
| 591 |
+
"num_tokens": 658046.0,
|
| 592 |
+
"step": 280
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"entropy": 0.01534039033576846,
|
| 596 |
+
"epoch": 2.111111111111111,
|
| 597 |
+
"grad_norm": 0.06332972645759583,
|
| 598 |
+
"learning_rate": 2.6946181112873856e-05,
|
| 599 |
+
"loss": 0.012182521820068359,
|
| 600 |
+
"mean_token_accuracy": 0.995614492893219,
|
| 601 |
+
"num_tokens": 670513.0,
|
| 602 |
+
"step": 285
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"entropy": 0.017340931994840502,
|
| 606 |
+
"epoch": 2.148148148148148,
|
| 607 |
+
"grad_norm": 0.14980252087116241,
|
| 608 |
+
"learning_rate": 2.4931224743569226e-05,
|
| 609 |
+
"loss": 0.016481110453605653,
|
| 610 |
+
"mean_token_accuracy": 0.9945826053619384,
|
| 611 |
+
"num_tokens": 682186.0,
|
| 612 |
+
"step": 290
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"entropy": 0.015872284304350615,
|
| 616 |
+
"epoch": 2.185185185185185,
|
| 617 |
+
"grad_norm": 0.06532690674066544,
|
| 618 |
+
"learning_rate": 2.2974636889770757e-05,
|
| 619 |
+
"loss": 0.013028515875339508,
|
| 620 |
+
"mean_token_accuracy": 0.9951453268527984,
|
| 621 |
+
"num_tokens": 693908.0,
|
| 622 |
+
"step": 295
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"entropy": 0.01956442976370454,
|
| 626 |
+
"epoch": 2.2222222222222223,
|
| 627 |
+
"grad_norm": 0.10309786349534988,
|
| 628 |
+
"learning_rate": 2.1079674098867064e-05,
|
| 629 |
+
"loss": 0.014946073293685913,
|
| 630 |
+
"mean_token_accuracy": 0.9947664886713028,
|
| 631 |
+
"num_tokens": 705690.0,
|
| 632 |
+
"step": 300
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"entropy": 0.017685536365024745,
|
| 636 |
+
"epoch": 2.259259259259259,
|
| 637 |
+
"grad_norm": 0.0740559920668602,
|
| 638 |
+
"learning_rate": 1.9249490349411315e-05,
|
| 639 |
+
"loss": 0.013208051025867463,
|
| 640 |
+
"mean_token_accuracy": 0.995546680688858,
|
| 641 |
+
"num_tokens": 716781.0,
|
| 642 |
+
"step": 305
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"entropy": 0.01590444380417466,
|
| 646 |
+
"epoch": 2.2962962962962963,
|
| 647 |
+
"grad_norm": 0.06235004961490631,
|
| 648 |
+
"learning_rate": 1.7487131801635165e-05,
|
| 649 |
+
"loss": 0.016349935531616212,
|
| 650 |
+
"mean_token_accuracy": 0.9946348041296005,
|
| 651 |
+
"num_tokens": 729081.0,
|
| 652 |
+
"step": 310
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"entropy": 0.018743232218548657,
|
| 656 |
+
"epoch": 2.3333333333333335,
|
| 657 |
+
"grad_norm": 0.05309706926345825,
|
| 658 |
+
"learning_rate": 1.5795531727415696e-05,
|
| 659 |
+
"loss": 0.017263706028461456,
|
| 660 |
+
"mean_token_accuracy": 0.9948439329862595,
|
| 661 |
+
"num_tokens": 740985.0,
|
| 662 |
+
"step": 315
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"entropy": 0.014778027543798089,
|
| 666 |
+
"epoch": 2.3703703703703702,
|
| 667 |
+
"grad_norm": 0.05630950629711151,
|
| 668 |
+
"learning_rate": 1.4177505628133853e-05,
|
| 669 |
+
"loss": 0.011116426438093185,
|
| 670 |
+
"mean_token_accuracy": 0.9958865851163864,
|
| 671 |
+
"num_tokens": 753485.0,
|
| 672 |
+
"step": 320
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"entropy": 0.01744624492712319,
|
| 676 |
+
"epoch": 2.4074074074074074,
|
| 677 |
+
"grad_norm": 0.05639888346195221,
|
| 678 |
+
"learning_rate": 1.263574654855024e-05,
|
| 679 |
+
"loss": 0.014885461330413819,
|
| 680 |
+
"mean_token_accuracy": 0.994651734828949,
|
| 681 |
+
"num_tokens": 765122.0,
|
| 682 |
+
"step": 325
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"entropy": 0.017501220339909196,
|
| 686 |
+
"epoch": 2.4444444444444446,
|
| 687 |
+
"grad_norm": 0.08697295188903809,
|
| 688 |
+
"learning_rate": 1.1172820594497901e-05,
|
| 689 |
+
"loss": 0.013951601088047027,
|
| 690 |
+
"mean_token_accuracy": 0.9949617445468902,
|
| 691 |
+
"num_tokens": 776618.0,
|
| 692 |
+
"step": 330
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"entropy": 0.01680045130196959,
|
| 696 |
+
"epoch": 2.4814814814814814,
|
| 697 |
+
"grad_norm": 0.05513456091284752,
|
| 698 |
+
"learning_rate": 9.791162661852442e-06,
|
| 699 |
+
"loss": 0.01489269733428955,
|
| 700 |
+
"mean_token_accuracy": 0.994612592458725,
|
| 701 |
+
"num_tokens": 788791.0,
|
| 702 |
+
"step": 335
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"entropy": 0.01680692876689136,
|
| 706 |
+
"epoch": 2.5185185185185186,
|
| 707 |
+
"grad_norm": 0.06185922026634216,
|
| 708 |
+
"learning_rate": 8.493072383888034e-06,
|
| 709 |
+
"loss": 0.013630254566669464,
|
| 710 |
+
"mean_token_accuracy": 0.9946611434221267,
|
| 711 |
+
"num_tokens": 800102.0,
|
| 712 |
+
"step": 340
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"entropy": 0.015487593668513,
|
| 716 |
+
"epoch": 2.5555555555555554,
|
| 717 |
+
"grad_norm": 0.06586004048585892,
|
| 718 |
+
"learning_rate": 7.280710303764937e-06,
|
| 719 |
+
"loss": 0.011636995524168015,
|
| 720 |
+
"mean_token_accuracy": 0.9955793589353561,
|
| 721 |
+
"num_tokens": 812420.0,
|
| 722 |
+
"step": 345
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"entropy": 0.0172795913182199,
|
| 726 |
+
"epoch": 2.5925925925925926,
|
| 727 |
+
"grad_norm": 0.06730081886053085,
|
| 728 |
+
"learning_rate": 6.156094278518507e-06,
|
| 729 |
+
"loss": 0.01407027691602707,
|
| 730 |
+
"mean_token_accuracy": 0.9952077627182007,
|
| 731 |
+
"num_tokens": 823717.0,
|
| 732 |
+
"step": 350
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"entropy": 0.018330952199175955,
|
| 736 |
+
"epoch": 2.6296296296296298,
|
| 737 |
+
"grad_norm": 0.07894337177276611,
|
| 738 |
+
"learning_rate": 5.12109612053534e-06,
|
| 739 |
+
"loss": 0.015743912756443025,
|
| 740 |
+
"mean_token_accuracy": 0.9947955369949341,
|
| 741 |
+
"num_tokens": 834850.0,
|
| 742 |
+
"step": 355
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"entropy": 0.033022188139148055,
|
| 746 |
+
"epoch": 2.6666666666666665,
|
| 747 |
+
"grad_norm": 0.07171186059713364,
|
| 748 |
+
"learning_rate": 4.177438482106297e-06,
|
| 749 |
+
"loss": 0.04255123436450958,
|
| 750 |
+
"mean_token_accuracy": 0.9895174443721771,
|
| 751 |
+
"num_tokens": 847365.0,
|
| 752 |
+
"step": 360
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"entropy": 0.02138599450699985,
|
| 756 |
+
"epoch": 2.7037037037037037,
|
| 757 |
+
"grad_norm": 0.051539305597543716,
|
| 758 |
+
"learning_rate": 3.3266919882417678e-06,
|
| 759 |
+
"loss": 0.027178192138671876,
|
| 760 |
+
"mean_token_accuracy": 0.9935393989086151,
|
| 761 |
+
"num_tokens": 860045.0,
|
| 762 |
+
"step": 365
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"entropy": 0.01952979280613363,
|
| 766 |
+
"epoch": 2.7407407407407405,
|
| 767 |
+
"grad_norm": 0.05689714476466179,
|
| 768 |
+
"learning_rate": 2.5702726225213147e-06,
|
| 769 |
+
"loss": 0.01648416221141815,
|
| 770 |
+
"mean_token_accuracy": 0.9942891150712967,
|
| 771 |
+
"num_tokens": 871245.0,
|
| 772 |
+
"step": 370
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"entropy": 0.015890083578415214,
|
| 776 |
+
"epoch": 2.7777777777777777,
|
| 777 |
+
"grad_norm": 0.0873027816414833,
|
| 778 |
+
"learning_rate": 1.909439370328796e-06,
|
| 779 |
+
"loss": 0.01425819844007492,
|
| 780 |
+
"mean_token_accuracy": 0.9948883861303329,
|
| 781 |
+
"num_tokens": 883103.0,
|
| 782 |
+
"step": 375
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"entropy": 0.01853708759881556,
|
| 786 |
+
"epoch": 2.814814814814815,
|
| 787 |
+
"grad_norm": 0.14816772937774658,
|
| 788 |
+
"learning_rate": 1.3452921233953985e-06,
|
| 789 |
+
"loss": 0.015130621194839478,
|
| 790 |
+
"mean_token_accuracy": 0.9951243221759796,
|
| 791 |
+
"num_tokens": 893898.0,
|
| 792 |
+
"step": 380
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"entropy": 0.014458014210686088,
|
| 796 |
+
"epoch": 2.851851851851852,
|
| 797 |
+
"grad_norm": 0.11607185751199722,
|
| 798 |
+
"learning_rate": 8.78769849138421e-07,
|
| 799 |
+
"loss": 0.014292967319488526,
|
| 800 |
+
"mean_token_accuracy": 0.9954265356063843,
|
| 801 |
+
"num_tokens": 905451.0,
|
| 802 |
+
"step": 385
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"entropy": 0.01705155975650996,
|
| 806 |
+
"epoch": 2.888888888888889,
|
| 807 |
+
"grad_norm": 0.0515853650867939,
|
| 808 |
+
"learning_rate": 5.106490278426734e-07,
|
| 809 |
+
"loss": 0.013103468716144562,
|
| 810 |
+
"mean_token_accuracy": 0.9956641614437103,
|
| 811 |
+
"num_tokens": 917065.0,
|
| 812 |
+
"step": 390
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"entropy": 0.01840896802023053,
|
| 816 |
+
"epoch": 2.925925925925926,
|
| 817 |
+
"grad_norm": 0.04991859942674637,
|
| 818 |
+
"learning_rate": 2.415423602856559e-07,
|
| 819 |
+
"loss": 0.018856780230998994,
|
| 820 |
+
"mean_token_accuracy": 0.9939174085855484,
|
| 821 |
+
"num_tokens": 928469.0,
|
| 822 |
+
"step": 395
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"entropy": 0.015360000496730208,
|
| 826 |
+
"epoch": 2.962962962962963,
|
| 827 |
+
"grad_norm": 0.06383562833070755,
|
| 828 |
+
"learning_rate": 7.189774795761884e-08,
|
| 829 |
+
"loss": 0.01126081943511963,
|
| 830 |
+
"mean_token_accuracy": 0.9956120908260345,
|
| 831 |
+
"num_tokens": 940925.0,
|
| 832 |
+
"step": 400
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"entropy": 0.016484463680535556,
|
| 836 |
+
"epoch": 3.0,
|
| 837 |
+
"grad_norm": 0.057360079139471054,
|
| 838 |
+
"learning_rate": 1.997547573691083e-09,
|
| 839 |
+
"loss": 0.012695969641208648,
|
| 840 |
+
"mean_token_accuracy": 0.9950952470302582,
|
| 841 |
+
"num_tokens": 952302.0,
|
| 842 |
+
"step": 405
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"epoch": 3.0,
|
| 846 |
+
"eval_entropy": 0.017510844860225916,
|
| 847 |
+
"eval_loss": 0.017633475363254547,
|
| 848 |
+
"eval_mean_token_accuracy": 0.9942200407385826,
|
| 849 |
+
"eval_num_tokens": 952302.0,
|
| 850 |
+
"eval_runtime": 21.5769,
|
| 851 |
+
"eval_samples_per_second": 2.827,
|
| 852 |
+
"eval_steps_per_second": 0.371,
|
| 853 |
+
"step": 405
|
| 854 |
+
}
|
| 855 |
+
],
|
| 856 |
+
"logging_steps": 5,
|
| 857 |
+
"max_steps": 405,
|
| 858 |
+
"num_input_tokens_seen": 0,
|
| 859 |
+
"num_train_epochs": 3,
|
| 860 |
+
"save_steps": 500,
|
| 861 |
+
"stateful_callbacks": {
|
| 862 |
+
"TrainerControl": {
|
| 863 |
+
"args": {
|
| 864 |
+
"should_epoch_stop": false,
|
| 865 |
+
"should_evaluate": false,
|
| 866 |
+
"should_log": false,
|
| 867 |
+
"should_save": true,
|
| 868 |
+
"should_training_stop": true
|
| 869 |
+
},
|
| 870 |
+
"attributes": {}
|
| 871 |
+
}
|
| 872 |
+
},
|
| 873 |
+
"total_flos": 1.6196605167255552e+16,
|
| 874 |
+
"train_batch_size": 1,
|
| 875 |
+
"trial_name": null,
|
| 876 |
+
"trial_params": null
|
| 877 |
+
}
|
checkpoint-405/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a31f862b4019777b33a00484616b27bc101078b6c08f99eee1c2e5dacc927c3
|
| 3 |
+
size 5841
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|
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": 32768,
|
| 26 |
+
"pad_token": "<|endoftext|>",
|
| 27 |
+
"split_special_tokens": false,
|
| 28 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 29 |
+
"unk_token": null
|
| 30 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a31f862b4019777b33a00484616b27bc101078b6c08f99eee1c2e5dacc927c3
|
| 3 |
+
size 5841
|
training_meta.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"train_loss": 0.15034354008090348,
|
| 3 |
+
"train_runtime_sec": 2018.3794,
|
| 4 |
+
"train_samples_per_second": 0.803,
|
| 5 |
+
"epoch": 3,
|
| 6 |
+
"learning_rate": 0.00012,
|
| 7 |
+
"lora_r": 32,
|
| 8 |
+
"lora_alpha": 32
|
| 9 |
+
}
|