Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- checkpoints/sft-r4-checkpoint-300/README.md +209 -0
- checkpoints/sft-r4-checkpoint-300/adapter_config.json +50 -0
- checkpoints/sft-r4-checkpoint-300/adapter_model.safetensors +3 -0
- checkpoints/sft-r4-checkpoint-300/chat_template.jinja +154 -0
- checkpoints/sft-r4-checkpoint-300/optimizer.pt +3 -0
- checkpoints/sft-r4-checkpoint-300/processor_config.json +60 -0
- checkpoints/sft-r4-checkpoint-300/rng_state.pth +3 -0
- checkpoints/sft-r4-checkpoint-300/scheduler.pt +3 -0
- checkpoints/sft-r4-checkpoint-300/tokenizer.json +3 -0
- checkpoints/sft-r4-checkpoint-300/tokenizer_config.json +32 -0
- checkpoints/sft-r4-checkpoint-300/trainer_state.json +700 -0
- checkpoints/sft-r4-checkpoint-300/training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -64,3 +64,4 @@ demos/furia-vs-vitality-m3-nuke.dem filter=lfs diff=lfs merge=lfs -text
|
|
| 64 |
demos/furia-vs-vitality-m4-overpass.dem filter=lfs diff=lfs merge=lfs -text
|
| 65 |
checkpoints/sft-r4-checkpoint-150/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 66 |
checkpoints/sft-r4-checkpoint-250/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 64 |
demos/furia-vs-vitality-m4-overpass.dem filter=lfs diff=lfs merge=lfs -text
|
| 65 |
checkpoints/sft-r4-checkpoint-150/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 66 |
checkpoints/sft-r4-checkpoint-250/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
checkpoints/sft-r4-checkpoint-300/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
checkpoints/sft-r4-checkpoint-300/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3.5-35B-A3B
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:Qwen/Qwen3.5-35B-A3B
|
| 7 |
+
- lora
|
| 8 |
+
- sft
|
| 9 |
+
- transformers
|
| 10 |
+
- trl
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Model Card for Model ID
|
| 14 |
+
|
| 15 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Model Details
|
| 20 |
+
|
| 21 |
+
### Model Description
|
| 22 |
+
|
| 23 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
- **Developed by:** [More Information Needed]
|
| 28 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 29 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 30 |
+
- **Model type:** [More Information Needed]
|
| 31 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 32 |
+
- **License:** [More Information Needed]
|
| 33 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 34 |
+
|
| 35 |
+
### Model Sources [optional]
|
| 36 |
+
|
| 37 |
+
<!-- Provide the basic links for the model. -->
|
| 38 |
+
|
| 39 |
+
- **Repository:** [More Information Needed]
|
| 40 |
+
- **Paper [optional]:** [More Information Needed]
|
| 41 |
+
- **Demo [optional]:** [More Information Needed]
|
| 42 |
+
|
| 43 |
+
## Uses
|
| 44 |
+
|
| 45 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 46 |
+
|
| 47 |
+
### Direct Use
|
| 48 |
+
|
| 49 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 50 |
+
|
| 51 |
+
[More Information Needed]
|
| 52 |
+
|
| 53 |
+
### Downstream Use [optional]
|
| 54 |
+
|
| 55 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 56 |
+
|
| 57 |
+
[More Information Needed]
|
| 58 |
+
|
| 59 |
+
### Out-of-Scope Use
|
| 60 |
+
|
| 61 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 62 |
+
|
| 63 |
+
[More Information Needed]
|
| 64 |
+
|
| 65 |
+
## Bias, Risks, and Limitations
|
| 66 |
+
|
| 67 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 68 |
+
|
| 69 |
+
[More Information Needed]
|
| 70 |
+
|
| 71 |
+
### Recommendations
|
| 72 |
+
|
| 73 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 74 |
+
|
| 75 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 76 |
+
|
| 77 |
+
## How to Get Started with the Model
|
| 78 |
+
|
| 79 |
+
Use the code below to get started with the model.
|
| 80 |
+
|
| 81 |
+
[More Information Needed]
|
| 82 |
+
|
| 83 |
+
## Training Details
|
| 84 |
+
|
| 85 |
+
### Training Data
|
| 86 |
+
|
| 87 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 88 |
+
|
| 89 |
+
[More Information Needed]
|
| 90 |
+
|
| 91 |
+
### Training Procedure
|
| 92 |
+
|
| 93 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 94 |
+
|
| 95 |
+
#### Preprocessing [optional]
|
| 96 |
+
|
| 97 |
+
[More Information Needed]
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
#### Training Hyperparameters
|
| 101 |
+
|
| 102 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 103 |
+
|
| 104 |
+
#### Speeds, Sizes, Times [optional]
|
| 105 |
+
|
| 106 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 107 |
+
|
| 108 |
+
[More Information Needed]
|
| 109 |
+
|
| 110 |
+
## Evaluation
|
| 111 |
+
|
| 112 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 113 |
+
|
| 114 |
+
### Testing Data, Factors & Metrics
|
| 115 |
+
|
| 116 |
+
#### Testing Data
|
| 117 |
+
|
| 118 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 119 |
+
|
| 120 |
+
[More Information Needed]
|
| 121 |
+
|
| 122 |
+
#### Factors
|
| 123 |
+
|
| 124 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
#### Metrics
|
| 129 |
+
|
| 130 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 131 |
+
|
| 132 |
+
[More Information Needed]
|
| 133 |
+
|
| 134 |
+
### Results
|
| 135 |
+
|
| 136 |
+
[More Information Needed]
|
| 137 |
+
|
| 138 |
+
#### Summary
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
## Model Examination [optional]
|
| 143 |
+
|
| 144 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 145 |
+
|
| 146 |
+
[More Information Needed]
|
| 147 |
+
|
| 148 |
+
## Environmental Impact
|
| 149 |
+
|
| 150 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 151 |
+
|
| 152 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 153 |
+
|
| 154 |
+
- **Hardware Type:** [More Information Needed]
|
| 155 |
+
- **Hours used:** [More Information Needed]
|
| 156 |
+
- **Cloud Provider:** [More Information Needed]
|
| 157 |
+
- **Compute Region:** [More Information Needed]
|
| 158 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 159 |
+
|
| 160 |
+
## Technical Specifications [optional]
|
| 161 |
+
|
| 162 |
+
### Model Architecture and Objective
|
| 163 |
+
|
| 164 |
+
[More Information Needed]
|
| 165 |
+
|
| 166 |
+
### Compute Infrastructure
|
| 167 |
+
|
| 168 |
+
[More Information Needed]
|
| 169 |
+
|
| 170 |
+
#### Hardware
|
| 171 |
+
|
| 172 |
+
[More Information Needed]
|
| 173 |
+
|
| 174 |
+
#### Software
|
| 175 |
+
|
| 176 |
+
[More Information Needed]
|
| 177 |
+
|
| 178 |
+
## Citation [optional]
|
| 179 |
+
|
| 180 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 181 |
+
|
| 182 |
+
**BibTeX:**
|
| 183 |
+
|
| 184 |
+
[More Information Needed]
|
| 185 |
+
|
| 186 |
+
**APA:**
|
| 187 |
+
|
| 188 |
+
[More Information Needed]
|
| 189 |
+
|
| 190 |
+
## Glossary [optional]
|
| 191 |
+
|
| 192 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 193 |
+
|
| 194 |
+
[More Information Needed]
|
| 195 |
+
|
| 196 |
+
## More Information [optional]
|
| 197 |
+
|
| 198 |
+
[More Information Needed]
|
| 199 |
+
|
| 200 |
+
## Model Card Authors [optional]
|
| 201 |
+
|
| 202 |
+
[More Information Needed]
|
| 203 |
+
|
| 204 |
+
## Model Card Contact
|
| 205 |
+
|
| 206 |
+
[More Information Needed]
|
| 207 |
+
### Framework versions
|
| 208 |
+
|
| 209 |
+
- PEFT 0.18.1
|
checkpoints/sft-r4-checkpoint-300/adapter_config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.5-35B-A3B",
|
| 7 |
+
"bias": "none",
|
| 8 |
+
"corda_config": null,
|
| 9 |
+
"ensure_weight_tying": false,
|
| 10 |
+
"eva_config": null,
|
| 11 |
+
"exclude_modules": null,
|
| 12 |
+
"fan_in_fan_out": false,
|
| 13 |
+
"inference_mode": true,
|
| 14 |
+
"init_lora_weights": true,
|
| 15 |
+
"layer_replication": null,
|
| 16 |
+
"layers_pattern": null,
|
| 17 |
+
"layers_to_transform": null,
|
| 18 |
+
"loftq_config": {},
|
| 19 |
+
"lora_alpha": 8,
|
| 20 |
+
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.1,
|
| 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": 4,
|
| 29 |
+
"rank_pattern": {},
|
| 30 |
+
"revision": null,
|
| 31 |
+
"target_modules": [
|
| 32 |
+
"gate_proj",
|
| 33 |
+
"o_proj",
|
| 34 |
+
"v_proj",
|
| 35 |
+
"up_proj",
|
| 36 |
+
"visual.*o_proj",
|
| 37 |
+
"q_proj",
|
| 38 |
+
"k_proj",
|
| 39 |
+
"down_proj",
|
| 40 |
+
"visual.*v_proj",
|
| 41 |
+
"visual.*q_proj",
|
| 42 |
+
"visual.*k_proj"
|
| 43 |
+
],
|
| 44 |
+
"target_parameters": null,
|
| 45 |
+
"task_type": "CAUSAL_LM",
|
| 46 |
+
"trainable_token_indices": null,
|
| 47 |
+
"use_dora": false,
|
| 48 |
+
"use_qalora": false,
|
| 49 |
+
"use_rslora": true
|
| 50 |
+
}
|
checkpoints/sft-r4-checkpoint-300/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67f54a0802dbefd84ce7fbe4fe2e23e0be5c876bffe2ff69d7d7d2158cfaa317
|
| 3 |
+
size 8405088
|
checkpoints/sft-r4-checkpoint-300/chat_template.jinja
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 101 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 104 |
+
{%- endif %}
|
| 105 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 106 |
+
{%- for tool_call in message.tool_calls %}
|
| 107 |
+
{%- if tool_call.function is defined %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- if loop.first %}
|
| 111 |
+
{%- if content|trim %}
|
| 112 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 113 |
+
{%- else %}
|
| 114 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- if tool_call.arguments is defined %}
|
| 120 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 121 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 122 |
+
{%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
|
| 123 |
+
{{- args_value }}
|
| 124 |
+
{{- '\n</parameter>\n' }}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- endif %}
|
| 127 |
+
{{- '</function>\n</tool_call>' }}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{%- endif %}
|
| 130 |
+
{{- '<|im_end|>\n' }}
|
| 131 |
+
{%- elif message.role == "tool" %}
|
| 132 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 133 |
+
{{- '<|im_start|>user' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '\n<tool_response>\n' }}
|
| 136 |
+
{{- content }}
|
| 137 |
+
{{- '\n</tool_response>' }}
|
| 138 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 139 |
+
{{- '<|im_end|>\n' }}
|
| 140 |
+
{%- elif loop.last %}
|
| 141 |
+
{{- '<|im_end|>\n' }}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{%- else %}
|
| 144 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- if add_generation_prompt %}
|
| 148 |
+
{{- '<|im_start|>assistant\n' }}
|
| 149 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 150 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 151 |
+
{%- else %}
|
| 152 |
+
{{- '<think>\n' }}
|
| 153 |
+
{%- endif %}
|
| 154 |
+
{%- endif %}
|
checkpoints/sft-r4-checkpoint-300/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40616d6e8a282240584f4e8b02640a700b035b6d3fb4d81be28af026d7b8ae3c
|
| 3 |
+
size 16980154
|
checkpoints/sft-r4-checkpoint-300/processor_config.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_processor": {
|
| 3 |
+
"do_convert_rgb": true,
|
| 4 |
+
"do_normalize": true,
|
| 5 |
+
"do_rescale": true,
|
| 6 |
+
"do_resize": true,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.5,
|
| 9 |
+
0.5,
|
| 10 |
+
0.5
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.5,
|
| 15 |
+
0.5,
|
| 16 |
+
0.5
|
| 17 |
+
],
|
| 18 |
+
"merge_size": 2,
|
| 19 |
+
"patch_size": 16,
|
| 20 |
+
"resample": 3,
|
| 21 |
+
"rescale_factor": 0.00392156862745098,
|
| 22 |
+
"size": {
|
| 23 |
+
"longest_edge": 16777216,
|
| 24 |
+
"shortest_edge": 65536
|
| 25 |
+
},
|
| 26 |
+
"temporal_patch_size": 2
|
| 27 |
+
},
|
| 28 |
+
"processor_class": "Qwen3VLProcessor",
|
| 29 |
+
"video_processor": {
|
| 30 |
+
"do_convert_rgb": true,
|
| 31 |
+
"do_normalize": true,
|
| 32 |
+
"do_rescale": true,
|
| 33 |
+
"do_resize": true,
|
| 34 |
+
"do_sample_frames": true,
|
| 35 |
+
"fps": 2,
|
| 36 |
+
"image_mean": [
|
| 37 |
+
0.5,
|
| 38 |
+
0.5,
|
| 39 |
+
0.5
|
| 40 |
+
],
|
| 41 |
+
"image_std": [
|
| 42 |
+
0.5,
|
| 43 |
+
0.5,
|
| 44 |
+
0.5
|
| 45 |
+
],
|
| 46 |
+
"max_frames": 768,
|
| 47 |
+
"merge_size": 2,
|
| 48 |
+
"min_frames": 4,
|
| 49 |
+
"patch_size": 16,
|
| 50 |
+
"resample": 3,
|
| 51 |
+
"rescale_factor": 0.00392156862745098,
|
| 52 |
+
"return_metadata": false,
|
| 53 |
+
"size": {
|
| 54 |
+
"longest_edge": 25165824,
|
| 55 |
+
"shortest_edge": 4096
|
| 56 |
+
},
|
| 57 |
+
"temporal_patch_size": 2,
|
| 58 |
+
"video_processor_type": "Qwen3VLVideoProcessor"
|
| 59 |
+
}
|
| 60 |
+
}
|
checkpoints/sft-r4-checkpoint-300/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6009e3d994260a73f6748c361189458edb7c38d4af2b4819c4d07998e2edb05
|
| 3 |
+
size 14244
|
checkpoints/sft-r4-checkpoint-300/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec871e749b0789b9bb351126c5d41d7256e56cb22882971c01d7be81d430381b
|
| 3 |
+
size 1064
|
checkpoints/sft-r4-checkpoint-300/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4
|
| 3 |
+
size 19989343
|
checkpoints/sft-r4-checkpoint-300/tokenizer_config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"audio_bos_token": "<|audio_start|>",
|
| 4 |
+
"audio_eos_token": "<|audio_end|>",
|
| 5 |
+
"audio_token": "<|audio_pad|>",
|
| 6 |
+
"backend": "tokenizers",
|
| 7 |
+
"bos_token": null,
|
| 8 |
+
"clean_up_tokenization_spaces": false,
|
| 9 |
+
"eos_token": "<|im_end|>",
|
| 10 |
+
"errors": "replace",
|
| 11 |
+
"image_token": "<|image_pad|>",
|
| 12 |
+
"is_local": false,
|
| 13 |
+
"model_max_length": 262144,
|
| 14 |
+
"model_specific_special_tokens": {
|
| 15 |
+
"audio_bos_token": "<|audio_start|>",
|
| 16 |
+
"audio_eos_token": "<|audio_end|>",
|
| 17 |
+
"audio_token": "<|audio_pad|>",
|
| 18 |
+
"image_token": "<|image_pad|>",
|
| 19 |
+
"video_token": "<|video_pad|>",
|
| 20 |
+
"vision_bos_token": "<|vision_start|>",
|
| 21 |
+
"vision_eos_token": "<|vision_end|>"
|
| 22 |
+
},
|
| 23 |
+
"pad_token": "<|endoftext|>",
|
| 24 |
+
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 25 |
+
"processor_class": "Qwen3VLProcessor",
|
| 26 |
+
"split_special_tokens": false,
|
| 27 |
+
"tokenizer_class": "TokenizersBackend",
|
| 28 |
+
"unk_token": null,
|
| 29 |
+
"video_token": "<|video_pad|>",
|
| 30 |
+
"vision_bos_token": "<|vision_start|>",
|
| 31 |
+
"vision_eos_token": "<|vision_end|>"
|
| 32 |
+
}
|
checkpoints/sft-r4-checkpoint-300/trainer_state.json
ADDED
|
@@ -0,0 +1,700 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": 300,
|
| 3 |
+
"best_metric": 0.6143179535865784,
|
| 4 |
+
"best_model_checkpoint": "/workspace/outputs/sft/checkpoint-300",
|
| 5 |
+
"epoch": 0.9888751545117429,
|
| 6 |
+
"eval_steps": 50,
|
| 7 |
+
"global_step": 300,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"entropy": 1.8625681906938554,
|
| 14 |
+
"epoch": 0.016481252575195716,
|
| 15 |
+
"grad_norm": 0.1454753875732422,
|
| 16 |
+
"learning_rate": 1.2903225806451614e-06,
|
| 17 |
+
"loss": 1.8035144805908203,
|
| 18 |
+
"mean_token_accuracy": 0.626826225221157,
|
| 19 |
+
"num_tokens": 70026.0,
|
| 20 |
+
"step": 5
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"entropy": 1.8610478401184083,
|
| 24 |
+
"epoch": 0.03296250515039143,
|
| 25 |
+
"grad_norm": 0.15334030985832214,
|
| 26 |
+
"learning_rate": 2.903225806451613e-06,
|
| 27 |
+
"loss": 1.8024667739868163,
|
| 28 |
+
"mean_token_accuracy": 0.6231411322951317,
|
| 29 |
+
"num_tokens": 140150.0,
|
| 30 |
+
"step": 10
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"entropy": 1.8536722362041473,
|
| 34 |
+
"epoch": 0.049443757725587144,
|
| 35 |
+
"grad_norm": 0.1404714286327362,
|
| 36 |
+
"learning_rate": 4.516129032258065e-06,
|
| 37 |
+
"loss": 1.7969877243041992,
|
| 38 |
+
"mean_token_accuracy": 0.6235677674412727,
|
| 39 |
+
"num_tokens": 210505.0,
|
| 40 |
+
"step": 15
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"entropy": 1.8609852105379106,
|
| 44 |
+
"epoch": 0.06592501030078286,
|
| 45 |
+
"grad_norm": 0.14545071125030518,
|
| 46 |
+
"learning_rate": 6.129032258064517e-06,
|
| 47 |
+
"loss": 1.7859794616699218,
|
| 48 |
+
"mean_token_accuracy": 0.6284302324056625,
|
| 49 |
+
"num_tokens": 280938.0,
|
| 50 |
+
"step": 20
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"entropy": 1.8642137408256532,
|
| 54 |
+
"epoch": 0.08240626287597858,
|
| 55 |
+
"grad_norm": 0.14585977792739868,
|
| 56 |
+
"learning_rate": 7.741935483870968e-06,
|
| 57 |
+
"loss": 1.7689685821533203,
|
| 58 |
+
"mean_token_accuracy": 0.6270926341414451,
|
| 59 |
+
"num_tokens": 351087.0,
|
| 60 |
+
"step": 25
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"entropy": 1.848197603225708,
|
| 64 |
+
"epoch": 0.09888751545117429,
|
| 65 |
+
"grad_norm": 0.17193512618541718,
|
| 66 |
+
"learning_rate": 9.35483870967742e-06,
|
| 67 |
+
"loss": 1.7495012283325195,
|
| 68 |
+
"mean_token_accuracy": 0.627683088183403,
|
| 69 |
+
"num_tokens": 421194.0,
|
| 70 |
+
"step": 30
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"entropy": 1.8635009974241257,
|
| 74 |
+
"epoch": 0.11536876802637,
|
| 75 |
+
"grad_norm": 0.14856132864952087,
|
| 76 |
+
"learning_rate": 9.890109890109892e-06,
|
| 77 |
+
"loss": 1.7337631225585937,
|
| 78 |
+
"mean_token_accuracy": 0.6330748066306114,
|
| 79 |
+
"num_tokens": 491380.0,
|
| 80 |
+
"step": 35
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"entropy": 1.8615332126617432,
|
| 84 |
+
"epoch": 0.13185002060156573,
|
| 85 |
+
"grad_norm": 0.16056539118289948,
|
| 86 |
+
"learning_rate": 9.706959706959708e-06,
|
| 87 |
+
"loss": 1.6925254821777345,
|
| 88 |
+
"mean_token_accuracy": 0.6370690733194351,
|
| 89 |
+
"num_tokens": 561442.0,
|
| 90 |
+
"step": 40
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"entropy": 1.8620353281497954,
|
| 94 |
+
"epoch": 0.14833127317676142,
|
| 95 |
+
"grad_norm": 0.15082859992980957,
|
| 96 |
+
"learning_rate": 9.523809523809525e-06,
|
| 97 |
+
"loss": 1.6633335113525392,
|
| 98 |
+
"mean_token_accuracy": 0.6397416204214096,
|
| 99 |
+
"num_tokens": 631746.0,
|
| 100 |
+
"step": 45
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"entropy": 1.8509426087141037,
|
| 104 |
+
"epoch": 0.16481252575195715,
|
| 105 |
+
"grad_norm": 0.16464915871620178,
|
| 106 |
+
"learning_rate": 9.340659340659341e-06,
|
| 107 |
+
"loss": 1.6389719009399415,
|
| 108 |
+
"mean_token_accuracy": 0.6415926218032837,
|
| 109 |
+
"num_tokens": 701818.0,
|
| 110 |
+
"step": 50
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 0.16481252575195715,
|
| 114 |
+
"eval_entropy": 1.936168421717251,
|
| 115 |
+
"eval_loss": 17.84930419921875,
|
| 116 |
+
"eval_mean_token_accuracy": 0.09004647613448255,
|
| 117 |
+
"eval_num_tokens": 701818.0,
|
| 118 |
+
"eval_runtime": 84.6894,
|
| 119 |
+
"eval_samples_per_second": 3.153,
|
| 120 |
+
"eval_steps_per_second": 0.401,
|
| 121 |
+
"step": 50
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"entropy": 1.842050415277481,
|
| 125 |
+
"epoch": 0.18129377832715288,
|
| 126 |
+
"grad_norm": 0.15865656733512878,
|
| 127 |
+
"learning_rate": 9.157509157509158e-06,
|
| 128 |
+
"loss": 1.5907890319824218,
|
| 129 |
+
"mean_token_accuracy": 0.6491344138979912,
|
| 130 |
+
"num_tokens": 771687.0,
|
| 131 |
+
"step": 55
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"entropy": 1.864755442738533,
|
| 135 |
+
"epoch": 0.19777503090234858,
|
| 136 |
+
"grad_norm": 0.1608717292547226,
|
| 137 |
+
"learning_rate": 8.974358974358976e-06,
|
| 138 |
+
"loss": 1.5786916732788085,
|
| 139 |
+
"mean_token_accuracy": 0.6521722123026847,
|
| 140 |
+
"num_tokens": 841816.0,
|
| 141 |
+
"step": 60
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"entropy": 1.867170724272728,
|
| 145 |
+
"epoch": 0.2142562834775443,
|
| 146 |
+
"grad_norm": 0.1586839109659195,
|
| 147 |
+
"learning_rate": 8.791208791208792e-06,
|
| 148 |
+
"loss": 1.5302973747253419,
|
| 149 |
+
"mean_token_accuracy": 0.6610125660896301,
|
| 150 |
+
"num_tokens": 911783.0,
|
| 151 |
+
"step": 65
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"entropy": 1.860149058699608,
|
| 155 |
+
"epoch": 0.23073753605274,
|
| 156 |
+
"grad_norm": 0.17357276380062103,
|
| 157 |
+
"learning_rate": 8.60805860805861e-06,
|
| 158 |
+
"loss": 1.4847640991210938,
|
| 159 |
+
"mean_token_accuracy": 0.663646936416626,
|
| 160 |
+
"num_tokens": 981981.0,
|
| 161 |
+
"step": 70
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"entropy": 1.8520050346851349,
|
| 165 |
+
"epoch": 0.24721878862793573,
|
| 166 |
+
"grad_norm": 0.16199897229671478,
|
| 167 |
+
"learning_rate": 8.424908424908426e-06,
|
| 168 |
+
"loss": 1.4419981002807618,
|
| 169 |
+
"mean_token_accuracy": 0.6675635889172554,
|
| 170 |
+
"num_tokens": 1052006.0,
|
| 171 |
+
"step": 75
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"entropy": 1.8484903484582902,
|
| 175 |
+
"epoch": 0.26370004120313145,
|
| 176 |
+
"grad_norm": 0.17749495804309845,
|
| 177 |
+
"learning_rate": 8.241758241758243e-06,
|
| 178 |
+
"loss": 1.4242611885070802,
|
| 179 |
+
"mean_token_accuracy": 0.6767673924565315,
|
| 180 |
+
"num_tokens": 1122224.0,
|
| 181 |
+
"step": 80
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"entropy": 1.8528915822505951,
|
| 185 |
+
"epoch": 0.2801812937783272,
|
| 186 |
+
"grad_norm": 0.1709885597229004,
|
| 187 |
+
"learning_rate": 8.058608058608059e-06,
|
| 188 |
+
"loss": 1.3811380386352539,
|
| 189 |
+
"mean_token_accuracy": 0.6840103477239609,
|
| 190 |
+
"num_tokens": 1192418.0,
|
| 191 |
+
"step": 85
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"entropy": 1.8589201122522354,
|
| 195 |
+
"epoch": 0.29666254635352285,
|
| 196 |
+
"grad_norm": 0.1663929671049118,
|
| 197 |
+
"learning_rate": 7.875457875457876e-06,
|
| 198 |
+
"loss": 1.3506019592285157,
|
| 199 |
+
"mean_token_accuracy": 0.683865362405777,
|
| 200 |
+
"num_tokens": 1262465.0,
|
| 201 |
+
"step": 90
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"entropy": 1.8551470249891282,
|
| 205 |
+
"epoch": 0.3131437989287186,
|
| 206 |
+
"grad_norm": 0.1778641641139984,
|
| 207 |
+
"learning_rate": 7.692307692307694e-06,
|
| 208 |
+
"loss": 1.3351479530334474,
|
| 209 |
+
"mean_token_accuracy": 0.691157029569149,
|
| 210 |
+
"num_tokens": 1332721.0,
|
| 211 |
+
"step": 95
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"entropy": 1.8129139631986617,
|
| 215 |
+
"epoch": 0.3296250515039143,
|
| 216 |
+
"grad_norm": 0.17584021389484406,
|
| 217 |
+
"learning_rate": 7.50915750915751e-06,
|
| 218 |
+
"loss": 1.2906265258789062,
|
| 219 |
+
"mean_token_accuracy": 0.6945675238966942,
|
| 220 |
+
"num_tokens": 1402813.0,
|
| 221 |
+
"step": 100
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"epoch": 0.3296250515039143,
|
| 225 |
+
"eval_entropy": 1.9285533112638138,
|
| 226 |
+
"eval_loss": 17.827802658081055,
|
| 227 |
+
"eval_mean_token_accuracy": 0.08945047899204142,
|
| 228 |
+
"eval_num_tokens": 1402813.0,
|
| 229 |
+
"eval_runtime": 84.3954,
|
| 230 |
+
"eval_samples_per_second": 3.164,
|
| 231 |
+
"eval_steps_per_second": 0.403,
|
| 232 |
+
"step": 100
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"entropy": 1.827027717232704,
|
| 236 |
+
"epoch": 0.34610630407911,
|
| 237 |
+
"grad_norm": 0.17700403928756714,
|
| 238 |
+
"learning_rate": 7.326007326007326e-06,
|
| 239 |
+
"loss": 1.2579866409301759,
|
| 240 |
+
"mean_token_accuracy": 0.6988943010568619,
|
| 241 |
+
"num_tokens": 1473038.0,
|
| 242 |
+
"step": 105
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"entropy": 1.8411761701107026,
|
| 246 |
+
"epoch": 0.36258755665430575,
|
| 247 |
+
"grad_norm": 0.1812407374382019,
|
| 248 |
+
"learning_rate": 7.1428571428571436e-06,
|
| 249 |
+
"loss": 1.2130599975585938,
|
| 250 |
+
"mean_token_accuracy": 0.7024908930063247,
|
| 251 |
+
"num_tokens": 1543239.0,
|
| 252 |
+
"step": 110
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"entropy": 1.8053904891014099,
|
| 256 |
+
"epoch": 0.3790688092295014,
|
| 257 |
+
"grad_norm": 0.18231268227100372,
|
| 258 |
+
"learning_rate": 6.95970695970696e-06,
|
| 259 |
+
"loss": 1.16105375289917,
|
| 260 |
+
"mean_token_accuracy": 0.7181750684976578,
|
| 261 |
+
"num_tokens": 1613115.0,
|
| 262 |
+
"step": 115
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"entropy": 1.83621626496315,
|
| 266 |
+
"epoch": 0.39555006180469715,
|
| 267 |
+
"grad_norm": 0.17638300359249115,
|
| 268 |
+
"learning_rate": 6.776556776556777e-06,
|
| 269 |
+
"loss": 1.1523637771606445,
|
| 270 |
+
"mean_token_accuracy": 0.7155369043350219,
|
| 271 |
+
"num_tokens": 1683380.0,
|
| 272 |
+
"step": 120
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"entropy": 1.8108260214328766,
|
| 276 |
+
"epoch": 0.4120313143798929,
|
| 277 |
+
"grad_norm": 0.18957221508026123,
|
| 278 |
+
"learning_rate": 6.5934065934065935e-06,
|
| 279 |
+
"loss": 1.1241387367248534,
|
| 280 |
+
"mean_token_accuracy": 0.7231118977069855,
|
| 281 |
+
"num_tokens": 1753611.0,
|
| 282 |
+
"step": 125
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"entropy": 1.8036078006029128,
|
| 286 |
+
"epoch": 0.4285125669550886,
|
| 287 |
+
"grad_norm": 0.19330433011054993,
|
| 288 |
+
"learning_rate": 6.410256410256412e-06,
|
| 289 |
+
"loss": 1.0714478492736816,
|
| 290 |
+
"mean_token_accuracy": 0.7347903609275818,
|
| 291 |
+
"num_tokens": 1823641.0,
|
| 292 |
+
"step": 130
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"entropy": 1.8113961309194564,
|
| 296 |
+
"epoch": 0.44499381953028433,
|
| 297 |
+
"grad_norm": 0.18374739587306976,
|
| 298 |
+
"learning_rate": 6.227106227106228e-06,
|
| 299 |
+
"loss": 1.0801268577575684,
|
| 300 |
+
"mean_token_accuracy": 0.7340392529964447,
|
| 301 |
+
"num_tokens": 1893684.0,
|
| 302 |
+
"step": 135
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"entropy": 1.7943649142980576,
|
| 306 |
+
"epoch": 0.46147507210548,
|
| 307 |
+
"grad_norm": 0.1914217621088028,
|
| 308 |
+
"learning_rate": 6.043956043956044e-06,
|
| 309 |
+
"loss": 1.0360787391662598,
|
| 310 |
+
"mean_token_accuracy": 0.7439818546175957,
|
| 311 |
+
"num_tokens": 1963763.0,
|
| 312 |
+
"step": 140
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"entropy": 1.7990740090608597,
|
| 316 |
+
"epoch": 0.4779563246806757,
|
| 317 |
+
"grad_norm": 0.19294722378253937,
|
| 318 |
+
"learning_rate": 5.860805860805862e-06,
|
| 319 |
+
"loss": 1.0117392539978027,
|
| 320 |
+
"mean_token_accuracy": 0.7487068325281143,
|
| 321 |
+
"num_tokens": 2033727.0,
|
| 322 |
+
"step": 145
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"entropy": 1.7902782738208771,
|
| 326 |
+
"epoch": 0.49443757725587145,
|
| 327 |
+
"grad_norm": 0.1999003142118454,
|
| 328 |
+
"learning_rate": 5.677655677655678e-06,
|
| 329 |
+
"loss": 0.9878538131713868,
|
| 330 |
+
"mean_token_accuracy": 0.7534404560923577,
|
| 331 |
+
"num_tokens": 2103939.0,
|
| 332 |
+
"step": 150
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 0.49443757725587145,
|
| 336 |
+
"eval_entropy": 1.9263873906696545,
|
| 337 |
+
"eval_loss": 17.77781105041504,
|
| 338 |
+
"eval_mean_token_accuracy": 0.08881154174313825,
|
| 339 |
+
"eval_num_tokens": 2103939.0,
|
| 340 |
+
"eval_runtime": 83.6893,
|
| 341 |
+
"eval_samples_per_second": 3.19,
|
| 342 |
+
"eval_steps_per_second": 0.406,
|
| 343 |
+
"step": 150
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"entropy": 1.7909079521894455,
|
| 347 |
+
"epoch": 0.5109188298310672,
|
| 348 |
+
"grad_norm": 0.20560365915298462,
|
| 349 |
+
"learning_rate": 5.494505494505495e-06,
|
| 350 |
+
"loss": 0.9561556816101074,
|
| 351 |
+
"mean_token_accuracy": 0.7648921072483063,
|
| 352 |
+
"num_tokens": 70029.0,
|
| 353 |
+
"step": 155
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"entropy": 1.7766894787549972,
|
| 357 |
+
"epoch": 0.5274000824062629,
|
| 358 |
+
"grad_norm": 0.19038932025432587,
|
| 359 |
+
"learning_rate": 5.3113553113553116e-06,
|
| 360 |
+
"loss": 0.9342113494873047,
|
| 361 |
+
"mean_token_accuracy": 0.7716967672109604,
|
| 362 |
+
"num_tokens": 140303.0,
|
| 363 |
+
"step": 160
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"entropy": 1.7705890268087388,
|
| 367 |
+
"epoch": 0.5438813349814586,
|
| 368 |
+
"grad_norm": 0.19215577840805054,
|
| 369 |
+
"learning_rate": 5.128205128205128e-06,
|
| 370 |
+
"loss": 0.8959014892578125,
|
| 371 |
+
"mean_token_accuracy": 0.7815975099802017,
|
| 372 |
+
"num_tokens": 210494.0,
|
| 373 |
+
"step": 165
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"entropy": 1.7800974875688553,
|
| 377 |
+
"epoch": 0.5603625875566544,
|
| 378 |
+
"grad_norm": 0.19815395772457123,
|
| 379 |
+
"learning_rate": 4.945054945054946e-06,
|
| 380 |
+
"loss": 0.8787262916564942,
|
| 381 |
+
"mean_token_accuracy": 0.7841403603553772,
|
| 382 |
+
"num_tokens": 280580.0,
|
| 383 |
+
"step": 170
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"entropy": 1.7736626446247101,
|
| 387 |
+
"epoch": 0.57684384013185,
|
| 388 |
+
"grad_norm": 0.18911585211753845,
|
| 389 |
+
"learning_rate": 4.761904761904762e-06,
|
| 390 |
+
"loss": 0.8589111328125,
|
| 391 |
+
"mean_token_accuracy": 0.791597880423069,
|
| 392 |
+
"num_tokens": 350848.0,
|
| 393 |
+
"step": 175
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"entropy": 1.751650619506836,
|
| 397 |
+
"epoch": 0.5933250927070457,
|
| 398 |
+
"grad_norm": 0.18970052897930145,
|
| 399 |
+
"learning_rate": 4.578754578754579e-06,
|
| 400 |
+
"loss": 0.847142505645752,
|
| 401 |
+
"mean_token_accuracy": 0.7953164771199226,
|
| 402 |
+
"num_tokens": 420973.0,
|
| 403 |
+
"step": 180
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"entropy": 1.758780699968338,
|
| 407 |
+
"epoch": 0.6098063452822414,
|
| 408 |
+
"grad_norm": 0.19576974213123322,
|
| 409 |
+
"learning_rate": 4.395604395604396e-06,
|
| 410 |
+
"loss": 0.8268314361572265,
|
| 411 |
+
"mean_token_accuracy": 0.8013696730136871,
|
| 412 |
+
"num_tokens": 491052.0,
|
| 413 |
+
"step": 185
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"entropy": 1.7583089917898178,
|
| 417 |
+
"epoch": 0.6262875978574372,
|
| 418 |
+
"grad_norm": 0.19718389213085175,
|
| 419 |
+
"learning_rate": 4.212454212454213e-06,
|
| 420 |
+
"loss": 0.7904998302459717,
|
| 421 |
+
"mean_token_accuracy": 0.8089580908417702,
|
| 422 |
+
"num_tokens": 561173.0,
|
| 423 |
+
"step": 190
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"entropy": 1.7503840386867524,
|
| 427 |
+
"epoch": 0.6427688504326329,
|
| 428 |
+
"grad_norm": 0.19153806567192078,
|
| 429 |
+
"learning_rate": 4.0293040293040296e-06,
|
| 430 |
+
"loss": 0.791364049911499,
|
| 431 |
+
"mean_token_accuracy": 0.8054965883493423,
|
| 432 |
+
"num_tokens": 631295.0,
|
| 433 |
+
"step": 195
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"entropy": 1.725535136461258,
|
| 437 |
+
"epoch": 0.6592501030078286,
|
| 438 |
+
"grad_norm": 0.18559232354164124,
|
| 439 |
+
"learning_rate": 3.846153846153847e-06,
|
| 440 |
+
"loss": 0.7749922752380372,
|
| 441 |
+
"mean_token_accuracy": 0.8130372256040573,
|
| 442 |
+
"num_tokens": 701546.0,
|
| 443 |
+
"step": 200
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"epoch": 0.6592501030078286,
|
| 447 |
+
"eval_entropy": 1.7307551678489237,
|
| 448 |
+
"eval_loss": 0.7595899701118469,
|
| 449 |
+
"eval_mean_token_accuracy": 0.8145861538017497,
|
| 450 |
+
"eval_num_tokens": 701546.0,
|
| 451 |
+
"eval_runtime": 95.2699,
|
| 452 |
+
"eval_samples_per_second": 2.803,
|
| 453 |
+
"eval_steps_per_second": 0.357,
|
| 454 |
+
"step": 200
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"entropy": 1.741222655773163,
|
| 458 |
+
"epoch": 0.6757313555830243,
|
| 459 |
+
"grad_norm": 0.1939234882593155,
|
| 460 |
+
"learning_rate": 3.663003663003663e-06,
|
| 461 |
+
"loss": 0.7494216918945312,
|
| 462 |
+
"mean_token_accuracy": 0.820683377981186,
|
| 463 |
+
"num_tokens": 771852.0,
|
| 464 |
+
"step": 205
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"entropy": 1.7368192076683044,
|
| 468 |
+
"epoch": 0.69221260815822,
|
| 469 |
+
"grad_norm": 0.2072792798280716,
|
| 470 |
+
"learning_rate": 3.47985347985348e-06,
|
| 471 |
+
"loss": 0.7162331581115723,
|
| 472 |
+
"mean_token_accuracy": 0.8288181573152542,
|
| 473 |
+
"num_tokens": 841931.0,
|
| 474 |
+
"step": 210
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"entropy": 1.7492121756076813,
|
| 478 |
+
"epoch": 0.7086938607334158,
|
| 479 |
+
"grad_norm": 0.18974336981773376,
|
| 480 |
+
"learning_rate": 3.2967032967032968e-06,
|
| 481 |
+
"loss": 0.7423850536346436,
|
| 482 |
+
"mean_token_accuracy": 0.8176894277334213,
|
| 483 |
+
"num_tokens": 912175.0,
|
| 484 |
+
"step": 215
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"entropy": 1.7203788310289383,
|
| 488 |
+
"epoch": 0.7251751133086115,
|
| 489 |
+
"grad_norm": 0.18409734964370728,
|
| 490 |
+
"learning_rate": 3.113553113553114e-06,
|
| 491 |
+
"loss": 0.7389413356781006,
|
| 492 |
+
"mean_token_accuracy": 0.8220999449491501,
|
| 493 |
+
"num_tokens": 982568.0,
|
| 494 |
+
"step": 220
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"entropy": 1.7290432304143906,
|
| 498 |
+
"epoch": 0.7416563658838071,
|
| 499 |
+
"grad_norm": 0.20997817814350128,
|
| 500 |
+
"learning_rate": 2.930402930402931e-06,
|
| 501 |
+
"loss": 0.6808001041412354,
|
| 502 |
+
"mean_token_accuracy": 0.8353404074907302,
|
| 503 |
+
"num_tokens": 1052749.0,
|
| 504 |
+
"step": 225
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"entropy": 1.712652972340584,
|
| 508 |
+
"epoch": 0.7581376184590028,
|
| 509 |
+
"grad_norm": 0.19462943077087402,
|
| 510 |
+
"learning_rate": 2.7472527472527476e-06,
|
| 511 |
+
"loss": 0.6650900840759277,
|
| 512 |
+
"mean_token_accuracy": 0.8390259116888046,
|
| 513 |
+
"num_tokens": 1122870.0,
|
| 514 |
+
"step": 230
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"entropy": 1.7228418588638306,
|
| 518 |
+
"epoch": 0.7746188710341986,
|
| 519 |
+
"grad_norm": 0.2009136825799942,
|
| 520 |
+
"learning_rate": 2.564102564102564e-06,
|
| 521 |
+
"loss": 0.6480743408203125,
|
| 522 |
+
"mean_token_accuracy": 0.8394363850355149,
|
| 523 |
+
"num_tokens": 1192940.0,
|
| 524 |
+
"step": 235
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"entropy": 1.7311555087566375,
|
| 528 |
+
"epoch": 0.7911001236093943,
|
| 529 |
+
"grad_norm": 0.2159048169851303,
|
| 530 |
+
"learning_rate": 2.380952380952381e-06,
|
| 531 |
+
"loss": 0.6445355415344238,
|
| 532 |
+
"mean_token_accuracy": 0.8385150194168091,
|
| 533 |
+
"num_tokens": 1263050.0,
|
| 534 |
+
"step": 240
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"entropy": 1.7059365510940552,
|
| 538 |
+
"epoch": 0.80758137618459,
|
| 539 |
+
"grad_norm": 0.19779840111732483,
|
| 540 |
+
"learning_rate": 2.197802197802198e-06,
|
| 541 |
+
"loss": 0.6536271572113037,
|
| 542 |
+
"mean_token_accuracy": 0.8392149686813355,
|
| 543 |
+
"num_tokens": 1333021.0,
|
| 544 |
+
"step": 245
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"entropy": 1.7087138652801515,
|
| 548 |
+
"epoch": 0.8240626287597858,
|
| 549 |
+
"grad_norm": 0.17982707917690277,
|
| 550 |
+
"learning_rate": 2.0146520146520148e-06,
|
| 551 |
+
"loss": 0.6465630054473877,
|
| 552 |
+
"mean_token_accuracy": 0.8436389431357384,
|
| 553 |
+
"num_tokens": 1402976.0,
|
| 554 |
+
"step": 250
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"epoch": 0.8240626287597858,
|
| 558 |
+
"eval_entropy": 1.708024231826558,
|
| 559 |
+
"eval_loss": 0.6501755118370056,
|
| 560 |
+
"eval_mean_token_accuracy": 0.839492480544483,
|
| 561 |
+
"eval_num_tokens": 1402976.0,
|
| 562 |
+
"eval_runtime": 95.0102,
|
| 563 |
+
"eval_samples_per_second": 2.81,
|
| 564 |
+
"eval_steps_per_second": 0.358,
|
| 565 |
+
"step": 250
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"entropy": 1.7213136196136474,
|
| 569 |
+
"epoch": 0.8405438813349815,
|
| 570 |
+
"grad_norm": 0.21380053460597992,
|
| 571 |
+
"learning_rate": 1.8315018315018316e-06,
|
| 572 |
+
"loss": 0.6723570823669434,
|
| 573 |
+
"mean_token_accuracy": 0.8345030725002289,
|
| 574 |
+
"num_tokens": 1473282.0,
|
| 575 |
+
"step": 255
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"entropy": 1.7271157532930375,
|
| 579 |
+
"epoch": 0.8570251339101772,
|
| 580 |
+
"grad_norm": 0.18761925399303436,
|
| 581 |
+
"learning_rate": 1.6483516483516484e-06,
|
| 582 |
+
"loss": 0.6097790241241455,
|
| 583 |
+
"mean_token_accuracy": 0.8497416540980339,
|
| 584 |
+
"num_tokens": 1543142.0,
|
| 585 |
+
"step": 260
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"entropy": 1.6951370924711227,
|
| 589 |
+
"epoch": 0.8735063864853729,
|
| 590 |
+
"grad_norm": 0.18711934983730316,
|
| 591 |
+
"learning_rate": 1.4652014652014654e-06,
|
| 592 |
+
"loss": 0.6248265266418457,
|
| 593 |
+
"mean_token_accuracy": 0.8478066816926002,
|
| 594 |
+
"num_tokens": 1613162.0,
|
| 595 |
+
"step": 265
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"entropy": 1.7189669579267501,
|
| 599 |
+
"epoch": 0.8899876390605687,
|
| 600 |
+
"grad_norm": 0.19070710241794586,
|
| 601 |
+
"learning_rate": 1.282051282051282e-06,
|
| 602 |
+
"loss": 0.6635353088378906,
|
| 603 |
+
"mean_token_accuracy": 0.8380728244781495,
|
| 604 |
+
"num_tokens": 1683378.0,
|
| 605 |
+
"step": 270
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"entropy": 1.7134688287973403,
|
| 609 |
+
"epoch": 0.9064688916357643,
|
| 610 |
+
"grad_norm": 0.21477040648460388,
|
| 611 |
+
"learning_rate": 1.098901098901099e-06,
|
| 612 |
+
"loss": 0.5750832080841064,
|
| 613 |
+
"mean_token_accuracy": 0.8558843225240708,
|
| 614 |
+
"num_tokens": 1753286.0,
|
| 615 |
+
"step": 275
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"entropy": 1.702772429585457,
|
| 619 |
+
"epoch": 0.92295014421096,
|
| 620 |
+
"grad_norm": 0.18918122351169586,
|
| 621 |
+
"learning_rate": 9.157509157509158e-07,
|
| 622 |
+
"loss": 0.6102353572845459,
|
| 623 |
+
"mean_token_accuracy": 0.8493393138051033,
|
| 624 |
+
"num_tokens": 1823395.0,
|
| 625 |
+
"step": 280
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"entropy": 1.7104978770017625,
|
| 629 |
+
"epoch": 0.9394313967861557,
|
| 630 |
+
"grad_norm": 0.1932806372642517,
|
| 631 |
+
"learning_rate": 7.326007326007327e-07,
|
| 632 |
+
"loss": 0.6028625011444092,
|
| 633 |
+
"mean_token_accuracy": 0.8523873209953308,
|
| 634 |
+
"num_tokens": 1893517.0,
|
| 635 |
+
"step": 285
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"entropy": 1.714013946056366,
|
| 639 |
+
"epoch": 0.9559126493613515,
|
| 640 |
+
"grad_norm": 0.19983869791030884,
|
| 641 |
+
"learning_rate": 5.494505494505495e-07,
|
| 642 |
+
"loss": 0.5795154571533203,
|
| 643 |
+
"mean_token_accuracy": 0.8595574289560318,
|
| 644 |
+
"num_tokens": 1963330.0,
|
| 645 |
+
"step": 290
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"entropy": 1.7148546516895293,
|
| 649 |
+
"epoch": 0.9723939019365472,
|
| 650 |
+
"grad_norm": 0.1850764900445938,
|
| 651 |
+
"learning_rate": 3.6630036630036635e-07,
|
| 652 |
+
"loss": 0.6335454940795898,
|
| 653 |
+
"mean_token_accuracy": 0.8457690313458442,
|
| 654 |
+
"num_tokens": 2033562.0,
|
| 655 |
+
"step": 295
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"entropy": 1.7128892064094543,
|
| 659 |
+
"epoch": 0.9888751545117429,
|
| 660 |
+
"grad_norm": 0.1997297704219818,
|
| 661 |
+
"learning_rate": 1.8315018315018317e-07,
|
| 662 |
+
"loss": 0.572676420211792,
|
| 663 |
+
"mean_token_accuracy": 0.8583425745368004,
|
| 664 |
+
"num_tokens": 2103549.0,
|
| 665 |
+
"step": 300
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"epoch": 0.9888751545117429,
|
| 669 |
+
"eval_entropy": 1.7006285295766943,
|
| 670 |
+
"eval_loss": 0.6143179535865784,
|
| 671 |
+
"eval_mean_token_accuracy": 0.8486325512914097,
|
| 672 |
+
"eval_num_tokens": 2103549.0,
|
| 673 |
+
"eval_runtime": 100.0671,
|
| 674 |
+
"eval_samples_per_second": 2.668,
|
| 675 |
+
"eval_steps_per_second": 0.34,
|
| 676 |
+
"step": 300
|
| 677 |
+
}
|
| 678 |
+
],
|
| 679 |
+
"logging_steps": 5,
|
| 680 |
+
"max_steps": 304,
|
| 681 |
+
"num_input_tokens_seen": 0,
|
| 682 |
+
"num_train_epochs": 1,
|
| 683 |
+
"save_steps": 50,
|
| 684 |
+
"stateful_callbacks": {
|
| 685 |
+
"TrainerControl": {
|
| 686 |
+
"args": {
|
| 687 |
+
"should_epoch_stop": false,
|
| 688 |
+
"should_evaluate": false,
|
| 689 |
+
"should_log": false,
|
| 690 |
+
"should_save": true,
|
| 691 |
+
"should_training_stop": false
|
| 692 |
+
},
|
| 693 |
+
"attributes": {}
|
| 694 |
+
}
|
| 695 |
+
},
|
| 696 |
+
"total_flos": 8.734254661852324e+17,
|
| 697 |
+
"train_batch_size": 1,
|
| 698 |
+
"trial_name": null,
|
| 699 |
+
"trial_params": null
|
| 700 |
+
}
|
checkpoints/sft-r4-checkpoint-300/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8fd9754fd1a56d38a8867f1b845cf92ac47fcfc122f11cbf9396d4c0a9b3f6c
|
| 3 |
+
size 5304
|