phi-3.5-new
Browse files- README.md +57 -3
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- all_results.json +12 -0
- config.json +139 -0
- eval_results.json +7 -0
- runs/Jan12_12-55-43_dmlab/events.out.tfevents.1736679343.dmlab.6276.0 +3 -0
- runs/Jan12_13-51-56_dmlab/events.out.tfevents.1736682716.dmlab.15941.0 +3 -0
- runs/Jan12_13-51-56_dmlab/events.out.tfevents.1736688335.dmlab.15941.1 +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +131 -0
- train_results.json +8 -0
- trainer_state.json +182 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,3 +1,57 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: microsoft/Phi-3.5-mini-instruct
|
3 |
+
library_name: transformers
|
4 |
+
model_name: phi-3.5-new
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
- trl
|
8 |
+
- sft
|
9 |
+
licence: license
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Card for phi-3.5-new
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [microsoft/Phi-3.5-mini-instruct](https://huggingface.co/microsoft/Phi-3.5-mini-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="pefanis27/phi-3.5-new", 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 |
+
|
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.5.1
|
39 |
+
- Datasets: 3.2.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 |
+
```
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "microsoft/Phi-3.5-mini-instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": true,
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 32,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.05,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 16,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"qkv_proj",
|
27 |
+
"gate_up_proj",
|
28 |
+
"o_proj",
|
29 |
+
"down_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20178576bc8573e56eb14493ece1b59f3ae774a58a2e0780f176f7c0d3a70c29
|
3 |
+
size 100697728
|
all_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 20.0,
|
3 |
+
"eval_loss": 0.28774118423461914,
|
4 |
+
"eval_runtime": 16.9372,
|
5 |
+
"eval_samples_per_second": 2.48,
|
6 |
+
"eval_steps_per_second": 1.24,
|
7 |
+
"total_flos": 8.68297895581778e+16,
|
8 |
+
"train_loss": 0.616850325694451,
|
9 |
+
"train_runtime": 5601.927,
|
10 |
+
"train_samples_per_second": 0.743,
|
11 |
+
"train_steps_per_second": 0.371
|
12 |
+
}
|
config.json
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "microsoft/Phi-3.5-mini-instruct",
|
4 |
+
"architectures": [
|
5 |
+
"Phi3ForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_bias": false,
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"auto_map": {
|
10 |
+
"AutoConfig": "microsoft/Phi-3.5-mini-instruct--configuration_phi3.Phi3Config",
|
11 |
+
"AutoModelForCausalLM": "microsoft/Phi-3.5-mini-instruct--modeling_phi3.Phi3ForCausalLM"
|
12 |
+
},
|
13 |
+
"bos_token_id": 1,
|
14 |
+
"embd_pdrop": 0.0,
|
15 |
+
"eos_token_id": 32000,
|
16 |
+
"hidden_act": "silu",
|
17 |
+
"hidden_size": 3072,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 8192,
|
20 |
+
"max_position_embeddings": 131072,
|
21 |
+
"model_type": "phi3",
|
22 |
+
"num_attention_heads": 32,
|
23 |
+
"num_hidden_layers": 32,
|
24 |
+
"num_key_value_heads": 32,
|
25 |
+
"original_max_position_embeddings": 4096,
|
26 |
+
"pad_token_id": 32000,
|
27 |
+
"resid_pdrop": 0.0,
|
28 |
+
"rms_norm_eps": 1e-05,
|
29 |
+
"rope_scaling": {
|
30 |
+
"long_factor": [
|
31 |
+
1.0800000429153442,
|
32 |
+
1.1100000143051147,
|
33 |
+
1.1399999856948853,
|
34 |
+
1.340000033378601,
|
35 |
+
1.5899999141693115,
|
36 |
+
1.600000023841858,
|
37 |
+
1.6200000047683716,
|
38 |
+
2.620000123977661,
|
39 |
+
3.2300000190734863,
|
40 |
+
3.2300000190734863,
|
41 |
+
4.789999961853027,
|
42 |
+
7.400000095367432,
|
43 |
+
7.700000286102295,
|
44 |
+
9.09000015258789,
|
45 |
+
12.199999809265137,
|
46 |
+
17.670000076293945,
|
47 |
+
24.46000099182129,
|
48 |
+
28.57000160217285,
|
49 |
+
30.420001983642578,
|
50 |
+
30.840002059936523,
|
51 |
+
32.590003967285156,
|
52 |
+
32.93000411987305,
|
53 |
+
42.320003509521484,
|
54 |
+
44.96000289916992,
|
55 |
+
50.340003967285156,
|
56 |
+
50.45000457763672,
|
57 |
+
57.55000305175781,
|
58 |
+
57.93000411987305,
|
59 |
+
58.21000289916992,
|
60 |
+
60.1400032043457,
|
61 |
+
62.61000442504883,
|
62 |
+
62.62000274658203,
|
63 |
+
62.71000289916992,
|
64 |
+
63.1400032043457,
|
65 |
+
63.1400032043457,
|
66 |
+
63.77000427246094,
|
67 |
+
63.93000411987305,
|
68 |
+
63.96000289916992,
|
69 |
+
63.970001220703125,
|
70 |
+
64.02999877929688,
|
71 |
+
64.06999969482422,
|
72 |
+
64.08000183105469,
|
73 |
+
64.12000274658203,
|
74 |
+
64.41000366210938,
|
75 |
+
64.4800033569336,
|
76 |
+
64.51000213623047,
|
77 |
+
64.52999877929688,
|
78 |
+
64.83999633789062
|
79 |
+
],
|
80 |
+
"short_factor": [
|
81 |
+
1.0,
|
82 |
+
1.0199999809265137,
|
83 |
+
1.0299999713897705,
|
84 |
+
1.0299999713897705,
|
85 |
+
1.0499999523162842,
|
86 |
+
1.0499999523162842,
|
87 |
+
1.0499999523162842,
|
88 |
+
1.0499999523162842,
|
89 |
+
1.0499999523162842,
|
90 |
+
1.0699999332427979,
|
91 |
+
1.0999999046325684,
|
92 |
+
1.1099998950958252,
|
93 |
+
1.1599998474121094,
|
94 |
+
1.1599998474121094,
|
95 |
+
1.1699998378753662,
|
96 |
+
1.2899998426437378,
|
97 |
+
1.339999794960022,
|
98 |
+
1.679999828338623,
|
99 |
+
1.7899998426437378,
|
100 |
+
1.8199998140335083,
|
101 |
+
1.8499997854232788,
|
102 |
+
1.8799997568130493,
|
103 |
+
1.9099997282028198,
|
104 |
+
1.9399996995925903,
|
105 |
+
1.9899996519088745,
|
106 |
+
2.0199997425079346,
|
107 |
+
2.0199997425079346,
|
108 |
+
2.0199997425079346,
|
109 |
+
2.0199997425079346,
|
110 |
+
2.0199997425079346,
|
111 |
+
2.0199997425079346,
|
112 |
+
2.0299997329711914,
|
113 |
+
2.0299997329711914,
|
114 |
+
2.0299997329711914,
|
115 |
+
2.0299997329711914,
|
116 |
+
2.0299997329711914,
|
117 |
+
2.0299997329711914,
|
118 |
+
2.0299997329711914,
|
119 |
+
2.0299997329711914,
|
120 |
+
2.0299997329711914,
|
121 |
+
2.0799996852874756,
|
122 |
+
2.0899996757507324,
|
123 |
+
2.189999580383301,
|
124 |
+
2.2199995517730713,
|
125 |
+
2.5899994373321533,
|
126 |
+
2.729999542236328,
|
127 |
+
2.749999523162842,
|
128 |
+
2.8399994373321533
|
129 |
+
],
|
130 |
+
"type": "longrope"
|
131 |
+
},
|
132 |
+
"rope_theta": 10000.0,
|
133 |
+
"sliding_window": 262144,
|
134 |
+
"tie_word_embeddings": false,
|
135 |
+
"torch_dtype": "bfloat16",
|
136 |
+
"transformers_version": "4.46.3",
|
137 |
+
"use_cache": false,
|
138 |
+
"vocab_size": 32064
|
139 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 20.0,
|
3 |
+
"eval_loss": 0.28774118423461914,
|
4 |
+
"eval_runtime": 16.9372,
|
5 |
+
"eval_samples_per_second": 2.48,
|
6 |
+
"eval_steps_per_second": 1.24
|
7 |
+
}
|
runs/Jan12_12-55-43_dmlab/events.out.tfevents.1736679343.dmlab.6276.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc48c69cca1929ede90f8c340c6459cf222c99c8f3aa4fd59375fb22d382cc74
|
3 |
+
size 8731
|
runs/Jan12_13-51-56_dmlab/events.out.tfevents.1736682716.dmlab.15941.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f3d23d930999fad63150b2c11fe1ab2996cb8c971fb050fafe4855c2fb1a61f
|
3 |
+
size 12883
|
runs/Jan12_13-51-56_dmlab/events.out.tfevents.1736688335.dmlab.15941.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fcdd464ad0070e459285b95a099918dce843a3df9256cca1b80ae7c124f754a8
|
3 |
+
size 359
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "<unk>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
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' and message['content'] %}{{'<|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": 2048,
|
125 |
+
"pad_token": "<unk>",
|
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,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 20.0,
|
3 |
+
"total_flos": 8.68297895581778e+16,
|
4 |
+
"train_loss": 0.616850325694451,
|
5 |
+
"train_runtime": 5601.927,
|
6 |
+
"train_samples_per_second": 0.743,
|
7 |
+
"train_steps_per_second": 0.371
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 20.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2080,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 1.0,
|
13 |
+
"grad_norm": 0.6938191056251526,
|
14 |
+
"learning_rate": 5e-05,
|
15 |
+
"loss": 1.1644,
|
16 |
+
"step": 104
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 2.0,
|
20 |
+
"grad_norm": 0.5342716574668884,
|
21 |
+
"learning_rate": 0.0001,
|
22 |
+
"loss": 0.9083,
|
23 |
+
"step": 208
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 3.0,
|
27 |
+
"grad_norm": 0.47485536336898804,
|
28 |
+
"learning_rate": 0.00015000000000000001,
|
29 |
+
"loss": 0.8697,
|
30 |
+
"step": 312
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 4.0,
|
34 |
+
"grad_norm": 0.5520597100257874,
|
35 |
+
"learning_rate": 0.0002,
|
36 |
+
"loss": 0.8504,
|
37 |
+
"step": 416
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 5.0,
|
41 |
+
"grad_norm": 0.4108010530471802,
|
42 |
+
"learning_rate": 0.00019807852804032305,
|
43 |
+
"loss": 0.8314,
|
44 |
+
"step": 520
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 6.0,
|
48 |
+
"grad_norm": 0.5089908838272095,
|
49 |
+
"learning_rate": 0.0001923879532511287,
|
50 |
+
"loss": 0.809,
|
51 |
+
"step": 624
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 7.0,
|
55 |
+
"grad_norm": 0.5841424465179443,
|
56 |
+
"learning_rate": 0.00018314696123025454,
|
57 |
+
"loss": 0.788,
|
58 |
+
"step": 728
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 8.0,
|
62 |
+
"grad_norm": 0.6074467301368713,
|
63 |
+
"learning_rate": 0.00017071067811865476,
|
64 |
+
"loss": 0.7642,
|
65 |
+
"step": 832
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 9.0,
|
69 |
+
"grad_norm": 0.6272623538970947,
|
70 |
+
"learning_rate": 0.00015555702330196023,
|
71 |
+
"loss": 0.7376,
|
72 |
+
"step": 936
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 10.0,
|
76 |
+
"grad_norm": 0.6662757992744446,
|
77 |
+
"learning_rate": 0.000138268343236509,
|
78 |
+
"loss": 0.7044,
|
79 |
+
"step": 1040
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 11.0,
|
83 |
+
"grad_norm": 0.9177679419517517,
|
84 |
+
"learning_rate": 0.00011950903220161285,
|
85 |
+
"loss": 0.6638,
|
86 |
+
"step": 1144
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 12.0,
|
90 |
+
"grad_norm": 1.0447787046432495,
|
91 |
+
"learning_rate": 0.0001,
|
92 |
+
"loss": 0.6131,
|
93 |
+
"step": 1248
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 13.0,
|
97 |
+
"grad_norm": 1.1840310096740723,
|
98 |
+
"learning_rate": 8.049096779838719e-05,
|
99 |
+
"loss": 0.5513,
|
100 |
+
"step": 1352
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 14.0,
|
104 |
+
"grad_norm": 1.5581327676773071,
|
105 |
+
"learning_rate": 6.173165676349103e-05,
|
106 |
+
"loss": 0.4789,
|
107 |
+
"step": 1456
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 15.0,
|
111 |
+
"grad_norm": 1.5830806493759155,
|
112 |
+
"learning_rate": 4.444297669803981e-05,
|
113 |
+
"loss": 0.4021,
|
114 |
+
"step": 1560
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 16.0,
|
118 |
+
"grad_norm": 1.7810040712356567,
|
119 |
+
"learning_rate": 2.9289321881345254e-05,
|
120 |
+
"loss": 0.3294,
|
121 |
+
"step": 1664
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 17.0,
|
125 |
+
"grad_norm": 1.415872573852539,
|
126 |
+
"learning_rate": 1.6853038769745467e-05,
|
127 |
+
"loss": 0.2672,
|
128 |
+
"step": 1768
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 18.0,
|
132 |
+
"grad_norm": 1.7194544076919556,
|
133 |
+
"learning_rate": 7.612046748871327e-06,
|
134 |
+
"loss": 0.2226,
|
135 |
+
"step": 1872
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 19.0,
|
139 |
+
"grad_norm": 1.4402439594268799,
|
140 |
+
"learning_rate": 1.921471959676957e-06,
|
141 |
+
"loss": 0.1961,
|
142 |
+
"step": 1976
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 20.0,
|
146 |
+
"grad_norm": 1.3084591627120972,
|
147 |
+
"learning_rate": 0.0,
|
148 |
+
"loss": 0.1851,
|
149 |
+
"step": 2080
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 20.0,
|
153 |
+
"step": 2080,
|
154 |
+
"total_flos": 8.68297895581778e+16,
|
155 |
+
"train_loss": 0.616850325694451,
|
156 |
+
"train_runtime": 5601.927,
|
157 |
+
"train_samples_per_second": 0.743,
|
158 |
+
"train_steps_per_second": 0.371
|
159 |
+
}
|
160 |
+
],
|
161 |
+
"logging_steps": 500,
|
162 |
+
"max_steps": 2080,
|
163 |
+
"num_input_tokens_seen": 0,
|
164 |
+
"num_train_epochs": 20,
|
165 |
+
"save_steps": 500,
|
166 |
+
"stateful_callbacks": {
|
167 |
+
"TrainerControl": {
|
168 |
+
"args": {
|
169 |
+
"should_epoch_stop": false,
|
170 |
+
"should_evaluate": false,
|
171 |
+
"should_log": false,
|
172 |
+
"should_save": true,
|
173 |
+
"should_training_stop": true
|
174 |
+
},
|
175 |
+
"attributes": {}
|
176 |
+
}
|
177 |
+
},
|
178 |
+
"total_flos": 8.68297895581778e+16,
|
179 |
+
"train_batch_size": 2,
|
180 |
+
"trial_name": null,
|
181 |
+
"trial_params": null
|
182 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:633d6603fb5d519d493770c00d2039db41cce516bb4399ad40e6d01187a3b828
|
3 |
+
size 5624
|