Init commit
Browse files- .gitattributes +1 -0
- README.md +60 -3
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +24 -0
- all_results.json +8 -0
- merges.txt +0 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +209 -0
- train_results.json +8 -0
- trainer_log.jsonl +26 -0
- trainer_state.json +189 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ 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 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,60 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: other
|
| 4 |
+
base_model: unsloth/Qwen2.5-7B-Instruct-unsloth-bnb-4bit
|
| 5 |
+
tags:
|
| 6 |
+
- llama-factory
|
| 7 |
+
- lora
|
| 8 |
+
- generated_from_trainer
|
| 9 |
+
model-index:
|
| 10 |
+
- name: qwen2.5-7B-q4-abstrct-normalized-text
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# qwen2.5-7B-q4-abstrct-normalized-text
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [unsloth/Qwen2.5-7B-Instruct-unsloth-bnb-4bit](https://huggingface.co/unsloth/Qwen2.5-7B-Instruct-unsloth-bnb-4bit) on the abstrct dataset.
|
| 20 |
+
|
| 21 |
+
## Model description
|
| 22 |
+
|
| 23 |
+
More information needed
|
| 24 |
+
|
| 25 |
+
## Intended uses & limitations
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Training and evaluation data
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training procedure
|
| 34 |
+
|
| 35 |
+
### Training hyperparameters
|
| 36 |
+
|
| 37 |
+
The following hyperparameters were used during training:
|
| 38 |
+
- learning_rate: 5e-05
|
| 39 |
+
- train_batch_size: 2
|
| 40 |
+
- eval_batch_size: 8
|
| 41 |
+
- seed: 42
|
| 42 |
+
- gradient_accumulation_steps: 4
|
| 43 |
+
- total_train_batch_size: 8
|
| 44 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 45 |
+
- lr_scheduler_type: cosine
|
| 46 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 47 |
+
- num_epochs: 5
|
| 48 |
+
- mixed_precision_training: Native AMP
|
| 49 |
+
|
| 50 |
+
### Training results
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
### Framework versions
|
| 55 |
+
|
| 56 |
+
- PEFT 0.12.0
|
| 57 |
+
- Transformers 4.49.0
|
| 58 |
+
- Pytorch 2.6.0+cu124
|
| 59 |
+
- Datasets 3.2.0
|
| 60 |
+
- Tokenizers 0.21.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "unsloth/Qwen2.5-7B-Instruct-unsloth-bnb-4bit",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 16,
|
| 14 |
+
"lora_dropout": 0.0,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 8,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": [
|
| 23 |
+
"down_proj",
|
| 24 |
+
"k_proj",
|
| 25 |
+
"o_proj",
|
| 26 |
+
"v_proj",
|
| 27 |
+
"q_proj",
|
| 28 |
+
"gate_proj",
|
| 29 |
+
"up_proj"
|
| 30 |
+
],
|
| 31 |
+
"task_type": "CAUSAL_LM",
|
| 32 |
+
"use_dora": false,
|
| 33 |
+
"use_rslora": false
|
| 34 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d3d88897f14aca48b1c6ac7495f67953d60bd069211680d0f6a0d0cf8249abe
|
| 3 |
+
size 80792096
|
added_tokens.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</tool_call>": 151658,
|
| 3 |
+
"<tool_call>": 151657,
|
| 4 |
+
"<|box_end|>": 151649,
|
| 5 |
+
"<|box_start|>": 151648,
|
| 6 |
+
"<|endoftext|>": 151643,
|
| 7 |
+
"<|file_sep|>": 151664,
|
| 8 |
+
"<|fim_middle|>": 151660,
|
| 9 |
+
"<|fim_pad|>": 151662,
|
| 10 |
+
"<|fim_prefix|>": 151659,
|
| 11 |
+
"<|fim_suffix|>": 151661,
|
| 12 |
+
"<|im_end|>": 151645,
|
| 13 |
+
"<|im_start|>": 151644,
|
| 14 |
+
"<|image_pad|>": 151655,
|
| 15 |
+
"<|object_ref_end|>": 151647,
|
| 16 |
+
"<|object_ref_start|>": 151646,
|
| 17 |
+
"<|quad_end|>": 151651,
|
| 18 |
+
"<|quad_start|>": 151650,
|
| 19 |
+
"<|repo_name|>": 151663,
|
| 20 |
+
"<|video_pad|>": 151656,
|
| 21 |
+
"<|vision_end|>": 151653,
|
| 22 |
+
"<|vision_pad|>": 151654,
|
| 23 |
+
"<|vision_start|>": 151652
|
| 24 |
+
}
|
all_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 4.982857142857143,
|
| 3 |
+
"total_flos": 8.918620683072307e+16,
|
| 4 |
+
"train_loss": 0.008782218914305749,
|
| 5 |
+
"train_runtime": 2136.729,
|
| 6 |
+
"train_samples_per_second": 0.819,
|
| 7 |
+
"train_steps_per_second": 0.101
|
| 8 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
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": "<|vision_pad|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
| 3 |
+
size 11421896
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 199 |
+
"clean_up_tokenization_spaces": false,
|
| 200 |
+
"eos_token": "<|im_end|>",
|
| 201 |
+
"errors": "replace",
|
| 202 |
+
"extra_special_tokens": {},
|
| 203 |
+
"model_max_length": 32768,
|
| 204 |
+
"pad_token": "<|vision_pad|>",
|
| 205 |
+
"padding_side": "right",
|
| 206 |
+
"split_special_tokens": false,
|
| 207 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 208 |
+
"unk_token": null
|
| 209 |
+
}
|
train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 4.982857142857143,
|
| 3 |
+
"total_flos": 8.918620683072307e+16,
|
| 4 |
+
"train_loss": 0.008782218914305749,
|
| 5 |
+
"train_runtime": 2136.729,
|
| 6 |
+
"train_samples_per_second": 0.819,
|
| 7 |
+
"train_steps_per_second": 0.101
|
| 8 |
+
}
|
trainer_log.jsonl
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"current_steps": 10, "total_steps": 215, "loss": 0.0615, "lr": 2.272727272727273e-05, "epoch": 0.22857142857142856, "percentage": 4.65, "elapsed_time": "0:01:33", "remaining_time": "0:31:53"}
|
| 2 |
+
{"current_steps": 20, "total_steps": 215, "loss": 0.0209, "lr": 4.545454545454546e-05, "epoch": 0.45714285714285713, "percentage": 9.3, "elapsed_time": "0:03:12", "remaining_time": "0:31:18"}
|
| 3 |
+
{"current_steps": 10, "total_steps": 215, "loss": 0.0615, "lr": 2.272727272727273e-05, "epoch": 0.22857142857142856, "percentage": 4.65, "elapsed_time": "0:01:33", "remaining_time": "0:32:00"}
|
| 4 |
+
{"current_steps": 20, "total_steps": 215, "loss": 0.0209, "lr": 4.545454545454546e-05, "epoch": 0.45714285714285713, "percentage": 9.3, "elapsed_time": "0:03:13", "remaining_time": "0:31:27"}
|
| 5 |
+
{"current_steps": 10, "total_steps": 215, "loss": 0.0615, "lr": 2.272727272727273e-05, "epoch": 0.22857142857142856, "percentage": 4.65, "elapsed_time": "0:01:33", "remaining_time": "0:31:55"}
|
| 6 |
+
{"current_steps": 20, "total_steps": 215, "loss": 0.0209, "lr": 4.545454545454546e-05, "epoch": 0.45714285714285713, "percentage": 9.3, "elapsed_time": "0:03:13", "remaining_time": "0:31:23"}
|
| 7 |
+
{"current_steps": 30, "total_steps": 215, "loss": 0.0134, "lr": 4.9788329024834144e-05, "epoch": 0.6857142857142857, "percentage": 13.95, "elapsed_time": "0:04:52", "remaining_time": "0:30:02"}
|
| 8 |
+
{"current_steps": 40, "total_steps": 215, "loss": 0.0108, "lr": 4.893455513052003e-05, "epoch": 0.9142857142857143, "percentage": 18.6, "elapsed_time": "0:06:36", "remaining_time": "0:28:55"}
|
| 9 |
+
{"current_steps": 50, "total_steps": 215, "loss": 0.0089, "lr": 4.7448003278586086e-05, "epoch": 1.16, "percentage": 23.26, "elapsed_time": "0:08:21", "remaining_time": "0:27:36"}
|
| 10 |
+
{"current_steps": 60, "total_steps": 215, "loss": 0.0084, "lr": 4.536797469020116e-05, "epoch": 1.3885714285714286, "percentage": 27.91, "elapsed_time": "0:09:59", "remaining_time": "0:25:47"}
|
| 11 |
+
{"current_steps": 70, "total_steps": 215, "loss": 0.008, "lr": 4.274946082999753e-05, "epoch": 1.617142857142857, "percentage": 32.56, "elapsed_time": "0:11:35", "remaining_time": "0:24:00"}
|
| 12 |
+
{"current_steps": 80, "total_steps": 215, "loss": 0.0082, "lr": 3.9661689550484805e-05, "epoch": 1.8457142857142856, "percentage": 37.21, "elapsed_time": "0:13:11", "remaining_time": "0:22:15"}
|
| 13 |
+
{"current_steps": 90, "total_steps": 215, "loss": 0.0077, "lr": 3.6186294857107936e-05, "epoch": 2.0914285714285716, "percentage": 41.86, "elapsed_time": "0:14:58", "remaining_time": "0:20:47"}
|
| 14 |
+
{"current_steps": 100, "total_steps": 215, "loss": 0.0046, "lr": 3.241515868140921e-05, "epoch": 2.32, "percentage": 46.51, "elapsed_time": "0:16:39", "remaining_time": "0:19:09"}
|
| 15 |
+
{"current_steps": 110, "total_steps": 215, "loss": 0.0058, "lr": 2.844798172115185e-05, "epoch": 2.5485714285714285, "percentage": 51.16, "elapsed_time": "0:18:18", "remaining_time": "0:17:28"}
|
| 16 |
+
{"current_steps": 120, "total_steps": 215, "loss": 0.0049, "lr": 2.438964756914712e-05, "epoch": 2.777142857142857, "percentage": 55.81, "elapsed_time": "0:19:53", "remaining_time": "0:15:45"}
|
| 17 |
+
{"current_steps": 130, "total_steps": 215, "loss": 0.0057, "lr": 2.034744981752741e-05, "epoch": 3.0228571428571427, "percentage": 60.47, "elapsed_time": "0:21:35", "remaining_time": "0:14:07"}
|
| 18 |
+
{"current_steps": 140, "total_steps": 215, "loss": 0.0031, "lr": 1.642825544684101e-05, "epoch": 3.2514285714285713, "percentage": 65.12, "elapsed_time": "0:23:09", "remaining_time": "0:12:24"}
|
| 19 |
+
{"current_steps": 150, "total_steps": 215, "loss": 0.0028, "lr": 1.2735679493836009e-05, "epoch": 3.48, "percentage": 69.77, "elapsed_time": "0:24:49", "remaining_time": "0:10:45"}
|
| 20 |
+
{"current_steps": 160, "total_steps": 215, "loss": 0.0033, "lr": 9.367345693616624e-06, "epoch": 3.7085714285714286, "percentage": 74.42, "elapsed_time": "0:26:28", "remaining_time": "0:09:06"}
|
| 21 |
+
{"current_steps": 170, "total_steps": 215, "loss": 0.0028, "lr": 6.412305518878342e-06, "epoch": 3.9371428571428573, "percentage": 79.07, "elapsed_time": "0:28:07", "remaining_time": "0:07:26"}
|
| 22 |
+
{"current_steps": 180, "total_steps": 215, "loss": 0.0025, "lr": 3.948683851251878e-06, "epoch": 4.182857142857143, "percentage": 83.72, "elapsed_time": "0:29:54", "remaining_time": "0:05:48"}
|
| 23 |
+
{"current_steps": 190, "total_steps": 215, "loss": 0.0018, "lr": 2.041613528121822e-06, "epoch": 4.411428571428571, "percentage": 88.37, "elapsed_time": "0:31:37", "remaining_time": "0:04:09"}
|
| 24 |
+
{"current_steps": 200, "total_steps": 215, "loss": 0.0014, "lr": 7.415133710424793e-07, "epoch": 4.64, "percentage": 93.02, "elapsed_time": "0:33:09", "remaining_time": "0:02:29"}
|
| 25 |
+
{"current_steps": 210, "total_steps": 215, "loss": 0.0016, "lr": 8.275522096146405e-08, "epoch": 4.868571428571428, "percentage": 97.67, "elapsed_time": "0:34:46", "remaining_time": "0:00:49"}
|
| 26 |
+
{"current_steps": 215, "total_steps": 215, "epoch": 4.982857142857143, "percentage": 100.0, "elapsed_time": "0:35:35", "remaining_time": "0:00:00"}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 4.982857142857143,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 215,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.22857142857142856,
|
| 13 |
+
"grad_norm": 0.06870704144239426,
|
| 14 |
+
"learning_rate": 2.272727272727273e-05,
|
| 15 |
+
"loss": 0.0615,
|
| 16 |
+
"step": 10
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.45714285714285713,
|
| 20 |
+
"grad_norm": 0.07055369019508362,
|
| 21 |
+
"learning_rate": 4.545454545454546e-05,
|
| 22 |
+
"loss": 0.0209,
|
| 23 |
+
"step": 20
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.6857142857142857,
|
| 27 |
+
"grad_norm": 0.036877382546663284,
|
| 28 |
+
"learning_rate": 4.9788329024834144e-05,
|
| 29 |
+
"loss": 0.0134,
|
| 30 |
+
"step": 30
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.9142857142857143,
|
| 34 |
+
"grad_norm": 0.041551634669303894,
|
| 35 |
+
"learning_rate": 4.893455513052003e-05,
|
| 36 |
+
"loss": 0.0108,
|
| 37 |
+
"step": 40
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 1.16,
|
| 41 |
+
"grad_norm": 0.030595853924751282,
|
| 42 |
+
"learning_rate": 4.7448003278586086e-05,
|
| 43 |
+
"loss": 0.0089,
|
| 44 |
+
"step": 50
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 1.3885714285714286,
|
| 48 |
+
"grad_norm": 0.029393771663308144,
|
| 49 |
+
"learning_rate": 4.536797469020116e-05,
|
| 50 |
+
"loss": 0.0084,
|
| 51 |
+
"step": 60
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 1.617142857142857,
|
| 55 |
+
"grad_norm": 0.07787137478590012,
|
| 56 |
+
"learning_rate": 4.274946082999753e-05,
|
| 57 |
+
"loss": 0.008,
|
| 58 |
+
"step": 70
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 1.8457142857142856,
|
| 62 |
+
"grad_norm": 0.041888438165187836,
|
| 63 |
+
"learning_rate": 3.9661689550484805e-05,
|
| 64 |
+
"loss": 0.0082,
|
| 65 |
+
"step": 80
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 2.0914285714285716,
|
| 69 |
+
"grad_norm": 0.03249946981668472,
|
| 70 |
+
"learning_rate": 3.6186294857107936e-05,
|
| 71 |
+
"loss": 0.0077,
|
| 72 |
+
"step": 90
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"epoch": 2.32,
|
| 76 |
+
"grad_norm": 0.0420403890311718,
|
| 77 |
+
"learning_rate": 3.241515868140921e-05,
|
| 78 |
+
"loss": 0.0046,
|
| 79 |
+
"step": 100
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"epoch": 2.5485714285714285,
|
| 83 |
+
"grad_norm": 0.0769946500658989,
|
| 84 |
+
"learning_rate": 2.844798172115185e-05,
|
| 85 |
+
"loss": 0.0058,
|
| 86 |
+
"step": 110
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 2.777142857142857,
|
| 90 |
+
"grad_norm": 0.02508358843624592,
|
| 91 |
+
"learning_rate": 2.438964756914712e-05,
|
| 92 |
+
"loss": 0.0049,
|
| 93 |
+
"step": 120
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"epoch": 3.0228571428571427,
|
| 97 |
+
"grad_norm": 0.06438242644071579,
|
| 98 |
+
"learning_rate": 2.034744981752741e-05,
|
| 99 |
+
"loss": 0.0057,
|
| 100 |
+
"step": 130
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 3.2514285714285713,
|
| 104 |
+
"grad_norm": 0.02097385935485363,
|
| 105 |
+
"learning_rate": 1.642825544684101e-05,
|
| 106 |
+
"loss": 0.0031,
|
| 107 |
+
"step": 140
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"epoch": 3.48,
|
| 111 |
+
"grad_norm": 0.02690581977367401,
|
| 112 |
+
"learning_rate": 1.2735679493836009e-05,
|
| 113 |
+
"loss": 0.0028,
|
| 114 |
+
"step": 150
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 3.7085714285714286,
|
| 118 |
+
"grad_norm": 0.021756254136562347,
|
| 119 |
+
"learning_rate": 9.367345693616624e-06,
|
| 120 |
+
"loss": 0.0033,
|
| 121 |
+
"step": 160
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 3.9371428571428573,
|
| 125 |
+
"grad_norm": 0.0332612618803978,
|
| 126 |
+
"learning_rate": 6.412305518878342e-06,
|
| 127 |
+
"loss": 0.0028,
|
| 128 |
+
"step": 170
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"epoch": 4.182857142857143,
|
| 132 |
+
"grad_norm": 0.03361232951283455,
|
| 133 |
+
"learning_rate": 3.948683851251878e-06,
|
| 134 |
+
"loss": 0.0025,
|
| 135 |
+
"step": 180
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"epoch": 4.411428571428571,
|
| 139 |
+
"grad_norm": 0.025048233568668365,
|
| 140 |
+
"learning_rate": 2.041613528121822e-06,
|
| 141 |
+
"loss": 0.0018,
|
| 142 |
+
"step": 190
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"epoch": 4.64,
|
| 146 |
+
"grad_norm": 0.04568938910961151,
|
| 147 |
+
"learning_rate": 7.415133710424793e-07,
|
| 148 |
+
"loss": 0.0014,
|
| 149 |
+
"step": 200
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"epoch": 4.868571428571428,
|
| 153 |
+
"grad_norm": 0.04061714932322502,
|
| 154 |
+
"learning_rate": 8.275522096146405e-08,
|
| 155 |
+
"loss": 0.0016,
|
| 156 |
+
"step": 210
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"epoch": 4.982857142857143,
|
| 160 |
+
"step": 215,
|
| 161 |
+
"total_flos": 8.918620683072307e+16,
|
| 162 |
+
"train_loss": 0.008782218914305749,
|
| 163 |
+
"train_runtime": 2136.729,
|
| 164 |
+
"train_samples_per_second": 0.819,
|
| 165 |
+
"train_steps_per_second": 0.101
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
"logging_steps": 10,
|
| 169 |
+
"max_steps": 215,
|
| 170 |
+
"num_input_tokens_seen": 0,
|
| 171 |
+
"num_train_epochs": 5,
|
| 172 |
+
"save_steps": 500,
|
| 173 |
+
"stateful_callbacks": {
|
| 174 |
+
"TrainerControl": {
|
| 175 |
+
"args": {
|
| 176 |
+
"should_epoch_stop": false,
|
| 177 |
+
"should_evaluate": false,
|
| 178 |
+
"should_log": false,
|
| 179 |
+
"should_save": true,
|
| 180 |
+
"should_training_stop": true
|
| 181 |
+
},
|
| 182 |
+
"attributes": {}
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
"total_flos": 8.918620683072307e+16,
|
| 186 |
+
"train_batch_size": 2,
|
| 187 |
+
"trial_name": null,
|
| 188 |
+
"trial_params": null
|
| 189 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:938f00fb987e1b6a219cb5fa2f901a0dba83fae45c2bae8e5755271b77243ad4
|
| 3 |
+
size 5752
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|