VedaantJain
commited on
Model save
Browse files- README.md +57 -0
- added_tokens.json +13 -0
- all_results.json +9 -0
- config.json +36 -0
- generation_config.json +11 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +202 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +131 -0
- train_results.json +9 -0
- trainer_state.json +507 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: microsoft/Phi-3-mini-4k-instruct
|
3 |
+
library_name: transformers
|
4 |
+
model_name: model_tuned
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
- trl
|
8 |
+
- sft
|
9 |
+
licence: license
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Card for model_tuned
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-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="VedaantJain/model_tuned", 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/vedaantj/ft-llm/runs/083810)
|
31 |
+
|
32 |
+
This model was trained with SFT.
|
33 |
+
|
34 |
+
### Framework versions
|
35 |
+
|
36 |
+
- TRL: 0.12.2
|
37 |
+
- Transformers: 4.46.3
|
38 |
+
- Pytorch: 2.1.2+cu118
|
39 |
+
- Datasets: 3.1.0
|
40 |
+
- Tokenizers: 0.20.3
|
41 |
+
|
42 |
+
## Citations
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
Cite TRL as:
|
47 |
+
|
48 |
+
```bibtex
|
49 |
+
@misc{vonwerra2022trl,
|
50 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
51 |
+
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},
|
52 |
+
year = 2020,
|
53 |
+
journal = {GitHub repository},
|
54 |
+
publisher = {GitHub},
|
55 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
56 |
+
}
|
57 |
+
```
|
added_tokens.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|assistant|>": 32001,
|
3 |
+
"<|endoftext|>": 32000,
|
4 |
+
"<|end|>": 32007,
|
5 |
+
"<|placeholder1|>": 32002,
|
6 |
+
"<|placeholder2|>": 32003,
|
7 |
+
"<|placeholder3|>": 32004,
|
8 |
+
"<|placeholder4|>": 32005,
|
9 |
+
"<|placeholder5|>": 32008,
|
10 |
+
"<|placeholder6|>": 32009,
|
11 |
+
"<|system|>": 32006,
|
12 |
+
"<|user|>": 32010
|
13 |
+
}
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.985645933014354,
|
3 |
+
"total_flos": 9149727375360.0,
|
4 |
+
"train_loss": 0.5307981822735224,
|
5 |
+
"train_runtime": 3368.0081,
|
6 |
+
"train_samples": 5060,
|
7 |
+
"train_samples_per_second": 1.115,
|
8 |
+
"train_steps_per_second": 0.093
|
9 |
+
}
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/Phi-3-mini-4k-instruct",
|
3 |
+
"architectures": [
|
4 |
+
"Phi3ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoConfig": "microsoft/Phi-3-mini-4k-instruct--configuration_phi3.Phi3Config",
|
10 |
+
"AutoModelForCausalLM": "microsoft/Phi-3-mini-4k-instruct--modeling_phi3.Phi3ForCausalLM"
|
11 |
+
},
|
12 |
+
"bos_token_id": 1,
|
13 |
+
"embd_pdrop": 0.0,
|
14 |
+
"eos_token_id": 32000,
|
15 |
+
"hidden_act": "silu",
|
16 |
+
"hidden_size": 3072,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 8192,
|
19 |
+
"max_position_embeddings": 4096,
|
20 |
+
"model_type": "phi3",
|
21 |
+
"num_attention_heads": 32,
|
22 |
+
"num_hidden_layers": 32,
|
23 |
+
"num_key_value_heads": 32,
|
24 |
+
"original_max_position_embeddings": 4096,
|
25 |
+
"pad_token_id": 32000,
|
26 |
+
"resid_pdrop": 0.0,
|
27 |
+
"rms_norm_eps": 1e-05,
|
28 |
+
"rope_scaling": null,
|
29 |
+
"rope_theta": 10000.0,
|
30 |
+
"sliding_window": 2047,
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.46.3",
|
34 |
+
"use_cache": false,
|
35 |
+
"vocab_size": 32064
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": [
|
5 |
+
32000,
|
6 |
+
32001,
|
7 |
+
32007
|
8 |
+
],
|
9 |
+
"pad_token_id": 32000,
|
10 |
+
"transformers_version": "4.46.3"
|
11 |
+
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b9c0ec47315587eb34dba5cd70d3b39b30b09d78dfaa552bc1f5bb2c0e3107d
|
3 |
+
size 4972489328
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f479150a15a9c19f7567422a44c4e4f3d6ff3167f5199c0d2f6adb837c6b2e68
|
3 |
+
size 2669692552
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 7642159104
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"lm_head.weight": "model-00002-of-00002.safetensors",
|
7 |
+
"model.embed_tokens.weight": "model-00001-of-00002.safetensors",
|
8 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
9 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
10 |
+
"model.layers.0.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
11 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
12 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
13 |
+
"model.layers.0.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
14 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
15 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
16 |
+
"model.layers.1.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
17 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
18 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
19 |
+
"model.layers.1.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
20 |
+
"model.layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
21 |
+
"model.layers.10.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
22 |
+
"model.layers.10.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
23 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
24 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
25 |
+
"model.layers.10.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
26 |
+
"model.layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
27 |
+
"model.layers.11.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
28 |
+
"model.layers.11.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
29 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
30 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
31 |
+
"model.layers.11.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
32 |
+
"model.layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
33 |
+
"model.layers.12.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
34 |
+
"model.layers.12.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
35 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
36 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
37 |
+
"model.layers.12.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
38 |
+
"model.layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
39 |
+
"model.layers.13.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
40 |
+
"model.layers.13.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
41 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
42 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
43 |
+
"model.layers.13.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
44 |
+
"model.layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
45 |
+
"model.layers.14.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
46 |
+
"model.layers.14.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
47 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
48 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
49 |
+
"model.layers.14.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
50 |
+
"model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
51 |
+
"model.layers.15.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
52 |
+
"model.layers.15.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
53 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
54 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
55 |
+
"model.layers.15.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
56 |
+
"model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
57 |
+
"model.layers.16.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
58 |
+
"model.layers.16.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
59 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
60 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
61 |
+
"model.layers.16.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
62 |
+
"model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
63 |
+
"model.layers.17.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
64 |
+
"model.layers.17.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
65 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
66 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
67 |
+
"model.layers.17.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
68 |
+
"model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
69 |
+
"model.layers.18.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
70 |
+
"model.layers.18.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
71 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
72 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
73 |
+
"model.layers.18.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
74 |
+
"model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
75 |
+
"model.layers.19.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
76 |
+
"model.layers.19.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
77 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
78 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
79 |
+
"model.layers.19.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
80 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
81 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
82 |
+
"model.layers.2.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
83 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
84 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
85 |
+
"model.layers.2.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
86 |
+
"model.layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
87 |
+
"model.layers.20.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
88 |
+
"model.layers.20.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
89 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
90 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
91 |
+
"model.layers.20.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
92 |
+
"model.layers.21.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
93 |
+
"model.layers.21.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
94 |
+
"model.layers.21.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
95 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
96 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
97 |
+
"model.layers.21.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
98 |
+
"model.layers.22.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
99 |
+
"model.layers.22.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
100 |
+
"model.layers.22.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
101 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
102 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
103 |
+
"model.layers.22.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
104 |
+
"model.layers.23.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
105 |
+
"model.layers.23.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
106 |
+
"model.layers.23.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
107 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
108 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
109 |
+
"model.layers.23.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
110 |
+
"model.layers.24.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
111 |
+
"model.layers.24.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
112 |
+
"model.layers.24.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
113 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
114 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
115 |
+
"model.layers.24.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
116 |
+
"model.layers.25.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
117 |
+
"model.layers.25.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
118 |
+
"model.layers.25.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
119 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
120 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
121 |
+
"model.layers.25.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
122 |
+
"model.layers.26.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
123 |
+
"model.layers.26.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
124 |
+
"model.layers.26.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
125 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
126 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
127 |
+
"model.layers.26.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
128 |
+
"model.layers.27.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
129 |
+
"model.layers.27.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
130 |
+
"model.layers.27.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
131 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
132 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
133 |
+
"model.layers.27.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
134 |
+
"model.layers.28.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
135 |
+
"model.layers.28.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
136 |
+
"model.layers.28.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
137 |
+
"model.layers.28.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
138 |
+
"model.layers.28.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
139 |
+
"model.layers.28.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
140 |
+
"model.layers.29.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
141 |
+
"model.layers.29.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
142 |
+
"model.layers.29.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
143 |
+
"model.layers.29.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
144 |
+
"model.layers.29.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
145 |
+
"model.layers.29.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
146 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
147 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
148 |
+
"model.layers.3.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
149 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
150 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
151 |
+
"model.layers.3.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
152 |
+
"model.layers.30.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
153 |
+
"model.layers.30.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
154 |
+
"model.layers.30.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
155 |
+
"model.layers.30.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
156 |
+
"model.layers.30.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
157 |
+
"model.layers.30.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
158 |
+
"model.layers.31.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
159 |
+
"model.layers.31.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
|
160 |
+
"model.layers.31.mlp.gate_up_proj.weight": "model-00002-of-00002.safetensors",
|
161 |
+
"model.layers.31.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
|
162 |
+
"model.layers.31.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
|
163 |
+
"model.layers.31.self_attn.qkv_proj.weight": "model-00002-of-00002.safetensors",
|
164 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
165 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
166 |
+
"model.layers.4.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
167 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
168 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
169 |
+
"model.layers.4.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
170 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
171 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
172 |
+
"model.layers.5.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
173 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
174 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
175 |
+
"model.layers.5.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
176 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
177 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
178 |
+
"model.layers.6.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
179 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
180 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
181 |
+
"model.layers.6.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
182 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
183 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
184 |
+
"model.layers.7.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
185 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
186 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
187 |
+
"model.layers.7.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
188 |
+
"model.layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
189 |
+
"model.layers.8.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
190 |
+
"model.layers.8.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
191 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
192 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
193 |
+
"model.layers.8.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
194 |
+
"model.layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
195 |
+
"model.layers.9.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
|
196 |
+
"model.layers.9.mlp.gate_up_proj.weight": "model-00001-of-00002.safetensors",
|
197 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
|
198 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
|
199 |
+
"model.layers.9.self_attn.qkv_proj.weight": "model-00001-of-00002.safetensors",
|
200 |
+
"model.norm.weight": "model-00002-of-00002.safetensors"
|
201 |
+
}
|
202 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": true,
|
27 |
+
"single_word": false,
|
28 |
+
"special": false
|
29 |
+
},
|
30 |
+
"32000": {
|
31 |
+
"content": "<|endoftext|>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false,
|
36 |
+
"special": true
|
37 |
+
},
|
38 |
+
"32001": {
|
39 |
+
"content": "<|assistant|>",
|
40 |
+
"lstrip": false,
|
41 |
+
"normalized": false,
|
42 |
+
"rstrip": true,
|
43 |
+
"single_word": false,
|
44 |
+
"special": true
|
45 |
+
},
|
46 |
+
"32002": {
|
47 |
+
"content": "<|placeholder1|>",
|
48 |
+
"lstrip": false,
|
49 |
+
"normalized": false,
|
50 |
+
"rstrip": true,
|
51 |
+
"single_word": false,
|
52 |
+
"special": true
|
53 |
+
},
|
54 |
+
"32003": {
|
55 |
+
"content": "<|placeholder2|>",
|
56 |
+
"lstrip": false,
|
57 |
+
"normalized": false,
|
58 |
+
"rstrip": true,
|
59 |
+
"single_word": false,
|
60 |
+
"special": true
|
61 |
+
},
|
62 |
+
"32004": {
|
63 |
+
"content": "<|placeholder3|>",
|
64 |
+
"lstrip": false,
|
65 |
+
"normalized": false,
|
66 |
+
"rstrip": true,
|
67 |
+
"single_word": false,
|
68 |
+
"special": true
|
69 |
+
},
|
70 |
+
"32005": {
|
71 |
+
"content": "<|placeholder4|>",
|
72 |
+
"lstrip": false,
|
73 |
+
"normalized": false,
|
74 |
+
"rstrip": true,
|
75 |
+
"single_word": false,
|
76 |
+
"special": true
|
77 |
+
},
|
78 |
+
"32006": {
|
79 |
+
"content": "<|system|>",
|
80 |
+
"lstrip": false,
|
81 |
+
"normalized": false,
|
82 |
+
"rstrip": true,
|
83 |
+
"single_word": false,
|
84 |
+
"special": true
|
85 |
+
},
|
86 |
+
"32007": {
|
87 |
+
"content": "<|end|>",
|
88 |
+
"lstrip": false,
|
89 |
+
"normalized": false,
|
90 |
+
"rstrip": true,
|
91 |
+
"single_word": false,
|
92 |
+
"special": true
|
93 |
+
},
|
94 |
+
"32008": {
|
95 |
+
"content": "<|placeholder5|>",
|
96 |
+
"lstrip": false,
|
97 |
+
"normalized": false,
|
98 |
+
"rstrip": true,
|
99 |
+
"single_word": false,
|
100 |
+
"special": true
|
101 |
+
},
|
102 |
+
"32009": {
|
103 |
+
"content": "<|placeholder6|>",
|
104 |
+
"lstrip": false,
|
105 |
+
"normalized": false,
|
106 |
+
"rstrip": true,
|
107 |
+
"single_word": false,
|
108 |
+
"special": true
|
109 |
+
},
|
110 |
+
"32010": {
|
111 |
+
"content": "<|user|>",
|
112 |
+
"lstrip": false,
|
113 |
+
"normalized": false,
|
114 |
+
"rstrip": true,
|
115 |
+
"single_word": false,
|
116 |
+
"special": true
|
117 |
+
}
|
118 |
+
},
|
119 |
+
"bos_token": "<s>",
|
120 |
+
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
|
121 |
+
"clean_up_tokenization_spaces": false,
|
122 |
+
"eos_token": "<|endoftext|>",
|
123 |
+
"legacy": false,
|
124 |
+
"model_max_length": 4096,
|
125 |
+
"pad_token": "<|endoftext|>",
|
126 |
+
"padding_side": "left",
|
127 |
+
"sp_model_kwargs": {},
|
128 |
+
"tokenizer_class": "LlamaTokenizer",
|
129 |
+
"unk_token": "<unk>",
|
130 |
+
"use_default_system_prompt": false
|
131 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.985645933014354,
|
3 |
+
"total_flos": 9149727375360.0,
|
4 |
+
"train_loss": 0.5307981822735224,
|
5 |
+
"train_runtime": 3368.0081,
|
6 |
+
"train_samples": 5060,
|
7 |
+
"train_samples_per_second": 1.115,
|
8 |
+
"train_steps_per_second": 0.093
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,507 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.985645933014354,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 312,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.009569377990430622,
|
13 |
+
"grad_norm": 2.0939094431170635,
|
14 |
+
"learning_rate": 6.25e-07,
|
15 |
+
"loss": 1.0265,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.04784688995215311,
|
20 |
+
"grad_norm": 1.2308584432431018,
|
21 |
+
"learning_rate": 3.125e-06,
|
22 |
+
"loss": 1.0462,
|
23 |
+
"step": 5
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.09569377990430622,
|
27 |
+
"grad_norm": 0.8192528176324341,
|
28 |
+
"learning_rate": 6.25e-06,
|
29 |
+
"loss": 0.9416,
|
30 |
+
"step": 10
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.14354066985645933,
|
34 |
+
"grad_norm": 0.5587998098246274,
|
35 |
+
"learning_rate": 9.375000000000001e-06,
|
36 |
+
"loss": 0.8065,
|
37 |
+
"step": 15
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.19138755980861244,
|
41 |
+
"grad_norm": 0.3008165110686449,
|
42 |
+
"learning_rate": 1.25e-05,
|
43 |
+
"loss": 0.6851,
|
44 |
+
"step": 20
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.23923444976076555,
|
48 |
+
"grad_norm": 0.20347128493031447,
|
49 |
+
"learning_rate": 1.5625e-05,
|
50 |
+
"loss": 0.6537,
|
51 |
+
"step": 25
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.28708133971291866,
|
55 |
+
"grad_norm": 0.17128021850811456,
|
56 |
+
"learning_rate": 1.8750000000000002e-05,
|
57 |
+
"loss": 0.6333,
|
58 |
+
"step": 30
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.3349282296650718,
|
62 |
+
"grad_norm": 0.16652191969621177,
|
63 |
+
"learning_rate": 1.9994335583335336e-05,
|
64 |
+
"loss": 0.6149,
|
65 |
+
"step": 35
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.3827751196172249,
|
69 |
+
"grad_norm": 0.14198363233390676,
|
70 |
+
"learning_rate": 1.9959742939952393e-05,
|
71 |
+
"loss": 0.6082,
|
72 |
+
"step": 40
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.430622009569378,
|
76 |
+
"grad_norm": 0.21713283105061185,
|
77 |
+
"learning_rate": 1.9893813260530368e-05,
|
78 |
+
"loss": 0.5895,
|
79 |
+
"step": 45
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.4784688995215311,
|
83 |
+
"grad_norm": 0.13924953869885492,
|
84 |
+
"learning_rate": 1.9796753984232357e-05,
|
85 |
+
"loss": 0.5561,
|
86 |
+
"step": 50
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.5263157894736842,
|
90 |
+
"grad_norm": 0.13684768549424628,
|
91 |
+
"learning_rate": 1.9668870495450064e-05,
|
92 |
+
"loss": 0.569,
|
93 |
+
"step": 55
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.5741626794258373,
|
97 |
+
"grad_norm": 0.13894406081826732,
|
98 |
+
"learning_rate": 1.9510565162951538e-05,
|
99 |
+
"loss": 0.5712,
|
100 |
+
"step": 60
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.6220095693779905,
|
104 |
+
"grad_norm": 0.14374947839898614,
|
105 |
+
"learning_rate": 1.9322336073880143e-05,
|
106 |
+
"loss": 0.5702,
|
107 |
+
"step": 65
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.6698564593301436,
|
111 |
+
"grad_norm": 0.14479528353076987,
|
112 |
+
"learning_rate": 1.9104775466588162e-05,
|
113 |
+
"loss": 0.5664,
|
114 |
+
"step": 70
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.7177033492822966,
|
118 |
+
"grad_norm": 0.14766483692101193,
|
119 |
+
"learning_rate": 1.88585678672358e-05,
|
120 |
+
"loss": 0.5477,
|
121 |
+
"step": 75
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.7655502392344498,
|
125 |
+
"grad_norm": 0.15525222782036766,
|
126 |
+
"learning_rate": 1.8584487936018663e-05,
|
127 |
+
"loss": 0.5383,
|
128 |
+
"step": 80
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.8133971291866029,
|
132 |
+
"grad_norm": 0.14420000030755972,
|
133 |
+
"learning_rate": 1.8283398029800167e-05,
|
134 |
+
"loss": 0.5509,
|
135 |
+
"step": 85
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.861244019138756,
|
139 |
+
"grad_norm": 0.14021638409143689,
|
140 |
+
"learning_rate": 1.795624548881781e-05,
|
141 |
+
"loss": 0.5492,
|
142 |
+
"step": 90
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.9090909090909091,
|
146 |
+
"grad_norm": 0.13897720896535773,
|
147 |
+
"learning_rate": 1.7604059656000313e-05,
|
148 |
+
"loss": 0.535,
|
149 |
+
"step": 95
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.9569377990430622,
|
153 |
+
"grad_norm": 0.144999235947906,
|
154 |
+
"learning_rate": 1.7227948638273918e-05,
|
155 |
+
"loss": 0.558,
|
156 |
+
"step": 100
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.9952153110047847,
|
160 |
+
"eval_loss": 0.5750399827957153,
|
161 |
+
"eval_runtime": 7.9492,
|
162 |
+
"eval_samples_per_second": 17.109,
|
163 |
+
"eval_steps_per_second": 5.787,
|
164 |
+
"step": 104
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 1.0047846889952152,
|
168 |
+
"grad_norm": 0.2609579886738764,
|
169 |
+
"learning_rate": 1.682909582004807e-05,
|
170 |
+
"loss": 0.5801,
|
171 |
+
"step": 105
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 1.0526315789473684,
|
175 |
+
"grad_norm": 0.14024934432114472,
|
176 |
+
"learning_rate": 1.6408756139850243e-05,
|
177 |
+
"loss": 0.53,
|
178 |
+
"step": 110
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 1.1004784688995215,
|
182 |
+
"grad_norm": 0.14458482486273788,
|
183 |
+
"learning_rate": 1.5968252141825038e-05,
|
184 |
+
"loss": 0.5322,
|
185 |
+
"step": 115
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"epoch": 1.1483253588516746,
|
189 |
+
"grad_norm": 0.14629086236317015,
|
190 |
+
"learning_rate": 1.5508969814521026e-05,
|
191 |
+
"loss": 0.5226,
|
192 |
+
"step": 120
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 1.1961722488038278,
|
196 |
+
"grad_norm": 0.15275249319420742,
|
197 |
+
"learning_rate": 1.5032354230058004e-05,
|
198 |
+
"loss": 0.5237,
|
199 |
+
"step": 125
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 1.244019138755981,
|
203 |
+
"grad_norm": 0.15270769602744638,
|
204 |
+
"learning_rate": 1.4539904997395468e-05,
|
205 |
+
"loss": 0.5101,
|
206 |
+
"step": 130
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 1.291866028708134,
|
210 |
+
"grad_norm": 0.14854577877982414,
|
211 |
+
"learning_rate": 1.4033171544008053e-05,
|
212 |
+
"loss": 0.5084,
|
213 |
+
"step": 135
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 1.339712918660287,
|
217 |
+
"grad_norm": 0.14092662389201455,
|
218 |
+
"learning_rate": 1.3513748240813429e-05,
|
219 |
+
"loss": 0.518,
|
220 |
+
"step": 140
|
221 |
+
},
|
222 |
+
{
|
223 |
+
"epoch": 1.38755980861244,
|
224 |
+
"grad_norm": 0.13607051872752182,
|
225 |
+
"learning_rate": 1.2983269385691562e-05,
|
226 |
+
"loss": 0.5184,
|
227 |
+
"step": 145
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 1.4354066985645932,
|
231 |
+
"grad_norm": 0.14966143078522062,
|
232 |
+
"learning_rate": 1.2443404061378941e-05,
|
233 |
+
"loss": 0.5062,
|
234 |
+
"step": 150
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 1.4832535885167464,
|
238 |
+
"grad_norm": 0.15381766051199638,
|
239 |
+
"learning_rate": 1.1895850883916786e-05,
|
240 |
+
"loss": 0.5049,
|
241 |
+
"step": 155
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 1.5311004784688995,
|
245 |
+
"grad_norm": 0.1654965470842917,
|
246 |
+
"learning_rate": 1.1342332658176556e-05,
|
247 |
+
"loss": 0.5027,
|
248 |
+
"step": 160
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 1.5789473684210527,
|
252 |
+
"grad_norm": 0.15124728351536673,
|
253 |
+
"learning_rate": 1.0784590957278452e-05,
|
254 |
+
"loss": 0.4928,
|
255 |
+
"step": 165
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"epoch": 1.6267942583732058,
|
259 |
+
"grad_norm": 0.1445164484047255,
|
260 |
+
"learning_rate": 1.0224380642958052e-05,
|
261 |
+
"loss": 0.4926,
|
262 |
+
"step": 170
|
263 |
+
},
|
264 |
+
{
|
265 |
+
"epoch": 1.674641148325359,
|
266 |
+
"grad_norm": 0.14421144356382473,
|
267 |
+
"learning_rate": 9.663464344122064e-06,
|
268 |
+
"loss": 0.4953,
|
269 |
+
"step": 175
|
270 |
+
},
|
271 |
+
{
|
272 |
+
"epoch": 1.722488038277512,
|
273 |
+
"grad_norm": 0.14068706673794015,
|
274 |
+
"learning_rate": 9.103606910965666e-06,
|
275 |
+
"loss": 0.5027,
|
276 |
+
"step": 180
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 1.7703349282296652,
|
280 |
+
"grad_norm": 0.14082548483803073,
|
281 |
+
"learning_rate": 8.546569862100876e-06,
|
282 |
+
"loss": 0.4853,
|
283 |
+
"step": 185
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"epoch": 1.8181818181818183,
|
287 |
+
"grad_norm": 0.14468108210583894,
|
288 |
+
"learning_rate": 7.994105842167274e-06,
|
289 |
+
"loss": 0.498,
|
290 |
+
"step": 190
|
291 |
+
},
|
292 |
+
{
|
293 |
+
"epoch": 1.8660287081339713,
|
294 |
+
"grad_norm": 0.14087947795424693,
|
295 |
+
"learning_rate": 7.447953107363574e-06,
|
296 |
+
"loss": 0.4763,
|
297 |
+
"step": 195
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 1.9138755980861244,
|
301 |
+
"grad_norm": 0.13646275065164523,
|
302 |
+
"learning_rate": 6.909830056250527e-06,
|
303 |
+
"loss": 0.4549,
|
304 |
+
"step": 200
|
305 |
+
},
|
306 |
+
{
|
307 |
+
"epoch": 1.9617224880382775,
|
308 |
+
"grad_norm": 0.13978124622450475,
|
309 |
+
"learning_rate": 6.381429823033281e-06,
|
310 |
+
"loss": 0.4876,
|
311 |
+
"step": 205
|
312 |
+
},
|
313 |
+
{
|
314 |
+
"epoch": 2.0,
|
315 |
+
"eval_loss": 0.5740731954574585,
|
316 |
+
"eval_runtime": 11.5294,
|
317 |
+
"eval_samples_per_second": 11.796,
|
318 |
+
"eval_steps_per_second": 3.99,
|
319 |
+
"step": 209
|
320 |
+
},
|
321 |
+
{
|
322 |
+
"epoch": 2.0095693779904304,
|
323 |
+
"grad_norm": 0.1395628254838664,
|
324 |
+
"learning_rate": 5.864414950334796e-06,
|
325 |
+
"loss": 0.5258,
|
326 |
+
"step": 210
|
327 |
+
},
|
328 |
+
{
|
329 |
+
"epoch": 2.0574162679425836,
|
330 |
+
"grad_norm": 0.1646035873905585,
|
331 |
+
"learning_rate": 5.360412158221661e-06,
|
332 |
+
"loss": 0.4763,
|
333 |
+
"step": 215
|
334 |
+
},
|
335 |
+
{
|
336 |
+
"epoch": 2.1052631578947367,
|
337 |
+
"grad_norm": 0.1430640678690393,
|
338 |
+
"learning_rate": 4.871007225940939e-06,
|
339 |
+
"loss": 0.4613,
|
340 |
+
"step": 220
|
341 |
+
},
|
342 |
+
{
|
343 |
+
"epoch": 2.15311004784689,
|
344 |
+
"grad_norm": 0.1461980161567961,
|
345 |
+
"learning_rate": 4.397740002471973e-06,
|
346 |
+
"loss": 0.4446,
|
347 |
+
"step": 225
|
348 |
+
},
|
349 |
+
{
|
350 |
+
"epoch": 2.200956937799043,
|
351 |
+
"grad_norm": 0.14316992446211674,
|
352 |
+
"learning_rate": 3.942099561591802e-06,
|
353 |
+
"loss": 0.4654,
|
354 |
+
"step": 230
|
355 |
+
},
|
356 |
+
{
|
357 |
+
"epoch": 2.248803827751196,
|
358 |
+
"grad_norm": 0.16075469053450084,
|
359 |
+
"learning_rate": 3.505519516698165e-06,
|
360 |
+
"loss": 0.4513,
|
361 |
+
"step": 235
|
362 |
+
},
|
363 |
+
{
|
364 |
+
"epoch": 2.2966507177033493,
|
365 |
+
"grad_norm": 0.1555203656237632,
|
366 |
+
"learning_rate": 3.089373510131354e-06,
|
367 |
+
"loss": 0.4645,
|
368 |
+
"step": 240
|
369 |
+
},
|
370 |
+
{
|
371 |
+
"epoch": 2.3444976076555024,
|
372 |
+
"grad_norm": 0.14495139725052797,
|
373 |
+
"learning_rate": 2.694970891187225e-06,
|
374 |
+
"loss": 0.4397,
|
375 |
+
"step": 245
|
376 |
+
},
|
377 |
+
{
|
378 |
+
"epoch": 2.3923444976076556,
|
379 |
+
"grad_norm": 0.14820564306015635,
|
380 |
+
"learning_rate": 2.323552596419889e-06,
|
381 |
+
"loss": 0.4573,
|
382 |
+
"step": 250
|
383 |
+
},
|
384 |
+
{
|
385 |
+
"epoch": 2.4401913875598087,
|
386 |
+
"grad_norm": 0.14625430854110832,
|
387 |
+
"learning_rate": 1.9762872451962214e-06,
|
388 |
+
"loss": 0.4453,
|
389 |
+
"step": 255
|
390 |
+
},
|
391 |
+
{
|
392 |
+
"epoch": 2.488038277511962,
|
393 |
+
"grad_norm": 0.1417828182794398,
|
394 |
+
"learning_rate": 1.6542674627869738e-06,
|
395 |
+
"loss": 0.454,
|
396 |
+
"step": 260
|
397 |
+
},
|
398 |
+
{
|
399 |
+
"epoch": 2.535885167464115,
|
400 |
+
"grad_norm": 0.2347199249792442,
|
401 |
+
"learning_rate": 1.3585064425634542e-06,
|
402 |
+
"loss": 0.4469,
|
403 |
+
"step": 265
|
404 |
+
},
|
405 |
+
{
|
406 |
+
"epoch": 2.583732057416268,
|
407 |
+
"grad_norm": 0.14511063554793874,
|
408 |
+
"learning_rate": 1.0899347581163222e-06,
|
409 |
+
"loss": 0.4483,
|
410 |
+
"step": 270
|
411 |
+
},
|
412 |
+
{
|
413 |
+
"epoch": 2.6315789473684212,
|
414 |
+
"grad_norm": 0.14598006035506486,
|
415 |
+
"learning_rate": 8.493974353268019e-07,
|
416 |
+
"loss": 0.459,
|
417 |
+
"step": 275
|
418 |
+
},
|
419 |
+
{
|
420 |
+
"epoch": 2.679425837320574,
|
421 |
+
"grad_norm": 0.15533898050231443,
|
422 |
+
"learning_rate": 6.37651293602628e-07,
|
423 |
+
"loss": 0.4493,
|
424 |
+
"step": 280
|
425 |
+
},
|
426 |
+
{
|
427 |
+
"epoch": 2.7272727272727275,
|
428 |
+
"grad_norm": 0.14147230186128865,
|
429 |
+
"learning_rate": 4.553625646441928e-07,
|
430 |
+
"loss": 0.4344,
|
431 |
+
"step": 285
|
432 |
+
},
|
433 |
+
{
|
434 |
+
"epoch": 2.77511961722488,
|
435 |
+
"grad_norm": 0.1738953363945195,
|
436 |
+
"learning_rate": 3.0310479623313125e-07,
|
437 |
+
"loss": 0.4513,
|
438 |
+
"step": 290
|
439 |
+
},
|
440 |
+
{
|
441 |
+
"epoch": 2.8229665071770333,
|
442 |
+
"grad_norm": 0.15001004355811276,
|
443 |
+
"learning_rate": 1.81357047638816e-07,
|
444 |
+
"loss": 0.4474,
|
445 |
+
"step": 295
|
446 |
+
},
|
447 |
+
{
|
448 |
+
"epoch": 2.8708133971291865,
|
449 |
+
"grad_norm": 0.15435665748487531,
|
450 |
+
"learning_rate": 9.0502382320653e-08,
|
451 |
+
"loss": 0.4543,
|
452 |
+
"step": 300
|
453 |
+
},
|
454 |
+
{
|
455 |
+
"epoch": 2.9186602870813396,
|
456 |
+
"grad_norm": 0.14366671363851222,
|
457 |
+
"learning_rate": 3.082666266872036e-08,
|
458 |
+
"loss": 0.4558,
|
459 |
+
"step": 305
|
460 |
+
},
|
461 |
+
{
|
462 |
+
"epoch": 2.9665071770334928,
|
463 |
+
"grad_norm": 0.1455740191931236,
|
464 |
+
"learning_rate": 2.5176505749346937e-09,
|
465 |
+
"loss": 0.4556,
|
466 |
+
"step": 310
|
467 |
+
},
|
468 |
+
{
|
469 |
+
"epoch": 2.985645933014354,
|
470 |
+
"eval_loss": 0.5831425786018372,
|
471 |
+
"eval_runtime": 13.8937,
|
472 |
+
"eval_samples_per_second": 9.789,
|
473 |
+
"eval_steps_per_second": 3.311,
|
474 |
+
"step": 312
|
475 |
+
},
|
476 |
+
{
|
477 |
+
"epoch": 2.985645933014354,
|
478 |
+
"step": 312,
|
479 |
+
"total_flos": 9149727375360.0,
|
480 |
+
"train_loss": 0.5307981822735224,
|
481 |
+
"train_runtime": 3368.0081,
|
482 |
+
"train_samples_per_second": 1.115,
|
483 |
+
"train_steps_per_second": 0.093
|
484 |
+
}
|
485 |
+
],
|
486 |
+
"logging_steps": 5,
|
487 |
+
"max_steps": 312,
|
488 |
+
"num_input_tokens_seen": 0,
|
489 |
+
"num_train_epochs": 3,
|
490 |
+
"save_steps": 500,
|
491 |
+
"stateful_callbacks": {
|
492 |
+
"TrainerControl": {
|
493 |
+
"args": {
|
494 |
+
"should_epoch_stop": false,
|
495 |
+
"should_evaluate": false,
|
496 |
+
"should_log": false,
|
497 |
+
"should_save": false,
|
498 |
+
"should_training_stop": false
|
499 |
+
},
|
500 |
+
"attributes": {}
|
501 |
+
}
|
502 |
+
},
|
503 |
+
"total_flos": 9149727375360.0,
|
504 |
+
"train_batch_size": 1,
|
505 |
+
"trial_name": null,
|
506 |
+
"trial_params": null
|
507 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc535384880fd37a44458e5a0ed40df06e0cd47adbe05540cc8dc5625583ac8c
|
3 |
+
size 7224
|