Model save
Browse files- README.md +58 -0
- all_results.json +8 -0
- generation_config.json +14 -0
- train_results.json +8 -0
- trainer_state.json +315 -0
README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 3 |
+
library_name: transformers
|
| 4 |
+
model_name: finetune_demo
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
- trl
|
| 8 |
+
- sft
|
| 9 |
+
licence: license
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Model Card for finetune_demo
|
| 13 |
+
|
| 14 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct).
|
| 15 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 16 |
+
|
| 17 |
+
## Quick start
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
from transformers import pipeline
|
| 21 |
+
|
| 22 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 23 |
+
generator = pipeline("text-generation", model="kguo2/finetune_demo", device="cuda")
|
| 24 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 25 |
+
print(output["generated_text"])
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Training procedure
|
| 29 |
+
|
| 30 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/nd/huggingface/runs/xccpwccm)
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
This model was trained with SFT.
|
| 34 |
+
|
| 35 |
+
### Framework versions
|
| 36 |
+
|
| 37 |
+
- TRL: 0.16.0
|
| 38 |
+
- Transformers: 4.50.0
|
| 39 |
+
- Pytorch: 2.5.1
|
| 40 |
+
- Datasets: 3.5.0
|
| 41 |
+
- Tokenizers: 0.21.1
|
| 42 |
+
|
| 43 |
+
## Citations
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
Cite TRL as:
|
| 48 |
+
|
| 49 |
+
```bibtex
|
| 50 |
+
@misc{vonwerra2022trl,
|
| 51 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
| 52 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
|
| 53 |
+
year = 2020,
|
| 54 |
+
journal = {GitHub repository},
|
| 55 |
+
publisher = {GitHub},
|
| 56 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
| 57 |
+
}
|
| 58 |
+
```
|
all_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"total_flos": 9.27422622990336e+16,
|
| 3 |
+
"train_loss": 0.0753641640438753,
|
| 4 |
+
"train_runtime": 542.7298,
|
| 5 |
+
"train_samples": 29047,
|
| 6 |
+
"train_samples_per_second": 19.957,
|
| 7 |
+
"train_steps_per_second": 0.313
|
| 8 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"repetition_penalty": 1.05,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_k": 20,
|
| 12 |
+
"top_p": 0.8,
|
| 13 |
+
"transformers_version": "4.50.0"
|
| 14 |
+
}
|
train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"total_flos": 9.27422622990336e+16,
|
| 3 |
+
"train_loss": 0.0753641640438753,
|
| 4 |
+
"train_runtime": 542.7298,
|
| 5 |
+
"train_samples": 29047,
|
| 6 |
+
"train_samples_per_second": 19.957,
|
| 7 |
+
"train_steps_per_second": 0.313
|
| 8 |
+
}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 170,
|
| 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.029411764705882353,
|
| 14 |
+
"grad_norm": 4.553732872009277,
|
| 15 |
+
"learning_rate": 2.777777777777778e-05,
|
| 16 |
+
"loss": 0.7808,
|
| 17 |
+
"num_tokens": 163560.0,
|
| 18 |
+
"step": 5
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"epoch": 0.058823529411764705,
|
| 22 |
+
"grad_norm": 2.3360044956207275,
|
| 23 |
+
"learning_rate": 4.9995716618706634e-05,
|
| 24 |
+
"loss": 0.1826,
|
| 25 |
+
"num_tokens": 327236.0,
|
| 26 |
+
"step": 10
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"epoch": 0.08823529411764706,
|
| 30 |
+
"grad_norm": 0.659660279750824,
|
| 31 |
+
"learning_rate": 4.9845969445888354e-05,
|
| 32 |
+
"loss": 0.0853,
|
| 33 |
+
"num_tokens": 490970.0,
|
| 34 |
+
"step": 15
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"epoch": 0.11764705882352941,
|
| 38 |
+
"grad_norm": 0.6894950866699219,
|
| 39 |
+
"learning_rate": 4.948368129547296e-05,
|
| 40 |
+
"loss": 0.0705,
|
| 41 |
+
"num_tokens": 654151.0,
|
| 42 |
+
"step": 20
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"epoch": 0.14705882352941177,
|
| 46 |
+
"grad_norm": 0.47198617458343506,
|
| 47 |
+
"learning_rate": 4.891229802725401e-05,
|
| 48 |
+
"loss": 0.0624,
|
| 49 |
+
"num_tokens": 817991.0,
|
| 50 |
+
"step": 25
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 0.17647058823529413,
|
| 54 |
+
"grad_norm": 0.4311853051185608,
|
| 55 |
+
"learning_rate": 4.8137254283872696e-05,
|
| 56 |
+
"loss": 0.0577,
|
| 57 |
+
"num_tokens": 981831.0,
|
| 58 |
+
"step": 30
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 0.20588235294117646,
|
| 62 |
+
"grad_norm": 0.37233826518058777,
|
| 63 |
+
"learning_rate": 4.7165921799873716e-05,
|
| 64 |
+
"loss": 0.0542,
|
| 65 |
+
"num_tokens": 1145572.0,
|
| 66 |
+
"step": 35
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 0.23529411764705882,
|
| 70 |
+
"grad_norm": 0.32413461804389954,
|
| 71 |
+
"learning_rate": 4.6007539286346375e-05,
|
| 72 |
+
"loss": 0.0539,
|
| 73 |
+
"num_tokens": 1309412.0,
|
| 74 |
+
"step": 40
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"epoch": 0.2647058823529412,
|
| 78 |
+
"grad_norm": 0.27661165595054626,
|
| 79 |
+
"learning_rate": 4.467312455804482e-05,
|
| 80 |
+
"loss": 0.0528,
|
| 81 |
+
"num_tokens": 1473224.0,
|
| 82 |
+
"step": 45
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"epoch": 0.29411764705882354,
|
| 86 |
+
"grad_norm": 0.25189208984375,
|
| 87 |
+
"learning_rate": 4.317536973877955e-05,
|
| 88 |
+
"loss": 0.0528,
|
| 89 |
+
"num_tokens": 1637064.0,
|
| 90 |
+
"step": 50
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"epoch": 0.3235294117647059,
|
| 94 |
+
"grad_norm": 0.258693665266037,
|
| 95 |
+
"learning_rate": 4.1528520541821506e-05,
|
| 96 |
+
"loss": 0.0506,
|
| 97 |
+
"num_tokens": 1800823.0,
|
| 98 |
+
"step": 55
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"epoch": 0.35294117647058826,
|
| 102 |
+
"grad_norm": 0.22541610896587372,
|
| 103 |
+
"learning_rate": 3.974824077352845e-05,
|
| 104 |
+
"loss": 0.0504,
|
| 105 |
+
"num_tokens": 1964243.0,
|
| 106 |
+
"step": 60
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"epoch": 0.38235294117647056,
|
| 110 |
+
"grad_norm": 0.31295299530029297,
|
| 111 |
+
"learning_rate": 3.785146334895093e-05,
|
| 112 |
+
"loss": 0.0504,
|
| 113 |
+
"num_tokens": 2127639.0,
|
| 114 |
+
"step": 65
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 0.4117647058823529,
|
| 118 |
+
"grad_norm": 0.24782125651836395,
|
| 119 |
+
"learning_rate": 3.58562292364649e-05,
|
| 120 |
+
"loss": 0.0489,
|
| 121 |
+
"num_tokens": 2291479.0,
|
| 122 |
+
"step": 70
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"epoch": 0.4411764705882353,
|
| 126 |
+
"grad_norm": 0.20237773656845093,
|
| 127 |
+
"learning_rate": 3.378151586328963e-05,
|
| 128 |
+
"loss": 0.0489,
|
| 129 |
+
"num_tokens": 2455319.0,
|
| 130 |
+
"step": 75
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"epoch": 0.47058823529411764,
|
| 134 |
+
"grad_norm": 0.15972378849983215,
|
| 135 |
+
"learning_rate": 3.164705661399079e-05,
|
| 136 |
+
"loss": 0.0489,
|
| 137 |
+
"num_tokens": 2619081.0,
|
| 138 |
+
"step": 80
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"epoch": 0.5,
|
| 142 |
+
"grad_norm": 0.18197670578956604,
|
| 143 |
+
"learning_rate": 2.947315313878701e-05,
|
| 144 |
+
"loss": 0.0496,
|
| 145 |
+
"num_tokens": 2782547.0,
|
| 146 |
+
"step": 85
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"epoch": 0.5294117647058824,
|
| 150 |
+
"grad_norm": 0.6986818909645081,
|
| 151 |
+
"learning_rate": 2.7280482256866697e-05,
|
| 152 |
+
"loss": 0.0478,
|
| 153 |
+
"num_tokens": 2946387.0,
|
| 154 |
+
"step": 90
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"epoch": 0.5588235294117647,
|
| 158 |
+
"grad_norm": 0.22870764136314392,
|
| 159 |
+
"learning_rate": 2.508989929133051e-05,
|
| 160 |
+
"loss": 0.0474,
|
| 161 |
+
"num_tokens": 3109604.0,
|
| 162 |
+
"step": 95
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"epoch": 0.5882352941176471,
|
| 166 |
+
"grad_norm": 0.17916245758533478,
|
| 167 |
+
"learning_rate": 2.2922239706315745e-05,
|
| 168 |
+
"loss": 0.0461,
|
| 169 |
+
"num_tokens": 3273444.0,
|
| 170 |
+
"step": 100
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"epoch": 0.6176470588235294,
|
| 174 |
+
"grad_norm": 0.3453664779663086,
|
| 175 |
+
"learning_rate": 2.079812093300668e-05,
|
| 176 |
+
"loss": 0.046,
|
| 177 |
+
"num_tokens": 3435972.0,
|
| 178 |
+
"step": 105
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"epoch": 0.6470588235294118,
|
| 182 |
+
"grad_norm": 0.26898708939552307,
|
| 183 |
+
"learning_rate": 1.8737746269439006e-05,
|
| 184 |
+
"loss": 0.0452,
|
| 185 |
+
"num_tokens": 3599812.0,
|
| 186 |
+
"step": 110
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"epoch": 0.6764705882352942,
|
| 190 |
+
"grad_norm": 0.2884495258331299,
|
| 191 |
+
"learning_rate": 1.6760712719281375e-05,
|
| 192 |
+
"loss": 0.0459,
|
| 193 |
+
"num_tokens": 3763587.0,
|
| 194 |
+
"step": 115
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"epoch": 0.7058823529411765,
|
| 198 |
+
"grad_norm": 0.25366732478141785,
|
| 199 |
+
"learning_rate": 1.4885824597312362e-05,
|
| 200 |
+
"loss": 0.0461,
|
| 201 |
+
"num_tokens": 3927092.0,
|
| 202 |
+
"step": 120
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"epoch": 0.7352941176470589,
|
| 206 |
+
"grad_norm": 0.21009443700313568,
|
| 207 |
+
"learning_rate": 1.313091467446158e-05,
|
| 208 |
+
"loss": 0.0444,
|
| 209 |
+
"num_tokens": 4090932.0,
|
| 210 |
+
"step": 125
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"epoch": 0.7647058823529411,
|
| 214 |
+
"grad_norm": 0.19418346881866455,
|
| 215 |
+
"learning_rate": 1.1512674563572253e-05,
|
| 216 |
+
"loss": 0.0459,
|
| 217 |
+
"num_tokens": 4254483.0,
|
| 218 |
+
"step": 130
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"epoch": 0.7941176470588235,
|
| 222 |
+
"grad_norm": 0.19523853063583374,
|
| 223 |
+
"learning_rate": 1.0046495959150554e-05,
|
| 224 |
+
"loss": 0.0446,
|
| 225 |
+
"num_tokens": 4418323.0,
|
| 226 |
+
"step": 135
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"epoch": 0.8235294117647058,
|
| 230 |
+
"grad_norm": 0.1927725076675415,
|
| 231 |
+
"learning_rate": 8.746324241130455e-06,
|
| 232 |
+
"loss": 0.0434,
|
| 233 |
+
"num_tokens": 4581587.0,
|
| 234 |
+
"step": 140
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"epoch": 0.8529411764705882,
|
| 238 |
+
"grad_norm": 0.1469401717185974,
|
| 239 |
+
"learning_rate": 7.624525835084185e-06,
|
| 240 |
+
"loss": 0.0436,
|
| 241 |
+
"num_tokens": 4745427.0,
|
| 242 |
+
"step": 145
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"epoch": 0.8823529411764706,
|
| 246 |
+
"grad_norm": 0.1357996016740799,
|
| 247 |
+
"learning_rate": 6.691770590465606e-06,
|
| 248 |
+
"loss": 0.0432,
|
| 249 |
+
"num_tokens": 4909267.0,
|
| 250 |
+
"step": 150
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"epoch": 0.9117647058823529,
|
| 254 |
+
"grad_norm": 0.16276375949382782,
|
| 255 |
+
"learning_rate": 5.95693029563144e-06,
|
| 256 |
+
"loss": 0.0429,
|
| 257 |
+
"num_tokens": 5073107.0,
|
| 258 |
+
"step": 155
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"epoch": 0.9411764705882353,
|
| 262 |
+
"grad_norm": 0.17533668875694275,
|
| 263 |
+
"learning_rate": 5.426994294902611e-06,
|
| 264 |
+
"loss": 0.0431,
|
| 265 |
+
"num_tokens": 5236905.0,
|
| 266 |
+
"step": 160
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"epoch": 0.9705882352941176,
|
| 270 |
+
"grad_norm": 0.1326180398464203,
|
| 271 |
+
"learning_rate": 5.10700301026355e-06,
|
| 272 |
+
"loss": 0.0434,
|
| 273 |
+
"num_tokens": 5400452.0,
|
| 274 |
+
"step": 165
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"epoch": 1.0,
|
| 278 |
+
"grad_norm": 0.19520561397075653,
|
| 279 |
+
"learning_rate": 5e-06,
|
| 280 |
+
"loss": 0.0428,
|
| 281 |
+
"num_tokens": 5563792.0,
|
| 282 |
+
"step": 170
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"epoch": 1.0,
|
| 286 |
+
"step": 170,
|
| 287 |
+
"total_flos": 9.27422622990336e+16,
|
| 288 |
+
"train_loss": 0.0753641640438753,
|
| 289 |
+
"train_runtime": 542.7298,
|
| 290 |
+
"train_samples_per_second": 19.957,
|
| 291 |
+
"train_steps_per_second": 0.313
|
| 292 |
+
}
|
| 293 |
+
],
|
| 294 |
+
"logging_steps": 5,
|
| 295 |
+
"max_steps": 170,
|
| 296 |
+
"num_input_tokens_seen": 0,
|
| 297 |
+
"num_train_epochs": 1,
|
| 298 |
+
"save_steps": 100,
|
| 299 |
+
"stateful_callbacks": {
|
| 300 |
+
"TrainerControl": {
|
| 301 |
+
"args": {
|
| 302 |
+
"should_epoch_stop": false,
|
| 303 |
+
"should_evaluate": false,
|
| 304 |
+
"should_log": false,
|
| 305 |
+
"should_save": true,
|
| 306 |
+
"should_training_stop": true
|
| 307 |
+
},
|
| 308 |
+
"attributes": {}
|
| 309 |
+
}
|
| 310 |
+
},
|
| 311 |
+
"total_flos": 9.27422622990336e+16,
|
| 312 |
+
"train_batch_size": 16,
|
| 313 |
+
"trial_name": null,
|
| 314 |
+
"trial_params": null
|
| 315 |
+
}
|