upload fine tuning model
Browse files- .gitattributes +1 -0
- README.md +210 -0
- adapter_config.json +50 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +28 -0
- chat_template.jinja +144 -0
- merges.txt +0 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +240 -0
- trainer_state.json +637 -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
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
- unsloth
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Model Card for Model ID
|
| 15 |
+
|
| 16 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## Model Details
|
| 21 |
+
|
| 22 |
+
### Model Description
|
| 23 |
+
|
| 24 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
- **Developed by:** [More Information Needed]
|
| 29 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 30 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 31 |
+
- **Model type:** [More Information Needed]
|
| 32 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 33 |
+
- **License:** [More Information Needed]
|
| 34 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
### Model Sources [optional]
|
| 37 |
+
|
| 38 |
+
<!-- Provide the basic links for the model. -->
|
| 39 |
+
|
| 40 |
+
- **Repository:** [More Information Needed]
|
| 41 |
+
- **Paper [optional]:** [More Information Needed]
|
| 42 |
+
- **Demo [optional]:** [More Information Needed]
|
| 43 |
+
|
| 44 |
+
## Uses
|
| 45 |
+
|
| 46 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 47 |
+
|
| 48 |
+
### Direct Use
|
| 49 |
+
|
| 50 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 51 |
+
|
| 52 |
+
[More Information Needed]
|
| 53 |
+
|
| 54 |
+
### Downstream Use [optional]
|
| 55 |
+
|
| 56 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 57 |
+
|
| 58 |
+
[More Information Needed]
|
| 59 |
+
|
| 60 |
+
### Out-of-Scope Use
|
| 61 |
+
|
| 62 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 63 |
+
|
| 64 |
+
[More Information Needed]
|
| 65 |
+
|
| 66 |
+
## Bias, Risks, and Limitations
|
| 67 |
+
|
| 68 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 69 |
+
|
| 70 |
+
[More Information Needed]
|
| 71 |
+
|
| 72 |
+
### Recommendations
|
| 73 |
+
|
| 74 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 75 |
+
|
| 76 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 77 |
+
|
| 78 |
+
## How to Get Started with the Model
|
| 79 |
+
|
| 80 |
+
Use the code below to get started with the model.
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
## Training Details
|
| 85 |
+
|
| 86 |
+
### Training Data
|
| 87 |
+
|
| 88 |
+
<!-- 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. -->
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
### Training Procedure
|
| 93 |
+
|
| 94 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 95 |
+
|
| 96 |
+
#### Preprocessing [optional]
|
| 97 |
+
|
| 98 |
+
[More Information Needed]
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
#### Training Hyperparameters
|
| 102 |
+
|
| 103 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 104 |
+
|
| 105 |
+
#### Speeds, Sizes, Times [optional]
|
| 106 |
+
|
| 107 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 108 |
+
|
| 109 |
+
[More Information Needed]
|
| 110 |
+
|
| 111 |
+
## Evaluation
|
| 112 |
+
|
| 113 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 114 |
+
|
| 115 |
+
### Testing Data, Factors & Metrics
|
| 116 |
+
|
| 117 |
+
#### Testing Data
|
| 118 |
+
|
| 119 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 120 |
+
|
| 121 |
+
[More Information Needed]
|
| 122 |
+
|
| 123 |
+
#### Factors
|
| 124 |
+
|
| 125 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 126 |
+
|
| 127 |
+
[More Information Needed]
|
| 128 |
+
|
| 129 |
+
#### Metrics
|
| 130 |
+
|
| 131 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 132 |
+
|
| 133 |
+
[More Information Needed]
|
| 134 |
+
|
| 135 |
+
### Results
|
| 136 |
+
|
| 137 |
+
[More Information Needed]
|
| 138 |
+
|
| 139 |
+
#### Summary
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
## Model Examination [optional]
|
| 144 |
+
|
| 145 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 146 |
+
|
| 147 |
+
[More Information Needed]
|
| 148 |
+
|
| 149 |
+
## Environmental Impact
|
| 150 |
+
|
| 151 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 152 |
+
|
| 153 |
+
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).
|
| 154 |
+
|
| 155 |
+
- **Hardware Type:** [More Information Needed]
|
| 156 |
+
- **Hours used:** [More Information Needed]
|
| 157 |
+
- **Cloud Provider:** [More Information Needed]
|
| 158 |
+
- **Compute Region:** [More Information Needed]
|
| 159 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 160 |
+
|
| 161 |
+
## Technical Specifications [optional]
|
| 162 |
+
|
| 163 |
+
### Model Architecture and Objective
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
### Compute Infrastructure
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
#### Hardware
|
| 172 |
+
|
| 173 |
+
[More Information Needed]
|
| 174 |
+
|
| 175 |
+
#### Software
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
## Citation [optional]
|
| 180 |
+
|
| 181 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 182 |
+
|
| 183 |
+
**BibTeX:**
|
| 184 |
+
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
|
| 187 |
+
**APA:**
|
| 188 |
+
|
| 189 |
+
[More Information Needed]
|
| 190 |
+
|
| 191 |
+
## Glossary [optional]
|
| 192 |
+
|
| 193 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## More Information [optional]
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
|
| 201 |
+
## Model Card Authors [optional]
|
| 202 |
+
|
| 203 |
+
[More Information Needed]
|
| 204 |
+
|
| 205 |
+
## Model Card Contact
|
| 206 |
+
|
| 207 |
+
[More Information Needed]
|
| 208 |
+
### Framework versions
|
| 209 |
+
|
| 210 |
+
- PEFT 0.18.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "Qwen3ForCausalLM",
|
| 7 |
+
"parent_library": "transformers.models.qwen3.modeling_qwen3",
|
| 8 |
+
"unsloth_fixed": true
|
| 9 |
+
},
|
| 10 |
+
"base_model_name_or_path": "ismaprasetiyadi/Biawak-8B-Base",
|
| 11 |
+
"bias": "none",
|
| 12 |
+
"corda_config": null,
|
| 13 |
+
"ensure_weight_tying": false,
|
| 14 |
+
"eva_config": null,
|
| 15 |
+
"exclude_modules": null,
|
| 16 |
+
"fan_in_fan_out": false,
|
| 17 |
+
"inference_mode": true,
|
| 18 |
+
"init_lora_weights": true,
|
| 19 |
+
"layer_replication": null,
|
| 20 |
+
"layers_pattern": null,
|
| 21 |
+
"layers_to_transform": null,
|
| 22 |
+
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 32,
|
| 24 |
+
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0.05,
|
| 26 |
+
"megatron_config": null,
|
| 27 |
+
"megatron_core": "megatron.core",
|
| 28 |
+
"modules_to_save": null,
|
| 29 |
+
"peft_type": "LORA",
|
| 30 |
+
"peft_version": "0.18.0",
|
| 31 |
+
"qalora_group_size": 16,
|
| 32 |
+
"r": 16,
|
| 33 |
+
"rank_pattern": {},
|
| 34 |
+
"revision": null,
|
| 35 |
+
"target_modules": [
|
| 36 |
+
"up_proj",
|
| 37 |
+
"q_proj",
|
| 38 |
+
"o_proj",
|
| 39 |
+
"gate_proj",
|
| 40 |
+
"v_proj",
|
| 41 |
+
"k_proj",
|
| 42 |
+
"down_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": false
|
| 50 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c40251ed9a8d51831e18e724bf3b732fabb118079ffa6cacba158719af22ea5
|
| 3 |
+
size 174655536
|
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|>": 151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ages[0].role == 'system' %}
|
| 6 |
+
{{- messages[0].content + '
|
| 7 |
+
|
| 8 |
+
' }}
|
| 9 |
+
{%- endif %}
|
| 10 |
+
{{- "# Tools
|
| 11 |
+
|
| 12 |
+
You may call one or more functions to assist with the user query.
|
| 13 |
+
|
| 14 |
+
You are provided with function signatures within <tools></tools> XML tags:
|
| 15 |
+
<tools>" }}
|
| 16 |
+
{%- for tool in tools %}
|
| 17 |
+
{{- "
|
| 18 |
+
" }}
|
| 19 |
+
{{- tool | tojson }}
|
| 20 |
+
{%- endfor %}
|
| 21 |
+
{{- "
|
| 22 |
+
</tools>
|
| 23 |
+
|
| 24 |
+
For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
|
| 25 |
+
<tool_call>
|
| 26 |
+
{\"name\": <function-name>, \"arguments\": <args-json-object>}
|
| 27 |
+
</tool_call><|im_end|>
|
| 28 |
+
" }}
|
| 29 |
+
{%- else %}
|
| 30 |
+
{%- if messages[0].role == 'system' %}
|
| 31 |
+
{{- '<|im_start|>system
|
| 32 |
+
' + messages[0].content + '<|im_end|>
|
| 33 |
+
' }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endif %}
|
| 36 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 37 |
+
{%- for forward_message in messages %}
|
| 38 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 39 |
+
{%- set message = messages[index] %}
|
| 40 |
+
{%- set current_content = message.content if message.content is not none else '' %}
|
| 41 |
+
{%- set tool_start = '<tool_response>' %}
|
| 42 |
+
{%- set tool_start_length = tool_start|length %}
|
| 43 |
+
{%- set start_of_message = current_content[:tool_start_length] %}
|
| 44 |
+
{%- set tool_end = '</tool_response>' %}
|
| 45 |
+
{%- set tool_end_length = tool_end|length %}
|
| 46 |
+
{%- set start_pos = (current_content|length) - tool_end_length %}
|
| 47 |
+
{%- if start_pos < 0 %}
|
| 48 |
+
{%- set start_pos = 0 %}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- set end_of_message = current_content[start_pos:] %}
|
| 51 |
+
{%- if ns.multi_step_tool and message.role == "user" and not(start_of_message == tool_start and end_of_message == tool_end) %}
|
| 52 |
+
{%- set ns.multi_step_tool = false %}
|
| 53 |
+
{%- set ns.last_query_index = index %}
|
| 54 |
+
{%- endif %}
|
| 55 |
+
{%- endfor %}
|
| 56 |
+
{%- for message in messages %}
|
| 57 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 58 |
+
{{- '<|im_start|>' + message.role + '
|
| 59 |
+
' + message.content + '<|im_end|>' + '
|
| 60 |
+
' }}
|
| 61 |
+
{%- elif message.role == "assistant" %}
|
| 62 |
+
{%- set content = message.content %}
|
| 63 |
+
{%- set reasoning_content = '' %}
|
| 64 |
+
{%- if message.reasoning_content is defined and message.reasoning_content is not none %}
|
| 65 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 66 |
+
{%- else %}
|
| 67 |
+
{%- if '</think>' in message.content %}
|
| 68 |
+
{%- set content = (message.content.split('</think>')|last).lstrip('
|
| 69 |
+
') %}
|
| 70 |
+
{%- set reasoning_content = (message.content.split('</think>')|first).rstrip('
|
| 71 |
+
') %}
|
| 72 |
+
{%- set reasoning_content = (reasoning_content.split('<think>')|last).lstrip('
|
| 73 |
+
') %}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 77 |
+
{%- if loop.last or (not loop.last and reasoning_content) %}
|
| 78 |
+
{{- '<|im_start|>' + message.role + '
|
| 79 |
+
<think>
|
| 80 |
+
' + reasoning_content.strip('
|
| 81 |
+
') + '
|
| 82 |
+
</think>
|
| 83 |
+
|
| 84 |
+
' + content.lstrip('
|
| 85 |
+
') }}
|
| 86 |
+
{%- else %}
|
| 87 |
+
{{- '<|im_start|>' + message.role + '
|
| 88 |
+
' + content }}
|
| 89 |
+
{%- endif %}
|
| 90 |
+
{%- else %}
|
| 91 |
+
{{- '<|im_start|>' + message.role + '
|
| 92 |
+
' + content }}
|
| 93 |
+
{%- endif %}
|
| 94 |
+
{%- if message.tool_calls %}
|
| 95 |
+
{%- for tool_call in message.tool_calls %}
|
| 96 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 97 |
+
{{- '
|
| 98 |
+
' }}
|
| 99 |
+
{%- endif %}
|
| 100 |
+
{%- if tool_call.function %}
|
| 101 |
+
{%- set tool_call = tool_call.function %}
|
| 102 |
+
{%- endif %}
|
| 103 |
+
{{- '<tool_call>
|
| 104 |
+
{"name": "' }}
|
| 105 |
+
{{- tool_call.name }}
|
| 106 |
+
{{- '", "arguments": ' }}
|
| 107 |
+
{%- if tool_call.arguments is string %}
|
| 108 |
+
{{- tool_call.arguments }}
|
| 109 |
+
{%- else %}
|
| 110 |
+
{{- tool_call.arguments | tojson }}
|
| 111 |
+
{%- endif %}
|
| 112 |
+
{{- '}
|
| 113 |
+
</tool_call>' }}
|
| 114 |
+
{%- endfor %}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{{- '<|im_end|>
|
| 117 |
+
' }}
|
| 118 |
+
{%- elif message.role == "tool" %}
|
| 119 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 120 |
+
{{- '<|im_start|>user' }}
|
| 121 |
+
{%- endif %}
|
| 122 |
+
{{- '
|
| 123 |
+
<tool_response>
|
| 124 |
+
' }}
|
| 125 |
+
{{- message.content }}
|
| 126 |
+
{{- '
|
| 127 |
+
</tool_response>' }}
|
| 128 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 129 |
+
{{- '<|im_end|>
|
| 130 |
+
' }}
|
| 131 |
+
{%- endif %}
|
| 132 |
+
{%- endif %}
|
| 133 |
+
{%- endfor %}
|
| 134 |
+
{%- if add_generation_prompt %}
|
| 135 |
+
{{- '<|im_start|>assistant
|
| 136 |
+
' }}
|
| 137 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 138 |
+
{{- '<think>
|
| 139 |
+
|
| 140 |
+
</think>
|
| 141 |
+
|
| 142 |
+
' }}
|
| 143 |
+
{%- endif %}
|
| 144 |
+
{%- endif %}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5edaa968405b8825456bf6b63287589c696fb791fe07966d4437732d11d54bc
|
| 3 |
+
size 89251077
|
rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a09a0dbe1b0dd4e8b12226739f335797927c1e94820312c55bdd16bbe59fdee
|
| 3 |
+
size 14645
|
scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cea9dceb1aa198c4ab51767e3161cb5b5deeed4a28d0bd1c987687f08656919a
|
| 3 |
+
size 1465
|
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 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
|
| 3 |
+
size 11422654
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
| 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": 40960,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"padding_side": "right",
|
| 237 |
+
"split_special_tokens": false,
|
| 238 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 239 |
+
"unk_token": null
|
| 240 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,637 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"best_global_step": 540,
|
| 3 |
+
"best_metric": 0.6846529245376587,
|
| 4 |
+
"best_model_checkpoint": "./SFT-Biawak-8B-AGQ-9k-Unsloth/checkpoint-540",
|
| 5 |
+
"epoch": 1.0651851851851852,
|
| 6 |
+
"eval_steps": 20,
|
| 7 |
+
"global_step": 540,
|
| 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.019753086419753086,
|
| 14 |
+
"grad_norm": 0.12180884182453156,
|
| 15 |
+
"learning_rate": 3.529411764705883e-06,
|
| 16 |
+
"loss": 1.0077,
|
| 17 |
+
"step": 10
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"epoch": 0.03950617283950617,
|
| 21 |
+
"grad_norm": 0.12343215197324753,
|
| 22 |
+
"learning_rate": 7.450980392156863e-06,
|
| 23 |
+
"loss": 1.0123,
|
| 24 |
+
"step": 20
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.03950617283950617,
|
| 28 |
+
"eval_loss": 1.008449673652649,
|
| 29 |
+
"eval_runtime": 693.1464,
|
| 30 |
+
"eval_samples_per_second": 1.298,
|
| 31 |
+
"eval_steps_per_second": 0.325,
|
| 32 |
+
"step": 20
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"epoch": 0.05925925925925926,
|
| 36 |
+
"grad_norm": 0.10348870605230331,
|
| 37 |
+
"learning_rate": 1.1372549019607844e-05,
|
| 38 |
+
"loss": 1.0082,
|
| 39 |
+
"step": 30
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"epoch": 0.07901234567901234,
|
| 43 |
+
"grad_norm": 0.07634297758340836,
|
| 44 |
+
"learning_rate": 1.5294117647058822e-05,
|
| 45 |
+
"loss": 1.0066,
|
| 46 |
+
"step": 40
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 0.07901234567901234,
|
| 50 |
+
"eval_loss": 0.981907844543457,
|
| 51 |
+
"eval_runtime": 692.8615,
|
| 52 |
+
"eval_samples_per_second": 1.299,
|
| 53 |
+
"eval_steps_per_second": 0.325,
|
| 54 |
+
"step": 40
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 0.09876543209876543,
|
| 58 |
+
"grad_norm": 0.08009450137615204,
|
| 59 |
+
"learning_rate": 1.9215686274509807e-05,
|
| 60 |
+
"loss": 0.9875,
|
| 61 |
+
"step": 50
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"epoch": 0.11851851851851852,
|
| 65 |
+
"grad_norm": 0.07544852048158646,
|
| 66 |
+
"learning_rate": 1.983385254413292e-05,
|
| 67 |
+
"loss": 0.9598,
|
| 68 |
+
"step": 60
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"epoch": 0.11851851851851852,
|
| 72 |
+
"eval_loss": 0.942278265953064,
|
| 73 |
+
"eval_runtime": 692.9975,
|
| 74 |
+
"eval_samples_per_second": 1.299,
|
| 75 |
+
"eval_steps_per_second": 0.325,
|
| 76 |
+
"step": 60
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"epoch": 0.1382716049382716,
|
| 80 |
+
"grad_norm": 0.07001063972711563,
|
| 81 |
+
"learning_rate": 1.9626168224299065e-05,
|
| 82 |
+
"loss": 0.9437,
|
| 83 |
+
"step": 70
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"epoch": 0.1580246913580247,
|
| 87 |
+
"grad_norm": 0.071407251060009,
|
| 88 |
+
"learning_rate": 1.9418483904465214e-05,
|
| 89 |
+
"loss": 0.9285,
|
| 90 |
+
"step": 80
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"epoch": 0.1580246913580247,
|
| 94 |
+
"eval_loss": 0.9138963222503662,
|
| 95 |
+
"eval_runtime": 692.9879,
|
| 96 |
+
"eval_samples_per_second": 1.299,
|
| 97 |
+
"eval_steps_per_second": 0.325,
|
| 98 |
+
"step": 80
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"epoch": 0.17777777777777778,
|
| 102 |
+
"grad_norm": 0.07237081229686737,
|
| 103 |
+
"learning_rate": 1.9210799584631362e-05,
|
| 104 |
+
"loss": 0.9125,
|
| 105 |
+
"step": 90
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"epoch": 0.19753086419753085,
|
| 109 |
+
"grad_norm": 0.07662062346935272,
|
| 110 |
+
"learning_rate": 1.900311526479751e-05,
|
| 111 |
+
"loss": 0.9038,
|
| 112 |
+
"step": 100
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"epoch": 0.19753086419753085,
|
| 116 |
+
"eval_loss": 0.8946752548217773,
|
| 117 |
+
"eval_runtime": 691.8474,
|
| 118 |
+
"eval_samples_per_second": 1.301,
|
| 119 |
+
"eval_steps_per_second": 0.325,
|
| 120 |
+
"step": 100
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"epoch": 0.21728395061728395,
|
| 124 |
+
"grad_norm": 0.08586585521697998,
|
| 125 |
+
"learning_rate": 1.8795430944963656e-05,
|
| 126 |
+
"loss": 0.897,
|
| 127 |
+
"step": 110
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"epoch": 0.23703703703703705,
|
| 131 |
+
"grad_norm": 0.08783987909555435,
|
| 132 |
+
"learning_rate": 1.8587746625129804e-05,
|
| 133 |
+
"loss": 0.895,
|
| 134 |
+
"step": 120
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"epoch": 0.23703703703703705,
|
| 138 |
+
"eval_loss": 0.8792117238044739,
|
| 139 |
+
"eval_runtime": 692.2208,
|
| 140 |
+
"eval_samples_per_second": 1.3,
|
| 141 |
+
"eval_steps_per_second": 0.325,
|
| 142 |
+
"step": 120
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"epoch": 0.25679012345679014,
|
| 146 |
+
"grad_norm": 0.09886828064918518,
|
| 147 |
+
"learning_rate": 1.8380062305295953e-05,
|
| 148 |
+
"loss": 0.9017,
|
| 149 |
+
"step": 130
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"epoch": 0.2765432098765432,
|
| 153 |
+
"grad_norm": 0.09867409616708755,
|
| 154 |
+
"learning_rate": 1.81723779854621e-05,
|
| 155 |
+
"loss": 0.8908,
|
| 156 |
+
"step": 140
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"epoch": 0.2765432098765432,
|
| 160 |
+
"eval_loss": 0.8661272525787354,
|
| 161 |
+
"eval_runtime": 691.9966,
|
| 162 |
+
"eval_samples_per_second": 1.301,
|
| 163 |
+
"eval_steps_per_second": 0.325,
|
| 164 |
+
"step": 140
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"epoch": 0.2962962962962963,
|
| 168 |
+
"grad_norm": 0.10584826022386551,
|
| 169 |
+
"learning_rate": 1.7964693665628246e-05,
|
| 170 |
+
"loss": 0.8591,
|
| 171 |
+
"step": 150
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"epoch": 0.3160493827160494,
|
| 175 |
+
"grad_norm": 0.11180440336465836,
|
| 176 |
+
"learning_rate": 1.7757009345794395e-05,
|
| 177 |
+
"loss": 0.8704,
|
| 178 |
+
"step": 160
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.3160493827160494,
|
| 182 |
+
"eval_loss": 0.853992760181427,
|
| 183 |
+
"eval_runtime": 691.8935,
|
| 184 |
+
"eval_samples_per_second": 1.301,
|
| 185 |
+
"eval_steps_per_second": 0.325,
|
| 186 |
+
"step": 160
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"epoch": 0.3358024691358025,
|
| 190 |
+
"grad_norm": 0.10931171476840973,
|
| 191 |
+
"learning_rate": 1.7549325025960543e-05,
|
| 192 |
+
"loss": 0.8696,
|
| 193 |
+
"step": 170
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"epoch": 0.35555555555555557,
|
| 197 |
+
"grad_norm": 0.1233023852109909,
|
| 198 |
+
"learning_rate": 1.734164070612669e-05,
|
| 199 |
+
"loss": 0.8648,
|
| 200 |
+
"step": 180
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"epoch": 0.35555555555555557,
|
| 204 |
+
"eval_loss": 0.8424926996231079,
|
| 205 |
+
"eval_runtime": 691.9385,
|
| 206 |
+
"eval_samples_per_second": 1.301,
|
| 207 |
+
"eval_steps_per_second": 0.325,
|
| 208 |
+
"step": 180
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"epoch": 0.37530864197530867,
|
| 212 |
+
"grad_norm": 0.12771755456924438,
|
| 213 |
+
"learning_rate": 1.7133956386292837e-05,
|
| 214 |
+
"loss": 0.8515,
|
| 215 |
+
"step": 190
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"epoch": 0.3950617283950617,
|
| 219 |
+
"grad_norm": 0.13220269978046417,
|
| 220 |
+
"learning_rate": 1.6926272066458985e-05,
|
| 221 |
+
"loss": 0.8463,
|
| 222 |
+
"step": 200
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"epoch": 0.3950617283950617,
|
| 226 |
+
"eval_loss": 0.8312501907348633,
|
| 227 |
+
"eval_runtime": 692.0848,
|
| 228 |
+
"eval_samples_per_second": 1.3,
|
| 229 |
+
"eval_steps_per_second": 0.325,
|
| 230 |
+
"step": 200
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"epoch": 0.4148148148148148,
|
| 234 |
+
"grad_norm": 0.133916974067688,
|
| 235 |
+
"learning_rate": 1.671858774662513e-05,
|
| 236 |
+
"loss": 0.829,
|
| 237 |
+
"step": 210
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"epoch": 0.4345679012345679,
|
| 241 |
+
"grad_norm": 0.15100638568401337,
|
| 242 |
+
"learning_rate": 1.651090342679128e-05,
|
| 243 |
+
"loss": 0.8313,
|
| 244 |
+
"step": 220
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"epoch": 0.4345679012345679,
|
| 248 |
+
"eval_loss": 0.8192175030708313,
|
| 249 |
+
"eval_runtime": 692.3464,
|
| 250 |
+
"eval_samples_per_second": 1.3,
|
| 251 |
+
"eval_steps_per_second": 0.325,
|
| 252 |
+
"step": 220
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"epoch": 0.454320987654321,
|
| 256 |
+
"grad_norm": 0.15603844821453094,
|
| 257 |
+
"learning_rate": 1.6303219106957427e-05,
|
| 258 |
+
"loss": 0.8194,
|
| 259 |
+
"step": 230
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"epoch": 0.4740740740740741,
|
| 263 |
+
"grad_norm": 0.1611253321170807,
|
| 264 |
+
"learning_rate": 1.6095534787123576e-05,
|
| 265 |
+
"loss": 0.8229,
|
| 266 |
+
"step": 240
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"epoch": 0.4740740740740741,
|
| 270 |
+
"eval_loss": 0.8058387637138367,
|
| 271 |
+
"eval_runtime": 691.2488,
|
| 272 |
+
"eval_samples_per_second": 1.302,
|
| 273 |
+
"eval_steps_per_second": 0.325,
|
| 274 |
+
"step": 240
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"epoch": 0.49382716049382713,
|
| 278 |
+
"grad_norm": 0.16903120279312134,
|
| 279 |
+
"learning_rate": 1.588785046728972e-05,
|
| 280 |
+
"loss": 0.8201,
|
| 281 |
+
"step": 250
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"epoch": 0.5135802469135803,
|
| 285 |
+
"grad_norm": 0.19414032995700836,
|
| 286 |
+
"learning_rate": 1.568016614745587e-05,
|
| 287 |
+
"loss": 0.8225,
|
| 288 |
+
"step": 260
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"epoch": 0.5135802469135803,
|
| 292 |
+
"eval_loss": 0.792759120464325,
|
| 293 |
+
"eval_runtime": 691.9927,
|
| 294 |
+
"eval_samples_per_second": 1.301,
|
| 295 |
+
"eval_steps_per_second": 0.325,
|
| 296 |
+
"step": 260
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"epoch": 0.5333333333333333,
|
| 300 |
+
"grad_norm": 0.17173326015472412,
|
| 301 |
+
"learning_rate": 1.5472481827622018e-05,
|
| 302 |
+
"loss": 0.7943,
|
| 303 |
+
"step": 270
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"epoch": 0.5530864197530864,
|
| 307 |
+
"grad_norm": 0.22506435215473175,
|
| 308 |
+
"learning_rate": 1.5264797507788163e-05,
|
| 309 |
+
"loss": 0.7864,
|
| 310 |
+
"step": 280
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"epoch": 0.5530864197530864,
|
| 314 |
+
"eval_loss": 0.780030369758606,
|
| 315 |
+
"eval_runtime": 692.3772,
|
| 316 |
+
"eval_samples_per_second": 1.3,
|
| 317 |
+
"eval_steps_per_second": 0.325,
|
| 318 |
+
"step": 280
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"epoch": 0.5728395061728395,
|
| 322 |
+
"grad_norm": 0.25333327054977417,
|
| 323 |
+
"learning_rate": 1.5057113187954311e-05,
|
| 324 |
+
"loss": 0.7867,
|
| 325 |
+
"step": 290
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 0.5925925925925926,
|
| 329 |
+
"grad_norm": 0.23071087896823883,
|
| 330 |
+
"learning_rate": 1.484942886812046e-05,
|
| 331 |
+
"loss": 0.7693,
|
| 332 |
+
"step": 300
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"epoch": 0.5925925925925926,
|
| 336 |
+
"eval_loss": 0.7666186690330505,
|
| 337 |
+
"eval_runtime": 692.4731,
|
| 338 |
+
"eval_samples_per_second": 1.3,
|
| 339 |
+
"eval_steps_per_second": 0.325,
|
| 340 |
+
"step": 300
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"epoch": 0.6123456790123457,
|
| 344 |
+
"grad_norm": 0.20827655494213104,
|
| 345 |
+
"learning_rate": 1.4641744548286605e-05,
|
| 346 |
+
"loss": 0.7627,
|
| 347 |
+
"step": 310
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"epoch": 0.6320987654320988,
|
| 351 |
+
"grad_norm": 0.21804091334342957,
|
| 352 |
+
"learning_rate": 1.4434060228452753e-05,
|
| 353 |
+
"loss": 0.779,
|
| 354 |
+
"step": 320
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"epoch": 0.6320987654320988,
|
| 358 |
+
"eval_loss": 0.7543341517448425,
|
| 359 |
+
"eval_runtime": 691.6303,
|
| 360 |
+
"eval_samples_per_second": 1.301,
|
| 361 |
+
"eval_steps_per_second": 0.325,
|
| 362 |
+
"step": 320
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"epoch": 0.6518518518518519,
|
| 366 |
+
"grad_norm": 0.2513262927532196,
|
| 367 |
+
"learning_rate": 1.4226375908618902e-05,
|
| 368 |
+
"loss": 0.7632,
|
| 369 |
+
"step": 330
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"epoch": 0.671604938271605,
|
| 373 |
+
"grad_norm": 0.22374993562698364,
|
| 374 |
+
"learning_rate": 1.4018691588785047e-05,
|
| 375 |
+
"loss": 0.7493,
|
| 376 |
+
"step": 340
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"epoch": 0.671604938271605,
|
| 380 |
+
"eval_loss": 0.7426387667655945,
|
| 381 |
+
"eval_runtime": 691.7042,
|
| 382 |
+
"eval_samples_per_second": 1.301,
|
| 383 |
+
"eval_steps_per_second": 0.325,
|
| 384 |
+
"step": 340
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"epoch": 0.691358024691358,
|
| 388 |
+
"grad_norm": 0.2958984971046448,
|
| 389 |
+
"learning_rate": 1.3811007268951195e-05,
|
| 390 |
+
"loss": 0.7565,
|
| 391 |
+
"step": 350
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"epoch": 0.7111111111111111,
|
| 395 |
+
"grad_norm": 0.2920616567134857,
|
| 396 |
+
"learning_rate": 1.3603322949117344e-05,
|
| 397 |
+
"loss": 0.7366,
|
| 398 |
+
"step": 360
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"epoch": 0.7111111111111111,
|
| 402 |
+
"eval_loss": 0.7326313853263855,
|
| 403 |
+
"eval_runtime": 692.604,
|
| 404 |
+
"eval_samples_per_second": 1.299,
|
| 405 |
+
"eval_steps_per_second": 0.325,
|
| 406 |
+
"step": 360
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"epoch": 0.7308641975308642,
|
| 410 |
+
"grad_norm": 0.2509481906890869,
|
| 411 |
+
"learning_rate": 1.3395638629283489e-05,
|
| 412 |
+
"loss": 0.74,
|
| 413 |
+
"step": 370
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"epoch": 0.7506172839506173,
|
| 417 |
+
"grad_norm": 0.29313233494758606,
|
| 418 |
+
"learning_rate": 1.3187954309449637e-05,
|
| 419 |
+
"loss": 0.7237,
|
| 420 |
+
"step": 380
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"epoch": 0.7506172839506173,
|
| 424 |
+
"eval_loss": 0.723445475101471,
|
| 425 |
+
"eval_runtime": 692.1563,
|
| 426 |
+
"eval_samples_per_second": 1.3,
|
| 427 |
+
"eval_steps_per_second": 0.325,
|
| 428 |
+
"step": 380
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"epoch": 0.7703703703703704,
|
| 432 |
+
"grad_norm": 0.26945945620536804,
|
| 433 |
+
"learning_rate": 1.2980269989615786e-05,
|
| 434 |
+
"loss": 0.7278,
|
| 435 |
+
"step": 390
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"epoch": 0.7901234567901234,
|
| 439 |
+
"grad_norm": 0.27647626399993896,
|
| 440 |
+
"learning_rate": 1.2772585669781932e-05,
|
| 441 |
+
"loss": 0.7245,
|
| 442 |
+
"step": 400
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"epoch": 0.7901234567901234,
|
| 446 |
+
"eval_loss": 0.71584552526474,
|
| 447 |
+
"eval_runtime": 690.8883,
|
| 448 |
+
"eval_samples_per_second": 1.303,
|
| 449 |
+
"eval_steps_per_second": 0.326,
|
| 450 |
+
"step": 400
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"epoch": 0.8098765432098766,
|
| 454 |
+
"grad_norm": 0.3796406090259552,
|
| 455 |
+
"learning_rate": 1.256490134994808e-05,
|
| 456 |
+
"loss": 0.7169,
|
| 457 |
+
"step": 410
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"epoch": 0.8296296296296296,
|
| 461 |
+
"grad_norm": 0.3447484076023102,
|
| 462 |
+
"learning_rate": 1.2357217030114228e-05,
|
| 463 |
+
"loss": 0.7112,
|
| 464 |
+
"step": 420
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"epoch": 0.8296296296296296,
|
| 468 |
+
"eval_loss": 0.7094859480857849,
|
| 469 |
+
"eval_runtime": 692.0984,
|
| 470 |
+
"eval_samples_per_second": 1.3,
|
| 471 |
+
"eval_steps_per_second": 0.325,
|
| 472 |
+
"step": 420
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"epoch": 0.8493827160493828,
|
| 476 |
+
"grad_norm": 0.29176393151283264,
|
| 477 |
+
"learning_rate": 1.2149532710280374e-05,
|
| 478 |
+
"loss": 0.7167,
|
| 479 |
+
"step": 430
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"epoch": 0.8691358024691358,
|
| 483 |
+
"grad_norm": 0.29126060009002686,
|
| 484 |
+
"learning_rate": 1.1941848390446523e-05,
|
| 485 |
+
"loss": 0.7202,
|
| 486 |
+
"step": 440
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"epoch": 0.8691358024691358,
|
| 490 |
+
"eval_loss": 0.703975260257721,
|
| 491 |
+
"eval_runtime": 692.3797,
|
| 492 |
+
"eval_samples_per_second": 1.3,
|
| 493 |
+
"eval_steps_per_second": 0.325,
|
| 494 |
+
"step": 440
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"epoch": 0.8888888888888888,
|
| 498 |
+
"grad_norm": 0.3009716272354126,
|
| 499 |
+
"learning_rate": 1.173416407061267e-05,
|
| 500 |
+
"loss": 0.7076,
|
| 501 |
+
"step": 450
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"epoch": 0.908641975308642,
|
| 505 |
+
"grad_norm": 0.25401803851127625,
|
| 506 |
+
"learning_rate": 1.1526479750778816e-05,
|
| 507 |
+
"loss": 0.6981,
|
| 508 |
+
"step": 460
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"epoch": 0.908641975308642,
|
| 512 |
+
"eval_loss": 0.6991094350814819,
|
| 513 |
+
"eval_runtime": 692.4866,
|
| 514 |
+
"eval_samples_per_second": 1.3,
|
| 515 |
+
"eval_steps_per_second": 0.325,
|
| 516 |
+
"step": 460
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"epoch": 0.928395061728395,
|
| 520 |
+
"grad_norm": 0.2538835108280182,
|
| 521 |
+
"learning_rate": 1.1318795430944965e-05,
|
| 522 |
+
"loss": 0.7078,
|
| 523 |
+
"step": 470
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"epoch": 0.9481481481481482,
|
| 527 |
+
"grad_norm": 0.26919299364089966,
|
| 528 |
+
"learning_rate": 1.1111111111111113e-05,
|
| 529 |
+
"loss": 0.7081,
|
| 530 |
+
"step": 480
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"epoch": 0.9481481481481482,
|
| 534 |
+
"eval_loss": 0.6949476003646851,
|
| 535 |
+
"eval_runtime": 692.5011,
|
| 536 |
+
"eval_samples_per_second": 1.3,
|
| 537 |
+
"eval_steps_per_second": 0.325,
|
| 538 |
+
"step": 480
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"epoch": 0.9679012345679012,
|
| 542 |
+
"grad_norm": 0.28486502170562744,
|
| 543 |
+
"learning_rate": 1.0903426791277258e-05,
|
| 544 |
+
"loss": 0.7063,
|
| 545 |
+
"step": 490
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"epoch": 0.9876543209876543,
|
| 549 |
+
"grad_norm": 0.2884429693222046,
|
| 550 |
+
"learning_rate": 1.0695742471443407e-05,
|
| 551 |
+
"loss": 0.7015,
|
| 552 |
+
"step": 500
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"epoch": 0.9876543209876543,
|
| 556 |
+
"eval_loss": 0.6906960606575012,
|
| 557 |
+
"eval_runtime": 692.568,
|
| 558 |
+
"eval_samples_per_second": 1.3,
|
| 559 |
+
"eval_steps_per_second": 0.325,
|
| 560 |
+
"step": 500
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"epoch": 1.005925925925926,
|
| 564 |
+
"grad_norm": 0.2989191710948944,
|
| 565 |
+
"learning_rate": 1.0488058151609555e-05,
|
| 566 |
+
"loss": 0.7051,
|
| 567 |
+
"step": 510
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"epoch": 1.025679012345679,
|
| 571 |
+
"grad_norm": 0.2781642973423004,
|
| 572 |
+
"learning_rate": 1.02803738317757e-05,
|
| 573 |
+
"loss": 0.6887,
|
| 574 |
+
"step": 520
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"epoch": 1.025679012345679,
|
| 578 |
+
"eval_loss": 0.6878499388694763,
|
| 579 |
+
"eval_runtime": 691.8346,
|
| 580 |
+
"eval_samples_per_second": 1.301,
|
| 581 |
+
"eval_steps_per_second": 0.325,
|
| 582 |
+
"step": 520
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"epoch": 1.0454320987654322,
|
| 586 |
+
"grad_norm": 0.27174291014671326,
|
| 587 |
+
"learning_rate": 1.0072689511941849e-05,
|
| 588 |
+
"loss": 0.6905,
|
| 589 |
+
"step": 530
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"epoch": 1.0651851851851852,
|
| 593 |
+
"grad_norm": 0.28336238861083984,
|
| 594 |
+
"learning_rate": 9.865005192107997e-06,
|
| 595 |
+
"loss": 0.6933,
|
| 596 |
+
"step": 540
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"epoch": 1.0651851851851852,
|
| 600 |
+
"eval_loss": 0.6846529245376587,
|
| 601 |
+
"eval_runtime": 691.686,
|
| 602 |
+
"eval_samples_per_second": 1.301,
|
| 603 |
+
"eval_steps_per_second": 0.325,
|
| 604 |
+
"step": 540
|
| 605 |
+
}
|
| 606 |
+
],
|
| 607 |
+
"logging_steps": 10,
|
| 608 |
+
"max_steps": 1014,
|
| 609 |
+
"num_input_tokens_seen": 0,
|
| 610 |
+
"num_train_epochs": 2,
|
| 611 |
+
"save_steps": 20,
|
| 612 |
+
"stateful_callbacks": {
|
| 613 |
+
"EarlyStoppingCallback": {
|
| 614 |
+
"args": {
|
| 615 |
+
"early_stopping_patience": 3,
|
| 616 |
+
"early_stopping_threshold": 0.0
|
| 617 |
+
},
|
| 618 |
+
"attributes": {
|
| 619 |
+
"early_stopping_patience_counter": 0
|
| 620 |
+
}
|
| 621 |
+
},
|
| 622 |
+
"TrainerControl": {
|
| 623 |
+
"args": {
|
| 624 |
+
"should_epoch_stop": false,
|
| 625 |
+
"should_evaluate": false,
|
| 626 |
+
"should_log": false,
|
| 627 |
+
"should_save": true,
|
| 628 |
+
"should_training_stop": false
|
| 629 |
+
},
|
| 630 |
+
"attributes": {}
|
| 631 |
+
}
|
| 632 |
+
},
|
| 633 |
+
"total_flos": 2.3008860904594637e+18,
|
| 634 |
+
"train_batch_size": 4,
|
| 635 |
+
"trial_name": null,
|
| 636 |
+
"trial_params": null
|
| 637 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbf066235a28e7ce71c84c2164b22451100f86885df066960a369f787418554a
|
| 3 |
+
size 6353
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|