Text Generation
PEFT
Safetensors
Transformers
qwen3
axolotl
lora
conversational
text-generation-inference
Instructions to use AutomatedScientist/qwen3-8b-persistent-navigation-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AutomatedScientist/qwen3-8b-persistent-navigation-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B") model = PeftModel.from_pretrained(base_model, "AutomatedScientist/qwen3-8b-persistent-navigation-lora") - Transformers
How to use AutomatedScientist/qwen3-8b-persistent-navigation-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AutomatedScientist/qwen3-8b-persistent-navigation-lora") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AutomatedScientist/qwen3-8b-persistent-navigation-lora") model = AutoModelForCausalLM.from_pretrained("AutomatedScientist/qwen3-8b-persistent-navigation-lora") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AutomatedScientist/qwen3-8b-persistent-navigation-lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AutomatedScientist/qwen3-8b-persistent-navigation-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": "AutomatedScientist/qwen3-8b-persistent-navigation-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AutomatedScientist/qwen3-8b-persistent-navigation-lora
- SGLang
How to use AutomatedScientist/qwen3-8b-persistent-navigation-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 "AutomatedScientist/qwen3-8b-persistent-navigation-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": "AutomatedScientist/qwen3-8b-persistent-navigation-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 "AutomatedScientist/qwen3-8b-persistent-navigation-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": "AutomatedScientist/qwen3-8b-persistent-navigation-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use AutomatedScientist/qwen3-8b-persistent-navigation-lora with Docker Model Runner:
docker model run hf.co/AutomatedScientist/qwen3-8b-persistent-navigation-lora
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +4 -0
- README.md +148 -0
- adapter_config.json +46 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +28 -0
- axolotl_config.yaml +59 -0
- chat_template.jinja +89 -0
- checkpoint-15/README.md +208 -0
- checkpoint-15/adapter_config.json +46 -0
- checkpoint-15/adapter_model.safetensors +3 -0
- checkpoint-15/added_tokens.json +28 -0
- checkpoint-15/chat_template.jinja +89 -0
- checkpoint-15/merges.txt +0 -0
- checkpoint-15/optimizer.pt +3 -0
- checkpoint-15/rng_state_0.pth +3 -0
- checkpoint-15/rng_state_1.pth +3 -0
- checkpoint-15/rng_state_2.pth +3 -0
- checkpoint-15/rng_state_3.pth +3 -0
- checkpoint-15/scheduler.pt +3 -0
- checkpoint-15/special_tokens_map.json +31 -0
- checkpoint-15/tokenizer.json +3 -0
- checkpoint-15/tokenizer_config.json +239 -0
- checkpoint-15/tokens_state. +1 -0
- checkpoint-15/trainer_state.json +292 -0
- checkpoint-15/training_args.bin +3 -0
- checkpoint-15/vocab.json +0 -0
- checkpoint-30/README.md +208 -0
- checkpoint-30/adapter_config.json +46 -0
- checkpoint-30/adapter_model.safetensors +3 -0
- checkpoint-30/added_tokens.json +28 -0
- checkpoint-30/chat_template.jinja +89 -0
- checkpoint-30/merges.txt +0 -0
- checkpoint-30/optimizer.pt +3 -0
- checkpoint-30/rng_state_0.pth +3 -0
- checkpoint-30/rng_state_1.pth +3 -0
- checkpoint-30/rng_state_2.pth +3 -0
- checkpoint-30/rng_state_3.pth +3 -0
- checkpoint-30/scheduler.pt +3 -0
- checkpoint-30/special_tokens_map.json +31 -0
- checkpoint-30/tokenizer.json +3 -0
- checkpoint-30/tokenizer_config.json +239 -0
- checkpoint-30/tokens_state. +1 -0
- checkpoint-30/trainer_state.json +538 -0
- checkpoint-30/training_args.bin +3 -0
- checkpoint-30/vocab.json +0 -0
- checkpoint-45/README.md +208 -0
- checkpoint-45/adapter_config.json +46 -0
- checkpoint-45/adapter_model.safetensors +3 -0
- checkpoint-45/added_tokens.json +28 -0
- checkpoint-45/chat_template.jinja +89 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,7 @@ 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-15/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
checkpoint-30/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
checkpoint-45/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
base_model: Qwen/Qwen3-8B
|
| 4 |
+
tags:
|
| 5 |
+
- axolotl
|
| 6 |
+
- base_model:adapter:Qwen/Qwen3-8B
|
| 7 |
+
- lora
|
| 8 |
+
- transformers
|
| 9 |
+
pipeline_tag: text-generation
|
| 10 |
+
model-index:
|
| 11 |
+
- name: out/qwen3-8b-persistent-navigation-20260525_121743
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
| 19 |
+
<details><summary>See axolotl config</summary>
|
| 20 |
+
|
| 21 |
+
axolotl version: `0.13.2`
|
| 22 |
+
```yaml
|
| 23 |
+
adapter: lora
|
| 24 |
+
base_model: Qwen/Qwen3-8B
|
| 25 |
+
bf16: true
|
| 26 |
+
bnb_4bit_compute_dtype: bfloat16
|
| 27 |
+
bnb_4bit_quant_type: nf4
|
| 28 |
+
bnb_4bit_use_double_quant: true
|
| 29 |
+
dataset_prepared_path: out/prepared_dataset_persistent
|
| 30 |
+
message_field_content: content
|
| 31 |
+
message_field_role: role
|
| 32 |
+
path: /e/project1/reformo/salgarkar1/agents_learn/pythonformer-workshop/paired/train/out/paired_data/persistent/navigation/traces.jsonl
|
| 33 |
+
roles_to_train:
|
| 34 |
+
- assistant
|
| 35 |
+
type: chat_template
|
| 36 |
+
eval_steps: 5
|
| 37 |
+
flash_attention: true
|
| 38 |
+
gradient_accumulation_steps: 16
|
| 39 |
+
gradient_checkpointing: true
|
| 40 |
+
gradient_checkpointing_kwargs:
|
| 41 |
+
use_reentrant: false
|
| 42 |
+
learning_rate: 0.0001
|
| 43 |
+
load_in_4bit: true
|
| 44 |
+
load_in_8bit: false
|
| 45 |
+
logging_steps: 1
|
| 46 |
+
lora_alpha: 128
|
| 47 |
+
lora_dropout: 0.05
|
| 48 |
+
lora_r: 64
|
| 49 |
+
lora_target_linear: false
|
| 50 |
+
lora_target_modules:
|
| 51 |
+
- q_proj
|
| 52 |
+
- k_proj
|
| 53 |
+
- v_proj
|
| 54 |
+
- o_proj
|
| 55 |
+
- gate_proj
|
| 56 |
+
- up_proj
|
| 57 |
+
- down_proj
|
| 58 |
+
lr_scheduler: cosine
|
| 59 |
+
micro_batch_size: 1
|
| 60 |
+
model_type: AutoModelForCausalLM
|
| 61 |
+
num_epochs: 3.0
|
| 62 |
+
optimizer: adamw_torch
|
| 63 |
+
output_dir: out/qwen3-8b-persistent-navigation-20260525_121743
|
| 64 |
+
pad_to_sequence_len: true
|
| 65 |
+
sample_packing: false
|
| 66 |
+
save_strategy: epoch
|
| 67 |
+
save_total_limit: 3
|
| 68 |
+
seed: 3407
|
| 69 |
+
sequence_len: 16384
|
| 70 |
+
strict: false
|
| 71 |
+
tf32: true
|
| 72 |
+
tokenizer_type: AutoTokenizer
|
| 73 |
+
trust_remote_code: true
|
| 74 |
+
val_set_size: 0.04
|
| 75 |
+
wandb_log_model: null
|
| 76 |
+
wandb_project: pythonformer
|
| 77 |
+
wandb_watch: null
|
| 78 |
+
warmup_ratio: 0.03
|
| 79 |
+
weight_decay: 0.01
|
| 80 |
+
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
</details><br>
|
| 84 |
+
|
| 85 |
+
# out/qwen3-8b-persistent-navigation-20260525_121743
|
| 86 |
+
|
| 87 |
+
This model is a fine-tuned version of [Qwen/Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B) on the /e/project1/reformo/salgarkar1/agents_learn/pythonformer-workshop/paired/train/out/paired_data/persistent/navigation/traces.jsonl dataset.
|
| 88 |
+
It achieves the following results on the evaluation set:
|
| 89 |
+
- Loss: 0.2875
|
| 90 |
+
- Ppl: 1.3331
|
| 91 |
+
- Memory/max Active (gib): 54.54
|
| 92 |
+
- Memory/max Allocated (gib): 54.54
|
| 93 |
+
- Memory/device Reserved (gib): 66.97
|
| 94 |
+
|
| 95 |
+
## Model description
|
| 96 |
+
|
| 97 |
+
More information needed
|
| 98 |
+
|
| 99 |
+
## Intended uses & limitations
|
| 100 |
+
|
| 101 |
+
More information needed
|
| 102 |
+
|
| 103 |
+
## Training and evaluation data
|
| 104 |
+
|
| 105 |
+
More information needed
|
| 106 |
+
|
| 107 |
+
## Training procedure
|
| 108 |
+
|
| 109 |
+
### Training hyperparameters
|
| 110 |
+
|
| 111 |
+
The following hyperparameters were used during training:
|
| 112 |
+
- learning_rate: 0.0001
|
| 113 |
+
- train_batch_size: 1
|
| 114 |
+
- eval_batch_size: 1
|
| 115 |
+
- seed: 3407
|
| 116 |
+
- distributed_type: multi-GPU
|
| 117 |
+
- num_devices: 4
|
| 118 |
+
- gradient_accumulation_steps: 16
|
| 119 |
+
- total_train_batch_size: 64
|
| 120 |
+
- total_eval_batch_size: 4
|
| 121 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 122 |
+
- lr_scheduler_type: cosine
|
| 123 |
+
- lr_scheduler_warmup_steps: 2
|
| 124 |
+
- training_steps: 45
|
| 125 |
+
|
| 126 |
+
### Training results
|
| 127 |
+
|
| 128 |
+
| Training Loss | Epoch | Step | Validation Loss | Ppl | Active (gib) | Allocated (gib) | Reserved (gib) |
|
| 129 |
+
|:-------------:|:------:|:----:|:---------------:|:------:|:------------:|:---------------:|:--------------:|
|
| 130 |
+
| No log | 0 | 0 | 0.9681 | 2.6330 | 53.19 | 53.19 | 56.52 |
|
| 131 |
+
| 0.6197 | 0.3333 | 5 | 0.5761 | 1.7792 | 54.54 | 54.54 | 66.97 |
|
| 132 |
+
| 0.4796 | 0.6667 | 10 | 0.4404 | 1.5533 | 54.54 | 54.54 | 66.97 |
|
| 133 |
+
| 0.4179 | 1.0 | 15 | 0.3768 | 1.4576 | 54.54 | 54.54 | 66.97 |
|
| 134 |
+
| 0.3473 | 1.3333 | 20 | 0.3375 | 1.4014 | 54.54 | 54.54 | 66.97 |
|
| 135 |
+
| 0.3125 | 1.6667 | 25 | 0.3142 | 1.3692 | 54.54 | 54.54 | 66.97 |
|
| 136 |
+
| 0.3015 | 2.0 | 30 | 0.2998 | 1.3496 | 54.54 | 54.54 | 66.97 |
|
| 137 |
+
| 0.3033 | 2.3333 | 35 | 0.2914 | 1.3383 | 54.54 | 54.54 | 66.97 |
|
| 138 |
+
| 0.2925 | 2.6667 | 40 | 0.2881 | 1.3339 | 54.54 | 54.54 | 66.97 |
|
| 139 |
+
| 0.2815 | 3.0 | 45 | 0.2875 | 1.3331 | 54.54 | 54.54 | 66.97 |
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
### Framework versions
|
| 143 |
+
|
| 144 |
+
- PEFT 0.18.1
|
| 145 |
+
- Transformers 4.57.6
|
| 146 |
+
- Pytorch 2.10.0+cu128
|
| 147 |
+
- Datasets 4.5.0
|
| 148 |
+
- Tokenizers 0.22.2
|
adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-8B",
|
| 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": null,
|
| 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": 128,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 64,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"down_proj",
|
| 33 |
+
"up_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"q_proj",
|
| 36 |
+
"v_proj",
|
| 37 |
+
"o_proj",
|
| 38 |
+
"gate_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": [],
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b9f7490fc288d80e23e9312aa3324a741d50f549892ec85c177c3844de944cf
|
| 3 |
+
size 698419728
|
added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
axolotl_config.yaml
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
adapter: lora
|
| 2 |
+
base_model: Qwen/Qwen3-8B
|
| 3 |
+
bf16: true
|
| 4 |
+
bnb_4bit_compute_dtype: bfloat16
|
| 5 |
+
bnb_4bit_quant_type: nf4
|
| 6 |
+
bnb_4bit_use_double_quant: true
|
| 7 |
+
dataset_prepared_path: out/prepared_dataset_persistent
|
| 8 |
+
datasets:
|
| 9 |
+
- field_messages: messages
|
| 10 |
+
message_field_content: content
|
| 11 |
+
message_field_role: role
|
| 12 |
+
path: /e/project1/reformo/salgarkar1/agents_learn/pythonformer-workshop/paired/train/out/paired_data/persistent/navigation/traces.jsonl
|
| 13 |
+
roles_to_train:
|
| 14 |
+
- assistant
|
| 15 |
+
type: chat_template
|
| 16 |
+
eval_steps: 5
|
| 17 |
+
flash_attention: true
|
| 18 |
+
gradient_accumulation_steps: 16
|
| 19 |
+
gradient_checkpointing: true
|
| 20 |
+
gradient_checkpointing_kwargs:
|
| 21 |
+
use_reentrant: false
|
| 22 |
+
learning_rate: 0.0001
|
| 23 |
+
load_in_4bit: true
|
| 24 |
+
load_in_8bit: false
|
| 25 |
+
logging_steps: 1
|
| 26 |
+
lora_alpha: 128
|
| 27 |
+
lora_dropout: 0.05
|
| 28 |
+
lora_r: 64
|
| 29 |
+
lora_target_linear: false
|
| 30 |
+
lora_target_modules:
|
| 31 |
+
- q_proj
|
| 32 |
+
- k_proj
|
| 33 |
+
- v_proj
|
| 34 |
+
- o_proj
|
| 35 |
+
- gate_proj
|
| 36 |
+
- up_proj
|
| 37 |
+
- down_proj
|
| 38 |
+
lr_scheduler: cosine
|
| 39 |
+
micro_batch_size: 1
|
| 40 |
+
model_type: AutoModelForCausalLM
|
| 41 |
+
num_epochs: 3.0
|
| 42 |
+
optimizer: adamw_torch
|
| 43 |
+
output_dir: out/qwen3-8b-persistent-navigation-20260525_121743
|
| 44 |
+
pad_to_sequence_len: true
|
| 45 |
+
sample_packing: false
|
| 46 |
+
save_strategy: epoch
|
| 47 |
+
save_total_limit: 3
|
| 48 |
+
seed: 3407
|
| 49 |
+
sequence_len: 16384
|
| 50 |
+
strict: false
|
| 51 |
+
tf32: true
|
| 52 |
+
tokenizer_type: AutoTokenizer
|
| 53 |
+
trust_remote_code: true
|
| 54 |
+
val_set_size: 0.04
|
| 55 |
+
wandb_log_model: null
|
| 56 |
+
wandb_project: pythonformer
|
| 57 |
+
wandb_watch: null
|
| 58 |
+
warmup_ratio: 0.03
|
| 59 |
+
weight_decay: 0.01
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# 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>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\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" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.content is string %}
|
| 27 |
+
{%- set content = message.content %}
|
| 28 |
+
{%- else %}
|
| 29 |
+
{%- set content = '' %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 32 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 33 |
+
{%- elif message.role == "assistant" %}
|
| 34 |
+
{%- set reasoning_content = '' %}
|
| 35 |
+
{%- if message.reasoning_content is string %}
|
| 36 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{%- if '</think>' in content %}
|
| 39 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 40 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 44 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if message.tool_calls %}
|
| 53 |
+
{%- for tool_call in message.tool_calls %}
|
| 54 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 55 |
+
{{- '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tool_call.function %}
|
| 58 |
+
{%- set tool_call = tool_call.function %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 61 |
+
{{- tool_call.name }}
|
| 62 |
+
{{- '", "arguments": ' }}
|
| 63 |
+
{%- if tool_call.arguments is string %}
|
| 64 |
+
{{- tool_call.arguments }}
|
| 65 |
+
{%- else %}
|
| 66 |
+
{{- tool_call.arguments | tojson }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '}\n</tool_call>' }}
|
| 69 |
+
{%- endfor %}
|
| 70 |
+
{%- endif %}
|
| 71 |
+
{{- '<|im_end|>\n' }}
|
| 72 |
+
{%- elif message.role == "tool" %}
|
| 73 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 74 |
+
{{- '<|im_start|>user' }}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{{- '\n<tool_response>\n' }}
|
| 77 |
+
{{- content }}
|
| 78 |
+
{{- '\n</tool_response>' }}
|
| 79 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 80 |
+
{{- '<|im_end|>\n' }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{%- endfor %}
|
| 84 |
+
{%- if add_generation_prompt %}
|
| 85 |
+
{{- '<|im_start|>assistant\n' }}
|
| 86 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 87 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{%- endif %}
|
checkpoint-15/README.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3-8B
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- base_model:adapter:Qwen/Qwen3-8B
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Model Card for Model ID
|
| 13 |
+
|
| 14 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
## Model Details
|
| 19 |
+
|
| 20 |
+
### Model Description
|
| 21 |
+
|
| 22 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
- **Developed by:** [More Information Needed]
|
| 27 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 28 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 29 |
+
- **Model type:** [More Information Needed]
|
| 30 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 31 |
+
- **License:** [More Information Needed]
|
| 32 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 33 |
+
|
| 34 |
+
### Model Sources [optional]
|
| 35 |
+
|
| 36 |
+
<!-- Provide the basic links for the model. -->
|
| 37 |
+
|
| 38 |
+
- **Repository:** [More Information Needed]
|
| 39 |
+
- **Paper [optional]:** [More Information Needed]
|
| 40 |
+
- **Demo [optional]:** [More Information Needed]
|
| 41 |
+
|
| 42 |
+
## Uses
|
| 43 |
+
|
| 44 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 45 |
+
|
| 46 |
+
### Direct Use
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Downstream Use [optional]
|
| 53 |
+
|
| 54 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
### Out-of-Scope Use
|
| 59 |
+
|
| 60 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
## Bias, Risks, and Limitations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 67 |
+
|
| 68 |
+
[More Information Needed]
|
| 69 |
+
|
| 70 |
+
### Recommendations
|
| 71 |
+
|
| 72 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 73 |
+
|
| 74 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 75 |
+
|
| 76 |
+
## How to Get Started with the Model
|
| 77 |
+
|
| 78 |
+
Use the code below to get started with the model.
|
| 79 |
+
|
| 80 |
+
[More Information Needed]
|
| 81 |
+
|
| 82 |
+
## Training Details
|
| 83 |
+
|
| 84 |
+
### Training Data
|
| 85 |
+
|
| 86 |
+
<!-- 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. -->
|
| 87 |
+
|
| 88 |
+
[More Information Needed]
|
| 89 |
+
|
| 90 |
+
### Training Procedure
|
| 91 |
+
|
| 92 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 93 |
+
|
| 94 |
+
#### Preprocessing [optional]
|
| 95 |
+
|
| 96 |
+
[More Information Needed]
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
#### Training Hyperparameters
|
| 100 |
+
|
| 101 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 102 |
+
|
| 103 |
+
#### Speeds, Sizes, Times [optional]
|
| 104 |
+
|
| 105 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 106 |
+
|
| 107 |
+
[More Information Needed]
|
| 108 |
+
|
| 109 |
+
## Evaluation
|
| 110 |
+
|
| 111 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 112 |
+
|
| 113 |
+
### Testing Data, Factors & Metrics
|
| 114 |
+
|
| 115 |
+
#### Testing Data
|
| 116 |
+
|
| 117 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Factors
|
| 122 |
+
|
| 123 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
#### Metrics
|
| 128 |
+
|
| 129 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 130 |
+
|
| 131 |
+
[More Information Needed]
|
| 132 |
+
|
| 133 |
+
### Results
|
| 134 |
+
|
| 135 |
+
[More Information Needed]
|
| 136 |
+
|
| 137 |
+
#### Summary
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
## Model Examination [optional]
|
| 142 |
+
|
| 143 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 144 |
+
|
| 145 |
+
[More Information Needed]
|
| 146 |
+
|
| 147 |
+
## Environmental Impact
|
| 148 |
+
|
| 149 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 150 |
+
|
| 151 |
+
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).
|
| 152 |
+
|
| 153 |
+
- **Hardware Type:** [More Information Needed]
|
| 154 |
+
- **Hours used:** [More Information Needed]
|
| 155 |
+
- **Cloud Provider:** [More Information Needed]
|
| 156 |
+
- **Compute Region:** [More Information Needed]
|
| 157 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 158 |
+
|
| 159 |
+
## Technical Specifications [optional]
|
| 160 |
+
|
| 161 |
+
### Model Architecture and Objective
|
| 162 |
+
|
| 163 |
+
[More Information Needed]
|
| 164 |
+
|
| 165 |
+
### Compute Infrastructure
|
| 166 |
+
|
| 167 |
+
[More Information Needed]
|
| 168 |
+
|
| 169 |
+
#### Hardware
|
| 170 |
+
|
| 171 |
+
[More Information Needed]
|
| 172 |
+
|
| 173 |
+
#### Software
|
| 174 |
+
|
| 175 |
+
[More Information Needed]
|
| 176 |
+
|
| 177 |
+
## Citation [optional]
|
| 178 |
+
|
| 179 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 180 |
+
|
| 181 |
+
**BibTeX:**
|
| 182 |
+
|
| 183 |
+
[More Information Needed]
|
| 184 |
+
|
| 185 |
+
**APA:**
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## Glossary [optional]
|
| 190 |
+
|
| 191 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 192 |
+
|
| 193 |
+
[More Information Needed]
|
| 194 |
+
|
| 195 |
+
## More Information [optional]
|
| 196 |
+
|
| 197 |
+
[More Information Needed]
|
| 198 |
+
|
| 199 |
+
## Model Card Authors [optional]
|
| 200 |
+
|
| 201 |
+
[More Information Needed]
|
| 202 |
+
|
| 203 |
+
## Model Card Contact
|
| 204 |
+
|
| 205 |
+
[More Information Needed]
|
| 206 |
+
### Framework versions
|
| 207 |
+
|
| 208 |
+
- PEFT 0.18.1
|
checkpoint-15/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-8B",
|
| 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": null,
|
| 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": 128,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 64,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"down_proj",
|
| 33 |
+
"up_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"q_proj",
|
| 36 |
+
"v_proj",
|
| 37 |
+
"o_proj",
|
| 38 |
+
"gate_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": [],
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
checkpoint-15/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a424a07444d8801c61363ede5838fe0a3b1ece9c763b0a04913f4e925c1e4f6
|
| 3 |
+
size 698419728
|
checkpoint-15/added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
checkpoint-15/chat_template.jinja
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# 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>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\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" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.content is string %}
|
| 27 |
+
{%- set content = message.content %}
|
| 28 |
+
{%- else %}
|
| 29 |
+
{%- set content = '' %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 32 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 33 |
+
{%- elif message.role == "assistant" %}
|
| 34 |
+
{%- set reasoning_content = '' %}
|
| 35 |
+
{%- if message.reasoning_content is string %}
|
| 36 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{%- if '</think>' in content %}
|
| 39 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 40 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 44 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if message.tool_calls %}
|
| 53 |
+
{%- for tool_call in message.tool_calls %}
|
| 54 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 55 |
+
{{- '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tool_call.function %}
|
| 58 |
+
{%- set tool_call = tool_call.function %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 61 |
+
{{- tool_call.name }}
|
| 62 |
+
{{- '", "arguments": ' }}
|
| 63 |
+
{%- if tool_call.arguments is string %}
|
| 64 |
+
{{- tool_call.arguments }}
|
| 65 |
+
{%- else %}
|
| 66 |
+
{{- tool_call.arguments | tojson }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '}\n</tool_call>' }}
|
| 69 |
+
{%- endfor %}
|
| 70 |
+
{%- endif %}
|
| 71 |
+
{{- '<|im_end|>\n' }}
|
| 72 |
+
{%- elif message.role == "tool" %}
|
| 73 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 74 |
+
{{- '<|im_start|>user' }}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{{- '\n<tool_response>\n' }}
|
| 77 |
+
{{- content }}
|
| 78 |
+
{{- '\n</tool_response>' }}
|
| 79 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 80 |
+
{{- '<|im_end|>\n' }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{%- endfor %}
|
| 84 |
+
{%- if add_generation_prompt %}
|
| 85 |
+
{{- '<|im_start|>assistant\n' }}
|
| 86 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 87 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{%- endif %}
|
checkpoint-15/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-15/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2f3ce1aa2d23b1d57c8daa08a5571c8d904c713bd261549f1d6123c2504a763
|
| 3 |
+
size 1397129547
|
checkpoint-15/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:496746c025033ccca094cf576ed1eb0f145196ed098b29f65b56574a14a7ee6b
|
| 3 |
+
size 15365
|
checkpoint-15/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:056dbea0bf0d9d396680103ec97451cd90cb37143c4d895670deea21d204e4cc
|
| 3 |
+
size 15365
|
checkpoint-15/rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec1c69ad1a3d03c412c1aaae71718a480e62ccf093c8637b20080e9b7791c6dd
|
| 3 |
+
size 15365
|
checkpoint-15/rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d167f8d65ca93ec772522ec91fa16b69d7bb75de3245e8dfcc640ece42367379
|
| 3 |
+
size 15365
|
checkpoint-15/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8695a61368b93d1f64286e236be6bd97b3d8eacd7521fd85ce42e4739ba154f9
|
| 3 |
+
size 1465
|
checkpoint-15/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
checkpoint-15/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
|
| 3 |
+
size 11422654
|
checkpoint-15/tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|im_end|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 131072,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"split_special_tokens": false,
|
| 237 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 238 |
+
"unk_token": null
|
| 239 |
+
}
|
checkpoint-15/tokens_state.
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"total": 15728640, "trainable": 1275757}
|
checkpoint-15/trainer_state.json
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 5,
|
| 7 |
+
"global_step": 15,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0,
|
| 14 |
+
"eval_loss": 0.9681045413017273,
|
| 15 |
+
"eval_ppl": 2.63295,
|
| 16 |
+
"eval_runtime": 9.5712,
|
| 17 |
+
"eval_samples_per_second": 4.179,
|
| 18 |
+
"eval_steps_per_second": 1.045,
|
| 19 |
+
"memory/device_reserved (GiB)": 56.52,
|
| 20 |
+
"memory/max_active (GiB)": 53.19,
|
| 21 |
+
"memory/max_allocated (GiB)": 53.19,
|
| 22 |
+
"step": 0
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"epoch": 0.06666666666666667,
|
| 26 |
+
"grad_norm": 3.6055057048797607,
|
| 27 |
+
"learning_rate": 0.0,
|
| 28 |
+
"loss": 0.9844,
|
| 29 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 30 |
+
"memory/max_active (GiB)": 62.8,
|
| 31 |
+
"memory/max_allocated (GiB)": 62.8,
|
| 32 |
+
"ppl": 2.67621,
|
| 33 |
+
"step": 1,
|
| 34 |
+
"tokens/total": 1048576,
|
| 35 |
+
"tokens/train_per_sec_per_gpu": 99.89,
|
| 36 |
+
"tokens/trainable": 77925
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"epoch": 0.13333333333333333,
|
| 40 |
+
"grad_norm": 3.3668525218963623,
|
| 41 |
+
"learning_rate": 5e-05,
|
| 42 |
+
"loss": 0.9794,
|
| 43 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 44 |
+
"memory/max_active (GiB)": 64.12,
|
| 45 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 46 |
+
"ppl": 2.66286,
|
| 47 |
+
"step": 2,
|
| 48 |
+
"tokens/total": 2097152,
|
| 49 |
+
"tokens/train_per_sec_per_gpu": 93.93,
|
| 50 |
+
"tokens/trainable": 163858
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 0.2,
|
| 54 |
+
"grad_norm": 1.4857083559036255,
|
| 55 |
+
"learning_rate": 0.0001,
|
| 56 |
+
"loss": 0.7875,
|
| 57 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 58 |
+
"memory/max_active (GiB)": 64.12,
|
| 59 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 60 |
+
"ppl": 2.19789,
|
| 61 |
+
"step": 3,
|
| 62 |
+
"tokens/total": 3145728,
|
| 63 |
+
"tokens/train_per_sec_per_gpu": 90.68,
|
| 64 |
+
"tokens/trainable": 243851
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"epoch": 0.26666666666666666,
|
| 68 |
+
"grad_norm": 0.5946469902992249,
|
| 69 |
+
"learning_rate": 9.986661418317759e-05,
|
| 70 |
+
"loss": 0.6776,
|
| 71 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 72 |
+
"memory/max_active (GiB)": 64.12,
|
| 73 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 74 |
+
"ppl": 1.96915,
|
| 75 |
+
"step": 4,
|
| 76 |
+
"tokens/total": 4194304,
|
| 77 |
+
"tokens/train_per_sec_per_gpu": 112.97,
|
| 78 |
+
"tokens/trainable": 331508
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"epoch": 0.3333333333333333,
|
| 82 |
+
"grad_norm": 0.35739865899086,
|
| 83 |
+
"learning_rate": 9.946716840375551e-05,
|
| 84 |
+
"loss": 0.6197,
|
| 85 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 86 |
+
"memory/max_active (GiB)": 64.13,
|
| 87 |
+
"memory/max_allocated (GiB)": 64.13,
|
| 88 |
+
"ppl": 1.85837,
|
| 89 |
+
"step": 5,
|
| 90 |
+
"tokens/total": 5242880,
|
| 91 |
+
"tokens/train_per_sec_per_gpu": 111.47,
|
| 92 |
+
"tokens/trainable": 420940
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"epoch": 0.3333333333333333,
|
| 96 |
+
"eval_loss": 0.5761364102363586,
|
| 97 |
+
"eval_ppl": 1.77915,
|
| 98 |
+
"eval_runtime": 9.4945,
|
| 99 |
+
"eval_samples_per_second": 4.213,
|
| 100 |
+
"eval_steps_per_second": 1.053,
|
| 101 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 102 |
+
"memory/max_active (GiB)": 54.54,
|
| 103 |
+
"memory/max_allocated (GiB)": 54.54,
|
| 104 |
+
"step": 5
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"epoch": 0.4,
|
| 108 |
+
"grad_norm": 0.30389270186424255,
|
| 109 |
+
"learning_rate": 9.880379387779637e-05,
|
| 110 |
+
"loss": 0.5976,
|
| 111 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 112 |
+
"memory/max_active (GiB)": 64.12,
|
| 113 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 114 |
+
"ppl": 1.81775,
|
| 115 |
+
"step": 6,
|
| 116 |
+
"tokens/total": 6291456,
|
| 117 |
+
"tokens/train_per_sec_per_gpu": 102.37,
|
| 118 |
+
"tokens/trainable": 504211
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"epoch": 0.4666666666666667,
|
| 122 |
+
"grad_norm": 0.29107972979545593,
|
| 123 |
+
"learning_rate": 9.78800299954203e-05,
|
| 124 |
+
"loss": 0.5493,
|
| 125 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 126 |
+
"memory/max_active (GiB)": 64.12,
|
| 127 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 128 |
+
"ppl": 1.73204,
|
| 129 |
+
"step": 7,
|
| 130 |
+
"tokens/total": 7340032,
|
| 131 |
+
"tokens/train_per_sec_per_gpu": 120.1,
|
| 132 |
+
"tokens/trainable": 586769
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"epoch": 0.5333333333333333,
|
| 136 |
+
"grad_norm": 0.2634803354740143,
|
| 137 |
+
"learning_rate": 9.67008054366274e-05,
|
| 138 |
+
"loss": 0.5306,
|
| 139 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 140 |
+
"memory/max_active (GiB)": 64.12,
|
| 141 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 142 |
+
"ppl": 1.69995,
|
| 143 |
+
"step": 8,
|
| 144 |
+
"tokens/total": 8388608,
|
| 145 |
+
"tokens/train_per_sec_per_gpu": 114.32,
|
| 146 |
+
"tokens/trainable": 674991
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"epoch": 0.6,
|
| 150 |
+
"grad_norm": 0.2511760890483856,
|
| 151 |
+
"learning_rate": 9.527241187465734e-05,
|
| 152 |
+
"loss": 0.4969,
|
| 153 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 154 |
+
"memory/max_active (GiB)": 64.13,
|
| 155 |
+
"memory/max_allocated (GiB)": 64.13,
|
| 156 |
+
"ppl": 1.64362,
|
| 157 |
+
"step": 9,
|
| 158 |
+
"tokens/total": 9437184,
|
| 159 |
+
"tokens/train_per_sec_per_gpu": 116.69,
|
| 160 |
+
"tokens/trainable": 752848
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"epoch": 0.6666666666666666,
|
| 164 |
+
"grad_norm": 0.21181228756904602,
|
| 165 |
+
"learning_rate": 9.360247040719039e-05,
|
| 166 |
+
"loss": 0.4796,
|
| 167 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 168 |
+
"memory/max_active (GiB)": 64.12,
|
| 169 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 170 |
+
"ppl": 1.61543,
|
| 171 |
+
"step": 10,
|
| 172 |
+
"tokens/total": 10485760,
|
| 173 |
+
"tokens/train_per_sec_per_gpu": 100.84,
|
| 174 |
+
"tokens/trainable": 839780
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"epoch": 0.6666666666666666,
|
| 178 |
+
"eval_loss": 0.44040805101394653,
|
| 179 |
+
"eval_ppl": 1.55334,
|
| 180 |
+
"eval_runtime": 9.4408,
|
| 181 |
+
"eval_samples_per_second": 4.237,
|
| 182 |
+
"eval_steps_per_second": 1.059,
|
| 183 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 184 |
+
"memory/max_active (GiB)": 54.54,
|
| 185 |
+
"memory/max_allocated (GiB)": 54.54,
|
| 186 |
+
"step": 10
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"epoch": 0.7333333333333333,
|
| 190 |
+
"grad_norm": 0.16248875856399536,
|
| 191 |
+
"learning_rate": 9.16998908944939e-05,
|
| 192 |
+
"loss": 0.4565,
|
| 193 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 194 |
+
"memory/max_active (GiB)": 64.12,
|
| 195 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 196 |
+
"ppl": 1.57854,
|
| 197 |
+
"step": 11,
|
| 198 |
+
"tokens/total": 11534336,
|
| 199 |
+
"tokens/train_per_sec_per_gpu": 125.3,
|
| 200 |
+
"tokens/trainable": 929267
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 0.8,
|
| 204 |
+
"grad_norm": 0.15751507878303528,
|
| 205 |
+
"learning_rate": 8.957482442146272e-05,
|
| 206 |
+
"loss": 0.44,
|
| 207 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 208 |
+
"memory/max_active (GiB)": 64.12,
|
| 209 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 210 |
+
"ppl": 1.55271,
|
| 211 |
+
"step": 12,
|
| 212 |
+
"tokens/total": 12582912,
|
| 213 |
+
"tokens/train_per_sec_per_gpu": 147.86,
|
| 214 |
+
"tokens/trainable": 1012131
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"epoch": 0.8666666666666667,
|
| 218 |
+
"grad_norm": 0.16444867849349976,
|
| 219 |
+
"learning_rate": 8.72386091371891e-05,
|
| 220 |
+
"loss": 0.4461,
|
| 221 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 222 |
+
"memory/max_active (GiB)": 64.13,
|
| 223 |
+
"memory/max_allocated (GiB)": 64.13,
|
| 224 |
+
"ppl": 1.56221,
|
| 225 |
+
"step": 13,
|
| 226 |
+
"tokens/total": 13631488,
|
| 227 |
+
"tokens/train_per_sec_per_gpu": 103.92,
|
| 228 |
+
"tokens/trainable": 1103069
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"epoch": 0.9333333333333333,
|
| 232 |
+
"grad_norm": 0.17406685650348663,
|
| 233 |
+
"learning_rate": 8.47037097610317e-05,
|
| 234 |
+
"loss": 0.4204,
|
| 235 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 236 |
+
"memory/max_active (GiB)": 64.12,
|
| 237 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 238 |
+
"ppl": 1.52257,
|
| 239 |
+
"step": 14,
|
| 240 |
+
"tokens/total": 14680064,
|
| 241 |
+
"tokens/train_per_sec_per_gpu": 113.35,
|
| 242 |
+
"tokens/trainable": 1189578
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"epoch": 1.0,
|
| 246 |
+
"grad_norm": 0.18400150537490845,
|
| 247 |
+
"learning_rate": 8.198365107794457e-05,
|
| 248 |
+
"loss": 0.4179,
|
| 249 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 250 |
+
"memory/max_active (GiB)": 64.12,
|
| 251 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 252 |
+
"ppl": 1.51877,
|
| 253 |
+
"step": 15,
|
| 254 |
+
"tokens/total": 15728640,
|
| 255 |
+
"tokens/train_per_sec_per_gpu": 87.22,
|
| 256 |
+
"tokens/trainable": 1275757
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"epoch": 1.0,
|
| 260 |
+
"eval_loss": 0.3768181800842285,
|
| 261 |
+
"eval_ppl": 1.45764,
|
| 262 |
+
"eval_runtime": 9.4968,
|
| 263 |
+
"eval_samples_per_second": 4.212,
|
| 264 |
+
"eval_steps_per_second": 1.053,
|
| 265 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 266 |
+
"memory/max_active (GiB)": 54.54,
|
| 267 |
+
"memory/max_allocated (GiB)": 54.54,
|
| 268 |
+
"step": 15
|
| 269 |
+
}
|
| 270 |
+
],
|
| 271 |
+
"logging_steps": 1,
|
| 272 |
+
"max_steps": 45,
|
| 273 |
+
"num_input_tokens_seen": 0,
|
| 274 |
+
"num_train_epochs": 3,
|
| 275 |
+
"save_steps": 500,
|
| 276 |
+
"stateful_callbacks": {
|
| 277 |
+
"TrainerControl": {
|
| 278 |
+
"args": {
|
| 279 |
+
"should_epoch_stop": false,
|
| 280 |
+
"should_evaluate": false,
|
| 281 |
+
"should_log": false,
|
| 282 |
+
"should_save": true,
|
| 283 |
+
"should_training_stop": false
|
| 284 |
+
},
|
| 285 |
+
"attributes": {}
|
| 286 |
+
}
|
| 287 |
+
},
|
| 288 |
+
"total_flos": 7.307205672330854e+17,
|
| 289 |
+
"train_batch_size": 1,
|
| 290 |
+
"trial_name": null,
|
| 291 |
+
"trial_params": null
|
| 292 |
+
}
|
checkpoint-15/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ece1b282edbe7a80d4c287780ed395c9db305cc7252dea473a421b90ab61b16
|
| 3 |
+
size 7441
|
checkpoint-15/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-30/README.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3-8B
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- base_model:adapter:Qwen/Qwen3-8B
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Model Card for Model ID
|
| 13 |
+
|
| 14 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
## Model Details
|
| 19 |
+
|
| 20 |
+
### Model Description
|
| 21 |
+
|
| 22 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
- **Developed by:** [More Information Needed]
|
| 27 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 28 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 29 |
+
- **Model type:** [More Information Needed]
|
| 30 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 31 |
+
- **License:** [More Information Needed]
|
| 32 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 33 |
+
|
| 34 |
+
### Model Sources [optional]
|
| 35 |
+
|
| 36 |
+
<!-- Provide the basic links for the model. -->
|
| 37 |
+
|
| 38 |
+
- **Repository:** [More Information Needed]
|
| 39 |
+
- **Paper [optional]:** [More Information Needed]
|
| 40 |
+
- **Demo [optional]:** [More Information Needed]
|
| 41 |
+
|
| 42 |
+
## Uses
|
| 43 |
+
|
| 44 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 45 |
+
|
| 46 |
+
### Direct Use
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Downstream Use [optional]
|
| 53 |
+
|
| 54 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
### Out-of-Scope Use
|
| 59 |
+
|
| 60 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
## Bias, Risks, and Limitations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 67 |
+
|
| 68 |
+
[More Information Needed]
|
| 69 |
+
|
| 70 |
+
### Recommendations
|
| 71 |
+
|
| 72 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 73 |
+
|
| 74 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 75 |
+
|
| 76 |
+
## How to Get Started with the Model
|
| 77 |
+
|
| 78 |
+
Use the code below to get started with the model.
|
| 79 |
+
|
| 80 |
+
[More Information Needed]
|
| 81 |
+
|
| 82 |
+
## Training Details
|
| 83 |
+
|
| 84 |
+
### Training Data
|
| 85 |
+
|
| 86 |
+
<!-- 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. -->
|
| 87 |
+
|
| 88 |
+
[More Information Needed]
|
| 89 |
+
|
| 90 |
+
### Training Procedure
|
| 91 |
+
|
| 92 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 93 |
+
|
| 94 |
+
#### Preprocessing [optional]
|
| 95 |
+
|
| 96 |
+
[More Information Needed]
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
#### Training Hyperparameters
|
| 100 |
+
|
| 101 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 102 |
+
|
| 103 |
+
#### Speeds, Sizes, Times [optional]
|
| 104 |
+
|
| 105 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 106 |
+
|
| 107 |
+
[More Information Needed]
|
| 108 |
+
|
| 109 |
+
## Evaluation
|
| 110 |
+
|
| 111 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 112 |
+
|
| 113 |
+
### Testing Data, Factors & Metrics
|
| 114 |
+
|
| 115 |
+
#### Testing Data
|
| 116 |
+
|
| 117 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Factors
|
| 122 |
+
|
| 123 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
#### Metrics
|
| 128 |
+
|
| 129 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 130 |
+
|
| 131 |
+
[More Information Needed]
|
| 132 |
+
|
| 133 |
+
### Results
|
| 134 |
+
|
| 135 |
+
[More Information Needed]
|
| 136 |
+
|
| 137 |
+
#### Summary
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
## Model Examination [optional]
|
| 142 |
+
|
| 143 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 144 |
+
|
| 145 |
+
[More Information Needed]
|
| 146 |
+
|
| 147 |
+
## Environmental Impact
|
| 148 |
+
|
| 149 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 150 |
+
|
| 151 |
+
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).
|
| 152 |
+
|
| 153 |
+
- **Hardware Type:** [More Information Needed]
|
| 154 |
+
- **Hours used:** [More Information Needed]
|
| 155 |
+
- **Cloud Provider:** [More Information Needed]
|
| 156 |
+
- **Compute Region:** [More Information Needed]
|
| 157 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 158 |
+
|
| 159 |
+
## Technical Specifications [optional]
|
| 160 |
+
|
| 161 |
+
### Model Architecture and Objective
|
| 162 |
+
|
| 163 |
+
[More Information Needed]
|
| 164 |
+
|
| 165 |
+
### Compute Infrastructure
|
| 166 |
+
|
| 167 |
+
[More Information Needed]
|
| 168 |
+
|
| 169 |
+
#### Hardware
|
| 170 |
+
|
| 171 |
+
[More Information Needed]
|
| 172 |
+
|
| 173 |
+
#### Software
|
| 174 |
+
|
| 175 |
+
[More Information Needed]
|
| 176 |
+
|
| 177 |
+
## Citation [optional]
|
| 178 |
+
|
| 179 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 180 |
+
|
| 181 |
+
**BibTeX:**
|
| 182 |
+
|
| 183 |
+
[More Information Needed]
|
| 184 |
+
|
| 185 |
+
**APA:**
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## Glossary [optional]
|
| 190 |
+
|
| 191 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 192 |
+
|
| 193 |
+
[More Information Needed]
|
| 194 |
+
|
| 195 |
+
## More Information [optional]
|
| 196 |
+
|
| 197 |
+
[More Information Needed]
|
| 198 |
+
|
| 199 |
+
## Model Card Authors [optional]
|
| 200 |
+
|
| 201 |
+
[More Information Needed]
|
| 202 |
+
|
| 203 |
+
## Model Card Contact
|
| 204 |
+
|
| 205 |
+
[More Information Needed]
|
| 206 |
+
### Framework versions
|
| 207 |
+
|
| 208 |
+
- PEFT 0.18.1
|
checkpoint-30/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-8B",
|
| 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": null,
|
| 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": 128,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 64,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"down_proj",
|
| 33 |
+
"up_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"q_proj",
|
| 36 |
+
"v_proj",
|
| 37 |
+
"o_proj",
|
| 38 |
+
"gate_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": [],
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
checkpoint-30/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dce836883522037c98bd0aa4bf240a061247ec6a26395f1cfc32063f18f32ac
|
| 3 |
+
size 698419728
|
checkpoint-30/added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
checkpoint-30/chat_template.jinja
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# 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>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\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" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.content is string %}
|
| 27 |
+
{%- set content = message.content %}
|
| 28 |
+
{%- else %}
|
| 29 |
+
{%- set content = '' %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 32 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 33 |
+
{%- elif message.role == "assistant" %}
|
| 34 |
+
{%- set reasoning_content = '' %}
|
| 35 |
+
{%- if message.reasoning_content is string %}
|
| 36 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{%- if '</think>' in content %}
|
| 39 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 40 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 44 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if message.tool_calls %}
|
| 53 |
+
{%- for tool_call in message.tool_calls %}
|
| 54 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 55 |
+
{{- '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tool_call.function %}
|
| 58 |
+
{%- set tool_call = tool_call.function %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 61 |
+
{{- tool_call.name }}
|
| 62 |
+
{{- '", "arguments": ' }}
|
| 63 |
+
{%- if tool_call.arguments is string %}
|
| 64 |
+
{{- tool_call.arguments }}
|
| 65 |
+
{%- else %}
|
| 66 |
+
{{- tool_call.arguments | tojson }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '}\n</tool_call>' }}
|
| 69 |
+
{%- endfor %}
|
| 70 |
+
{%- endif %}
|
| 71 |
+
{{- '<|im_end|>\n' }}
|
| 72 |
+
{%- elif message.role == "tool" %}
|
| 73 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 74 |
+
{{- '<|im_start|>user' }}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{{- '\n<tool_response>\n' }}
|
| 77 |
+
{{- content }}
|
| 78 |
+
{{- '\n</tool_response>' }}
|
| 79 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 80 |
+
{{- '<|im_end|>\n' }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{%- endfor %}
|
| 84 |
+
{%- if add_generation_prompt %}
|
| 85 |
+
{{- '<|im_start|>assistant\n' }}
|
| 86 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 87 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{%- endif %}
|
checkpoint-30/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-30/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f289ef1aee3e6565785edbfe8462b7a1a880cbe305efa983b0217a2c6886add
|
| 3 |
+
size 1397129547
|
checkpoint-30/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b92d410fd625839e8eb3ff182d30b69c6a4fb8c3ab7c5f18910649217d725c94
|
| 3 |
+
size 15365
|
checkpoint-30/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29797b012fb38b628e3674683416cb210e4395042901b43fb9cd4078e863094e
|
| 3 |
+
size 15365
|
checkpoint-30/rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c091ad25f52f9b6c36c380774a32570693bc31edf4de9fa30dd7533b733a5e4d
|
| 3 |
+
size 15365
|
checkpoint-30/rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9228d993b8d07a2fcdd59130f87f4adeccbd90c8f662161cd556fcf1a9539ba1
|
| 3 |
+
size 15365
|
checkpoint-30/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d815b38ce520c275574aabdbad559a0c92a1d36cfd393654e19d9df91982b42
|
| 3 |
+
size 1465
|
checkpoint-30/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
checkpoint-30/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
|
| 3 |
+
size 11422654
|
checkpoint-30/tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|im_end|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 131072,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"split_special_tokens": false,
|
| 237 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 238 |
+
"unk_token": null
|
| 239 |
+
}
|
checkpoint-30/tokens_state.
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"total": 31457280, "trainable": 2551514}
|
checkpoint-30/trainer_state.json
ADDED
|
@@ -0,0 +1,538 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 2.0,
|
| 6 |
+
"eval_steps": 5,
|
| 7 |
+
"global_step": 30,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0,
|
| 14 |
+
"eval_loss": 0.9681045413017273,
|
| 15 |
+
"eval_ppl": 2.63295,
|
| 16 |
+
"eval_runtime": 9.5712,
|
| 17 |
+
"eval_samples_per_second": 4.179,
|
| 18 |
+
"eval_steps_per_second": 1.045,
|
| 19 |
+
"memory/device_reserved (GiB)": 56.52,
|
| 20 |
+
"memory/max_active (GiB)": 53.19,
|
| 21 |
+
"memory/max_allocated (GiB)": 53.19,
|
| 22 |
+
"step": 0
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"epoch": 0.06666666666666667,
|
| 26 |
+
"grad_norm": 3.6055057048797607,
|
| 27 |
+
"learning_rate": 0.0,
|
| 28 |
+
"loss": 0.9844,
|
| 29 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 30 |
+
"memory/max_active (GiB)": 62.8,
|
| 31 |
+
"memory/max_allocated (GiB)": 62.8,
|
| 32 |
+
"ppl": 2.67621,
|
| 33 |
+
"step": 1,
|
| 34 |
+
"tokens/total": 1048576,
|
| 35 |
+
"tokens/train_per_sec_per_gpu": 99.89,
|
| 36 |
+
"tokens/trainable": 77925
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"epoch": 0.13333333333333333,
|
| 40 |
+
"grad_norm": 3.3668525218963623,
|
| 41 |
+
"learning_rate": 5e-05,
|
| 42 |
+
"loss": 0.9794,
|
| 43 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 44 |
+
"memory/max_active (GiB)": 64.12,
|
| 45 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 46 |
+
"ppl": 2.66286,
|
| 47 |
+
"step": 2,
|
| 48 |
+
"tokens/total": 2097152,
|
| 49 |
+
"tokens/train_per_sec_per_gpu": 93.93,
|
| 50 |
+
"tokens/trainable": 163858
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 0.2,
|
| 54 |
+
"grad_norm": 1.4857083559036255,
|
| 55 |
+
"learning_rate": 0.0001,
|
| 56 |
+
"loss": 0.7875,
|
| 57 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 58 |
+
"memory/max_active (GiB)": 64.12,
|
| 59 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 60 |
+
"ppl": 2.19789,
|
| 61 |
+
"step": 3,
|
| 62 |
+
"tokens/total": 3145728,
|
| 63 |
+
"tokens/train_per_sec_per_gpu": 90.68,
|
| 64 |
+
"tokens/trainable": 243851
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"epoch": 0.26666666666666666,
|
| 68 |
+
"grad_norm": 0.5946469902992249,
|
| 69 |
+
"learning_rate": 9.986661418317759e-05,
|
| 70 |
+
"loss": 0.6776,
|
| 71 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 72 |
+
"memory/max_active (GiB)": 64.12,
|
| 73 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 74 |
+
"ppl": 1.96915,
|
| 75 |
+
"step": 4,
|
| 76 |
+
"tokens/total": 4194304,
|
| 77 |
+
"tokens/train_per_sec_per_gpu": 112.97,
|
| 78 |
+
"tokens/trainable": 331508
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"epoch": 0.3333333333333333,
|
| 82 |
+
"grad_norm": 0.35739865899086,
|
| 83 |
+
"learning_rate": 9.946716840375551e-05,
|
| 84 |
+
"loss": 0.6197,
|
| 85 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 86 |
+
"memory/max_active (GiB)": 64.13,
|
| 87 |
+
"memory/max_allocated (GiB)": 64.13,
|
| 88 |
+
"ppl": 1.85837,
|
| 89 |
+
"step": 5,
|
| 90 |
+
"tokens/total": 5242880,
|
| 91 |
+
"tokens/train_per_sec_per_gpu": 111.47,
|
| 92 |
+
"tokens/trainable": 420940
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"epoch": 0.3333333333333333,
|
| 96 |
+
"eval_loss": 0.5761364102363586,
|
| 97 |
+
"eval_ppl": 1.77915,
|
| 98 |
+
"eval_runtime": 9.4945,
|
| 99 |
+
"eval_samples_per_second": 4.213,
|
| 100 |
+
"eval_steps_per_second": 1.053,
|
| 101 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 102 |
+
"memory/max_active (GiB)": 54.54,
|
| 103 |
+
"memory/max_allocated (GiB)": 54.54,
|
| 104 |
+
"step": 5
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"epoch": 0.4,
|
| 108 |
+
"grad_norm": 0.30389270186424255,
|
| 109 |
+
"learning_rate": 9.880379387779637e-05,
|
| 110 |
+
"loss": 0.5976,
|
| 111 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 112 |
+
"memory/max_active (GiB)": 64.12,
|
| 113 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 114 |
+
"ppl": 1.81775,
|
| 115 |
+
"step": 6,
|
| 116 |
+
"tokens/total": 6291456,
|
| 117 |
+
"tokens/train_per_sec_per_gpu": 102.37,
|
| 118 |
+
"tokens/trainable": 504211
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"epoch": 0.4666666666666667,
|
| 122 |
+
"grad_norm": 0.29107972979545593,
|
| 123 |
+
"learning_rate": 9.78800299954203e-05,
|
| 124 |
+
"loss": 0.5493,
|
| 125 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 126 |
+
"memory/max_active (GiB)": 64.12,
|
| 127 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 128 |
+
"ppl": 1.73204,
|
| 129 |
+
"step": 7,
|
| 130 |
+
"tokens/total": 7340032,
|
| 131 |
+
"tokens/train_per_sec_per_gpu": 120.1,
|
| 132 |
+
"tokens/trainable": 586769
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"epoch": 0.5333333333333333,
|
| 136 |
+
"grad_norm": 0.2634803354740143,
|
| 137 |
+
"learning_rate": 9.67008054366274e-05,
|
| 138 |
+
"loss": 0.5306,
|
| 139 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 140 |
+
"memory/max_active (GiB)": 64.12,
|
| 141 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 142 |
+
"ppl": 1.69995,
|
| 143 |
+
"step": 8,
|
| 144 |
+
"tokens/total": 8388608,
|
| 145 |
+
"tokens/train_per_sec_per_gpu": 114.32,
|
| 146 |
+
"tokens/trainable": 674991
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"epoch": 0.6,
|
| 150 |
+
"grad_norm": 0.2511760890483856,
|
| 151 |
+
"learning_rate": 9.527241187465734e-05,
|
| 152 |
+
"loss": 0.4969,
|
| 153 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 154 |
+
"memory/max_active (GiB)": 64.13,
|
| 155 |
+
"memory/max_allocated (GiB)": 64.13,
|
| 156 |
+
"ppl": 1.64362,
|
| 157 |
+
"step": 9,
|
| 158 |
+
"tokens/total": 9437184,
|
| 159 |
+
"tokens/train_per_sec_per_gpu": 116.69,
|
| 160 |
+
"tokens/trainable": 752848
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"epoch": 0.6666666666666666,
|
| 164 |
+
"grad_norm": 0.21181228756904602,
|
| 165 |
+
"learning_rate": 9.360247040719039e-05,
|
| 166 |
+
"loss": 0.4796,
|
| 167 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 168 |
+
"memory/max_active (GiB)": 64.12,
|
| 169 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 170 |
+
"ppl": 1.61543,
|
| 171 |
+
"step": 10,
|
| 172 |
+
"tokens/total": 10485760,
|
| 173 |
+
"tokens/train_per_sec_per_gpu": 100.84,
|
| 174 |
+
"tokens/trainable": 839780
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"epoch": 0.6666666666666666,
|
| 178 |
+
"eval_loss": 0.44040805101394653,
|
| 179 |
+
"eval_ppl": 1.55334,
|
| 180 |
+
"eval_runtime": 9.4408,
|
| 181 |
+
"eval_samples_per_second": 4.237,
|
| 182 |
+
"eval_steps_per_second": 1.059,
|
| 183 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 184 |
+
"memory/max_active (GiB)": 54.54,
|
| 185 |
+
"memory/max_allocated (GiB)": 54.54,
|
| 186 |
+
"step": 10
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"epoch": 0.7333333333333333,
|
| 190 |
+
"grad_norm": 0.16248875856399536,
|
| 191 |
+
"learning_rate": 9.16998908944939e-05,
|
| 192 |
+
"loss": 0.4565,
|
| 193 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 194 |
+
"memory/max_active (GiB)": 64.12,
|
| 195 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 196 |
+
"ppl": 1.57854,
|
| 197 |
+
"step": 11,
|
| 198 |
+
"tokens/total": 11534336,
|
| 199 |
+
"tokens/train_per_sec_per_gpu": 125.3,
|
| 200 |
+
"tokens/trainable": 929267
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 0.8,
|
| 204 |
+
"grad_norm": 0.15751507878303528,
|
| 205 |
+
"learning_rate": 8.957482442146272e-05,
|
| 206 |
+
"loss": 0.44,
|
| 207 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 208 |
+
"memory/max_active (GiB)": 64.12,
|
| 209 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 210 |
+
"ppl": 1.55271,
|
| 211 |
+
"step": 12,
|
| 212 |
+
"tokens/total": 12582912,
|
| 213 |
+
"tokens/train_per_sec_per_gpu": 147.86,
|
| 214 |
+
"tokens/trainable": 1012131
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"epoch": 0.8666666666666667,
|
| 218 |
+
"grad_norm": 0.16444867849349976,
|
| 219 |
+
"learning_rate": 8.72386091371891e-05,
|
| 220 |
+
"loss": 0.4461,
|
| 221 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 222 |
+
"memory/max_active (GiB)": 64.13,
|
| 223 |
+
"memory/max_allocated (GiB)": 64.13,
|
| 224 |
+
"ppl": 1.56221,
|
| 225 |
+
"step": 13,
|
| 226 |
+
"tokens/total": 13631488,
|
| 227 |
+
"tokens/train_per_sec_per_gpu": 103.92,
|
| 228 |
+
"tokens/trainable": 1103069
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"epoch": 0.9333333333333333,
|
| 232 |
+
"grad_norm": 0.17406685650348663,
|
| 233 |
+
"learning_rate": 8.47037097610317e-05,
|
| 234 |
+
"loss": 0.4204,
|
| 235 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 236 |
+
"memory/max_active (GiB)": 64.12,
|
| 237 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 238 |
+
"ppl": 1.52257,
|
| 239 |
+
"step": 14,
|
| 240 |
+
"tokens/total": 14680064,
|
| 241 |
+
"tokens/train_per_sec_per_gpu": 113.35,
|
| 242 |
+
"tokens/trainable": 1189578
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"epoch": 1.0,
|
| 246 |
+
"grad_norm": 0.18400150537490845,
|
| 247 |
+
"learning_rate": 8.198365107794457e-05,
|
| 248 |
+
"loss": 0.4179,
|
| 249 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 250 |
+
"memory/max_active (GiB)": 64.12,
|
| 251 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 252 |
+
"ppl": 1.51877,
|
| 253 |
+
"step": 15,
|
| 254 |
+
"tokens/total": 15728640,
|
| 255 |
+
"tokens/train_per_sec_per_gpu": 87.22,
|
| 256 |
+
"tokens/trainable": 1275757
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"epoch": 1.0,
|
| 260 |
+
"eval_loss": 0.3768181800842285,
|
| 261 |
+
"eval_ppl": 1.45764,
|
| 262 |
+
"eval_runtime": 9.4968,
|
| 263 |
+
"eval_samples_per_second": 4.212,
|
| 264 |
+
"eval_steps_per_second": 1.053,
|
| 265 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 266 |
+
"memory/max_active (GiB)": 54.54,
|
| 267 |
+
"memory/max_allocated (GiB)": 54.54,
|
| 268 |
+
"step": 15
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"epoch": 1.0666666666666667,
|
| 272 |
+
"grad_norm": 0.17585863173007965,
|
| 273 |
+
"learning_rate": 7.909294577789766e-05,
|
| 274 |
+
"loss": 0.3876,
|
| 275 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 276 |
+
"memory/max_active (GiB)": 64.12,
|
| 277 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 278 |
+
"ppl": 1.47344,
|
| 279 |
+
"step": 16,
|
| 280 |
+
"tokens/total": 16777216,
|
| 281 |
+
"tokens/train_per_sec_per_gpu": 109.05,
|
| 282 |
+
"tokens/trainable": 1359118
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"epoch": 1.1333333333333333,
|
| 286 |
+
"grad_norm": 0.1488562822341919,
|
| 287 |
+
"learning_rate": 7.604701702439651e-05,
|
| 288 |
+
"loss": 0.3814,
|
| 289 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 290 |
+
"memory/max_active (GiB)": 64.12,
|
| 291 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 292 |
+
"ppl": 1.46433,
|
| 293 |
+
"step": 17,
|
| 294 |
+
"tokens/total": 17825792,
|
| 295 |
+
"tokens/train_per_sec_per_gpu": 106.73,
|
| 296 |
+
"tokens/trainable": 1443638
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"epoch": 1.2,
|
| 300 |
+
"grad_norm": 0.13896878063678741,
|
| 301 |
+
"learning_rate": 7.286211616523193e-05,
|
| 302 |
+
"loss": 0.3648,
|
| 303 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 304 |
+
"memory/max_active (GiB)": 64.12,
|
| 305 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 306 |
+
"ppl": 1.44023,
|
| 307 |
+
"step": 18,
|
| 308 |
+
"tokens/total": 18874368,
|
| 309 |
+
"tokens/train_per_sec_per_gpu": 93.25,
|
| 310 |
+
"tokens/trainable": 1527473
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"epoch": 1.2666666666666666,
|
| 314 |
+
"grad_norm": 0.11720948666334152,
|
| 315 |
+
"learning_rate": 6.95552360245078e-05,
|
| 316 |
+
"loss": 0.3512,
|
| 317 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 318 |
+
"memory/max_active (GiB)": 64.12,
|
| 319 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 320 |
+
"ppl": 1.42077,
|
| 321 |
+
"step": 19,
|
| 322 |
+
"tokens/total": 19922944,
|
| 323 |
+
"tokens/train_per_sec_per_gpu": 87.11,
|
| 324 |
+
"tokens/trainable": 1615421
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"epoch": 1.3333333333333333,
|
| 328 |
+
"grad_norm": 0.12244201451539993,
|
| 329 |
+
"learning_rate": 6.614402023857232e-05,
|
| 330 |
+
"loss": 0.3473,
|
| 331 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 332 |
+
"memory/max_active (GiB)": 64.12,
|
| 333 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 334 |
+
"ppl": 1.41524,
|
| 335 |
+
"step": 20,
|
| 336 |
+
"tokens/total": 20971520,
|
| 337 |
+
"tokens/train_per_sec_per_gpu": 108.7,
|
| 338 |
+
"tokens/trainable": 1697031
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"epoch": 1.3333333333333333,
|
| 342 |
+
"eval_loss": 0.3374583125114441,
|
| 343 |
+
"eval_ppl": 1.40138,
|
| 344 |
+
"eval_runtime": 9.3994,
|
| 345 |
+
"eval_samples_per_second": 4.256,
|
| 346 |
+
"eval_steps_per_second": 1.064,
|
| 347 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 348 |
+
"memory/max_active (GiB)": 54.54,
|
| 349 |
+
"memory/max_allocated (GiB)": 54.54,
|
| 350 |
+
"step": 20
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"epoch": 1.4,
|
| 354 |
+
"grad_norm": 0.12614424526691437,
|
| 355 |
+
"learning_rate": 6.264666911958404e-05,
|
| 356 |
+
"loss": 0.355,
|
| 357 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 358 |
+
"memory/max_active (GiB)": 64.12,
|
| 359 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 360 |
+
"ppl": 1.42618,
|
| 361 |
+
"step": 21,
|
| 362 |
+
"tokens/total": 22020096,
|
| 363 |
+
"tokens/train_per_sec_per_gpu": 89.89,
|
| 364 |
+
"tokens/trainable": 1778284
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"epoch": 1.4666666666666668,
|
| 368 |
+
"grad_norm": 0.12772953510284424,
|
| 369 |
+
"learning_rate": 5.908184254897182e-05,
|
| 370 |
+
"loss": 0.3504,
|
| 371 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 372 |
+
"memory/max_active (GiB)": 64.12,
|
| 373 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 374 |
+
"ppl": 1.41964,
|
| 375 |
+
"step": 22,
|
| 376 |
+
"tokens/total": 23068672,
|
| 377 |
+
"tokens/train_per_sec_per_gpu": 133.74,
|
| 378 |
+
"tokens/trainable": 1863358
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"epoch": 1.5333333333333332,
|
| 382 |
+
"grad_norm": 0.11631076782941818,
|
| 383 |
+
"learning_rate": 5.546856041889373e-05,
|
| 384 |
+
"loss": 0.3644,
|
| 385 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 386 |
+
"memory/max_active (GiB)": 64.12,
|
| 387 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 388 |
+
"ppl": 1.43965,
|
| 389 |
+
"step": 23,
|
| 390 |
+
"tokens/total": 24117248,
|
| 391 |
+
"tokens/train_per_sec_per_gpu": 97.81,
|
| 392 |
+
"tokens/trainable": 1956710
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"epoch": 1.6,
|
| 396 |
+
"grad_norm": 0.12257759273052216,
|
| 397 |
+
"learning_rate": 5.182610115288295e-05,
|
| 398 |
+
"loss": 0.3211,
|
| 399 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 400 |
+
"memory/max_active (GiB)": 64.12,
|
| 401 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 402 |
+
"ppl": 1.37864,
|
| 403 |
+
"step": 24,
|
| 404 |
+
"tokens/total": 25165824,
|
| 405 |
+
"tokens/train_per_sec_per_gpu": 102.96,
|
| 406 |
+
"tokens/trainable": 2036417
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"epoch": 1.6666666666666665,
|
| 410 |
+
"grad_norm": 0.10963135957717896,
|
| 411 |
+
"learning_rate": 4.817389884711705e-05,
|
| 412 |
+
"loss": 0.3125,
|
| 413 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 414 |
+
"memory/max_active (GiB)": 64.12,
|
| 415 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 416 |
+
"ppl": 1.36684,
|
| 417 |
+
"step": 25,
|
| 418 |
+
"tokens/total": 26214400,
|
| 419 |
+
"tokens/train_per_sec_per_gpu": 93.01,
|
| 420 |
+
"tokens/trainable": 2115620
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"epoch": 1.6666666666666665,
|
| 424 |
+
"eval_loss": 0.31419986486434937,
|
| 425 |
+
"eval_ppl": 1.36916,
|
| 426 |
+
"eval_runtime": 9.4055,
|
| 427 |
+
"eval_samples_per_second": 4.253,
|
| 428 |
+
"eval_steps_per_second": 1.063,
|
| 429 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 430 |
+
"memory/max_active (GiB)": 54.54,
|
| 431 |
+
"memory/max_allocated (GiB)": 54.54,
|
| 432 |
+
"step": 25
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"epoch": 1.7333333333333334,
|
| 436 |
+
"grad_norm": 0.10058556497097015,
|
| 437 |
+
"learning_rate": 4.4531439581106295e-05,
|
| 438 |
+
"loss": 0.3463,
|
| 439 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 440 |
+
"memory/max_active (GiB)": 64.12,
|
| 441 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 442 |
+
"ppl": 1.41383,
|
| 443 |
+
"step": 26,
|
| 444 |
+
"tokens/total": 27262976,
|
| 445 |
+
"tokens/train_per_sec_per_gpu": 113.03,
|
| 446 |
+
"tokens/trainable": 2206816
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"epoch": 1.8,
|
| 450 |
+
"grad_norm": 0.10328979045152664,
|
| 451 |
+
"learning_rate": 4.0918157451028185e-05,
|
| 452 |
+
"loss": 0.3385,
|
| 453 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 454 |
+
"memory/max_active (GiB)": 64.13,
|
| 455 |
+
"memory/max_allocated (GiB)": 64.13,
|
| 456 |
+
"ppl": 1.40284,
|
| 457 |
+
"step": 27,
|
| 458 |
+
"tokens/total": 28311552,
|
| 459 |
+
"tokens/train_per_sec_per_gpu": 94.68,
|
| 460 |
+
"tokens/trainable": 2296593
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"epoch": 1.8666666666666667,
|
| 464 |
+
"grad_norm": 0.0950852483510971,
|
| 465 |
+
"learning_rate": 3.735333088041596e-05,
|
| 466 |
+
"loss": 0.3226,
|
| 467 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 468 |
+
"memory/max_active (GiB)": 64.12,
|
| 469 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 470 |
+
"ppl": 1.38071,
|
| 471 |
+
"step": 28,
|
| 472 |
+
"tokens/total": 29360128,
|
| 473 |
+
"tokens/train_per_sec_per_gpu": 90.99,
|
| 474 |
+
"tokens/trainable": 2384752
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"epoch": 1.9333333333333333,
|
| 478 |
+
"grad_norm": 0.10383325070142746,
|
| 479 |
+
"learning_rate": 3.38559797614277e-05,
|
| 480 |
+
"loss": 0.3298,
|
| 481 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 482 |
+
"memory/max_active (GiB)": 64.12,
|
| 483 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 484 |
+
"ppl": 1.39069,
|
| 485 |
+
"step": 29,
|
| 486 |
+
"tokens/total": 30408704,
|
| 487 |
+
"tokens/train_per_sec_per_gpu": 101.1,
|
| 488 |
+
"tokens/trainable": 2468836
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"epoch": 2.0,
|
| 492 |
+
"grad_norm": 0.0998990386724472,
|
| 493 |
+
"learning_rate": 3.0444763975492208e-05,
|
| 494 |
+
"loss": 0.3015,
|
| 495 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 496 |
+
"memory/max_active (GiB)": 64.12,
|
| 497 |
+
"memory/max_allocated (GiB)": 64.12,
|
| 498 |
+
"ppl": 1.35189,
|
| 499 |
+
"step": 30,
|
| 500 |
+
"tokens/total": 31457280,
|
| 501 |
+
"tokens/train_per_sec_per_gpu": 109.47,
|
| 502 |
+
"tokens/trainable": 2551514
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"epoch": 2.0,
|
| 506 |
+
"eval_loss": 0.299793541431427,
|
| 507 |
+
"eval_ppl": 1.34958,
|
| 508 |
+
"eval_runtime": 9.494,
|
| 509 |
+
"eval_samples_per_second": 4.213,
|
| 510 |
+
"eval_steps_per_second": 1.053,
|
| 511 |
+
"memory/device_reserved (GiB)": 66.97,
|
| 512 |
+
"memory/max_active (GiB)": 54.54,
|
| 513 |
+
"memory/max_allocated (GiB)": 54.54,
|
| 514 |
+
"step": 30
|
| 515 |
+
}
|
| 516 |
+
],
|
| 517 |
+
"logging_steps": 1,
|
| 518 |
+
"max_steps": 45,
|
| 519 |
+
"num_input_tokens_seen": 0,
|
| 520 |
+
"num_train_epochs": 3,
|
| 521 |
+
"save_steps": 500,
|
| 522 |
+
"stateful_callbacks": {
|
| 523 |
+
"TrainerControl": {
|
| 524 |
+
"args": {
|
| 525 |
+
"should_epoch_stop": false,
|
| 526 |
+
"should_evaluate": false,
|
| 527 |
+
"should_log": false,
|
| 528 |
+
"should_save": true,
|
| 529 |
+
"should_training_stop": false
|
| 530 |
+
},
|
| 531 |
+
"attributes": {}
|
| 532 |
+
}
|
| 533 |
+
},
|
| 534 |
+
"total_flos": 1.461441134466171e+18,
|
| 535 |
+
"train_batch_size": 1,
|
| 536 |
+
"trial_name": null,
|
| 537 |
+
"trial_params": null
|
| 538 |
+
}
|
checkpoint-30/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ece1b282edbe7a80d4c287780ed395c9db305cc7252dea473a421b90ab61b16
|
| 3 |
+
size 7441
|
checkpoint-30/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-45/README.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3-8B
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- base_model:adapter:Qwen/Qwen3-8B
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Model Card for Model ID
|
| 13 |
+
|
| 14 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
## Model Details
|
| 19 |
+
|
| 20 |
+
### Model Description
|
| 21 |
+
|
| 22 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
- **Developed by:** [More Information Needed]
|
| 27 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 28 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 29 |
+
- **Model type:** [More Information Needed]
|
| 30 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 31 |
+
- **License:** [More Information Needed]
|
| 32 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 33 |
+
|
| 34 |
+
### Model Sources [optional]
|
| 35 |
+
|
| 36 |
+
<!-- Provide the basic links for the model. -->
|
| 37 |
+
|
| 38 |
+
- **Repository:** [More Information Needed]
|
| 39 |
+
- **Paper [optional]:** [More Information Needed]
|
| 40 |
+
- **Demo [optional]:** [More Information Needed]
|
| 41 |
+
|
| 42 |
+
## Uses
|
| 43 |
+
|
| 44 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 45 |
+
|
| 46 |
+
### Direct Use
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Downstream Use [optional]
|
| 53 |
+
|
| 54 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
### Out-of-Scope Use
|
| 59 |
+
|
| 60 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
## Bias, Risks, and Limitations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 67 |
+
|
| 68 |
+
[More Information Needed]
|
| 69 |
+
|
| 70 |
+
### Recommendations
|
| 71 |
+
|
| 72 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 73 |
+
|
| 74 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 75 |
+
|
| 76 |
+
## How to Get Started with the Model
|
| 77 |
+
|
| 78 |
+
Use the code below to get started with the model.
|
| 79 |
+
|
| 80 |
+
[More Information Needed]
|
| 81 |
+
|
| 82 |
+
## Training Details
|
| 83 |
+
|
| 84 |
+
### Training Data
|
| 85 |
+
|
| 86 |
+
<!-- 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. -->
|
| 87 |
+
|
| 88 |
+
[More Information Needed]
|
| 89 |
+
|
| 90 |
+
### Training Procedure
|
| 91 |
+
|
| 92 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 93 |
+
|
| 94 |
+
#### Preprocessing [optional]
|
| 95 |
+
|
| 96 |
+
[More Information Needed]
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
#### Training Hyperparameters
|
| 100 |
+
|
| 101 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 102 |
+
|
| 103 |
+
#### Speeds, Sizes, Times [optional]
|
| 104 |
+
|
| 105 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 106 |
+
|
| 107 |
+
[More Information Needed]
|
| 108 |
+
|
| 109 |
+
## Evaluation
|
| 110 |
+
|
| 111 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 112 |
+
|
| 113 |
+
### Testing Data, Factors & Metrics
|
| 114 |
+
|
| 115 |
+
#### Testing Data
|
| 116 |
+
|
| 117 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Factors
|
| 122 |
+
|
| 123 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
#### Metrics
|
| 128 |
+
|
| 129 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 130 |
+
|
| 131 |
+
[More Information Needed]
|
| 132 |
+
|
| 133 |
+
### Results
|
| 134 |
+
|
| 135 |
+
[More Information Needed]
|
| 136 |
+
|
| 137 |
+
#### Summary
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
## Model Examination [optional]
|
| 142 |
+
|
| 143 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 144 |
+
|
| 145 |
+
[More Information Needed]
|
| 146 |
+
|
| 147 |
+
## Environmental Impact
|
| 148 |
+
|
| 149 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 150 |
+
|
| 151 |
+
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).
|
| 152 |
+
|
| 153 |
+
- **Hardware Type:** [More Information Needed]
|
| 154 |
+
- **Hours used:** [More Information Needed]
|
| 155 |
+
- **Cloud Provider:** [More Information Needed]
|
| 156 |
+
- **Compute Region:** [More Information Needed]
|
| 157 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 158 |
+
|
| 159 |
+
## Technical Specifications [optional]
|
| 160 |
+
|
| 161 |
+
### Model Architecture and Objective
|
| 162 |
+
|
| 163 |
+
[More Information Needed]
|
| 164 |
+
|
| 165 |
+
### Compute Infrastructure
|
| 166 |
+
|
| 167 |
+
[More Information Needed]
|
| 168 |
+
|
| 169 |
+
#### Hardware
|
| 170 |
+
|
| 171 |
+
[More Information Needed]
|
| 172 |
+
|
| 173 |
+
#### Software
|
| 174 |
+
|
| 175 |
+
[More Information Needed]
|
| 176 |
+
|
| 177 |
+
## Citation [optional]
|
| 178 |
+
|
| 179 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 180 |
+
|
| 181 |
+
**BibTeX:**
|
| 182 |
+
|
| 183 |
+
[More Information Needed]
|
| 184 |
+
|
| 185 |
+
**APA:**
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## Glossary [optional]
|
| 190 |
+
|
| 191 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 192 |
+
|
| 193 |
+
[More Information Needed]
|
| 194 |
+
|
| 195 |
+
## More Information [optional]
|
| 196 |
+
|
| 197 |
+
[More Information Needed]
|
| 198 |
+
|
| 199 |
+
## Model Card Authors [optional]
|
| 200 |
+
|
| 201 |
+
[More Information Needed]
|
| 202 |
+
|
| 203 |
+
## Model Card Contact
|
| 204 |
+
|
| 205 |
+
[More Information Needed]
|
| 206 |
+
### Framework versions
|
| 207 |
+
|
| 208 |
+
- PEFT 0.18.1
|
checkpoint-45/adapter_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": null,
|
| 6 |
+
"base_model_name_or_path": "Qwen/Qwen3-8B",
|
| 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": null,
|
| 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": 128,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.05,
|
| 22 |
+
"megatron_config": null,
|
| 23 |
+
"megatron_core": "megatron.core",
|
| 24 |
+
"modules_to_save": null,
|
| 25 |
+
"peft_type": "LORA",
|
| 26 |
+
"peft_version": "0.18.1",
|
| 27 |
+
"qalora_group_size": 16,
|
| 28 |
+
"r": 64,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"down_proj",
|
| 33 |
+
"up_proj",
|
| 34 |
+
"k_proj",
|
| 35 |
+
"q_proj",
|
| 36 |
+
"v_proj",
|
| 37 |
+
"o_proj",
|
| 38 |
+
"gate_proj"
|
| 39 |
+
],
|
| 40 |
+
"target_parameters": [],
|
| 41 |
+
"task_type": "CAUSAL_LM",
|
| 42 |
+
"trainable_token_indices": null,
|
| 43 |
+
"use_dora": false,
|
| 44 |
+
"use_qalora": false,
|
| 45 |
+
"use_rslora": false
|
| 46 |
+
}
|
checkpoint-45/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b9f7490fc288d80e23e9312aa3324a741d50f549892ec85c177c3844de944cf
|
| 3 |
+
size 698419728
|
checkpoint-45/added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
checkpoint-45/chat_template.jinja
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# 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>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\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" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 18 |
+
{%- for message in messages[::-1] %}
|
| 19 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 20 |
+
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
| 21 |
+
{%- set ns.multi_step_tool = false %}
|
| 22 |
+
{%- set ns.last_query_index = index %}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
{%- endfor %}
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.content is string %}
|
| 27 |
+
{%- set content = message.content %}
|
| 28 |
+
{%- else %}
|
| 29 |
+
{%- set content = '' %}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 32 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 33 |
+
{%- elif message.role == "assistant" %}
|
| 34 |
+
{%- set reasoning_content = '' %}
|
| 35 |
+
{%- if message.reasoning_content is string %}
|
| 36 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 37 |
+
{%- else %}
|
| 38 |
+
{%- if '</think>' in content %}
|
| 39 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 40 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 44 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 45 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{%- else %}
|
| 50 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if message.tool_calls %}
|
| 53 |
+
{%- for tool_call in message.tool_calls %}
|
| 54 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 55 |
+
{{- '\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- if tool_call.function %}
|
| 58 |
+
{%- set tool_call = tool_call.function %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 61 |
+
{{- tool_call.name }}
|
| 62 |
+
{{- '", "arguments": ' }}
|
| 63 |
+
{%- if tool_call.arguments is string %}
|
| 64 |
+
{{- tool_call.arguments }}
|
| 65 |
+
{%- else %}
|
| 66 |
+
{{- tool_call.arguments | tojson }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{{- '}\n</tool_call>' }}
|
| 69 |
+
{%- endfor %}
|
| 70 |
+
{%- endif %}
|
| 71 |
+
{{- '<|im_end|>\n' }}
|
| 72 |
+
{%- elif message.role == "tool" %}
|
| 73 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 74 |
+
{{- '<|im_start|>user' }}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{{- '\n<tool_response>\n' }}
|
| 77 |
+
{{- content }}
|
| 78 |
+
{{- '\n</tool_response>' }}
|
| 79 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 80 |
+
{{- '<|im_end|>\n' }}
|
| 81 |
+
{%- endif %}
|
| 82 |
+
{%- endif %}
|
| 83 |
+
{%- endfor %}
|
| 84 |
+
{%- if add_generation_prompt %}
|
| 85 |
+
{{- '<|im_start|>assistant\n' }}
|
| 86 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 87 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{%- endif %}
|