phi-3.5-new
Browse files- README.md +59 -3
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- all_results.json +12 -0
- config.json +138 -0
- eval_results.json +7 -0
- runs/Sep19_20-38-15_dmlab/events.out.tfevents.1726767499.dmlab.6244.0 +3 -0
- runs/Sep19_20-38-15_dmlab/events.out.tfevents.1727048715.dmlab.6244.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 +392 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,3 +1,59 @@
|
|
1 |
-
---
|
2 |
-
license:
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: microsoft/Phi-3.5-mini-instruct
|
9 |
+
model-index:
|
10 |
+
- name: phi-3.5-new
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# phi-3.5-new
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [microsoft/Phi-3.5-mini-instruct](https://huggingface.co/microsoft/Phi-3.5-mini-instruct) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0635
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0002
|
41 |
+
- train_batch_size: 2
|
42 |
+
- eval_batch_size: 2
|
43 |
+
- seed: 0
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- lr_scheduler_warmup_ratio: 0.2
|
47 |
+
- num_epochs: 50
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- PEFT 0.11.2.dev0
|
56 |
+
- Transformers 4.42.0.dev0
|
57 |
+
- Pytorch 2.2.2+cu121
|
58 |
+
- Datasets 2.19.1
|
59 |
+
- Tokenizers 0.19.1
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "microsoft/Phi-3.5-mini-instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 32,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 16,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"o_proj",
|
24 |
+
"qkv_proj",
|
25 |
+
"down_proj",
|
26 |
+
"gate_up_proj"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0fa97e4d58e02802f0806a513b36519d0b86d77745fbd5476ae89add6084e0e7
|
3 |
+
size 100697728
|
all_results.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 50.0,
|
3 |
+
"eval_loss": 0.06346205621957779,
|
4 |
+
"eval_runtime": 335.7373,
|
5 |
+
"eval_samples_per_second": 2.478,
|
6 |
+
"eval_steps_per_second": 1.239,
|
7 |
+
"total_flos": 4.3571154598634004e+18,
|
8 |
+
"train_loss": 0.37453963272388163,
|
9 |
+
"train_runtime": 280880.5286,
|
10 |
+
"train_samples_per_second": 0.741,
|
11 |
+
"train_steps_per_second": 0.37
|
12 |
+
}
|
config.json
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/Phi-3.5-mini-instruct",
|
3 |
+
"architectures": [
|
4 |
+
"Phi3ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoConfig": "microsoft/Phi-3.5-mini-instruct--configuration_phi3.Phi3Config",
|
10 |
+
"AutoModelForCausalLM": "microsoft/Phi-3.5-mini-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": 131072,
|
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": {
|
29 |
+
"long_factor": [
|
30 |
+
1.0800000429153442,
|
31 |
+
1.1100000143051147,
|
32 |
+
1.1399999856948853,
|
33 |
+
1.340000033378601,
|
34 |
+
1.5899999141693115,
|
35 |
+
1.600000023841858,
|
36 |
+
1.6200000047683716,
|
37 |
+
2.620000123977661,
|
38 |
+
3.2300000190734863,
|
39 |
+
3.2300000190734863,
|
40 |
+
4.789999961853027,
|
41 |
+
7.400000095367432,
|
42 |
+
7.700000286102295,
|
43 |
+
9.09000015258789,
|
44 |
+
12.199999809265137,
|
45 |
+
17.670000076293945,
|
46 |
+
24.46000099182129,
|
47 |
+
28.57000160217285,
|
48 |
+
30.420001983642578,
|
49 |
+
30.840002059936523,
|
50 |
+
32.590003967285156,
|
51 |
+
32.93000411987305,
|
52 |
+
42.320003509521484,
|
53 |
+
44.96000289916992,
|
54 |
+
50.340003967285156,
|
55 |
+
50.45000457763672,
|
56 |
+
57.55000305175781,
|
57 |
+
57.93000411987305,
|
58 |
+
58.21000289916992,
|
59 |
+
60.1400032043457,
|
60 |
+
62.61000442504883,
|
61 |
+
62.62000274658203,
|
62 |
+
62.71000289916992,
|
63 |
+
63.1400032043457,
|
64 |
+
63.1400032043457,
|
65 |
+
63.77000427246094,
|
66 |
+
63.93000411987305,
|
67 |
+
63.96000289916992,
|
68 |
+
63.970001220703125,
|
69 |
+
64.02999877929688,
|
70 |
+
64.06999969482422,
|
71 |
+
64.08000183105469,
|
72 |
+
64.12000274658203,
|
73 |
+
64.41000366210938,
|
74 |
+
64.4800033569336,
|
75 |
+
64.51000213623047,
|
76 |
+
64.52999877929688,
|
77 |
+
64.83999633789062
|
78 |
+
],
|
79 |
+
"short_factor": [
|
80 |
+
1.0,
|
81 |
+
1.0199999809265137,
|
82 |
+
1.0299999713897705,
|
83 |
+
1.0299999713897705,
|
84 |
+
1.0499999523162842,
|
85 |
+
1.0499999523162842,
|
86 |
+
1.0499999523162842,
|
87 |
+
1.0499999523162842,
|
88 |
+
1.0499999523162842,
|
89 |
+
1.0699999332427979,
|
90 |
+
1.0999999046325684,
|
91 |
+
1.1099998950958252,
|
92 |
+
1.1599998474121094,
|
93 |
+
1.1599998474121094,
|
94 |
+
1.1699998378753662,
|
95 |
+
1.2899998426437378,
|
96 |
+
1.339999794960022,
|
97 |
+
1.679999828338623,
|
98 |
+
1.7899998426437378,
|
99 |
+
1.8199998140335083,
|
100 |
+
1.8499997854232788,
|
101 |
+
1.8799997568130493,
|
102 |
+
1.9099997282028198,
|
103 |
+
1.9399996995925903,
|
104 |
+
1.9899996519088745,
|
105 |
+
2.0199997425079346,
|
106 |
+
2.0199997425079346,
|
107 |
+
2.0199997425079346,
|
108 |
+
2.0199997425079346,
|
109 |
+
2.0199997425079346,
|
110 |
+
2.0199997425079346,
|
111 |
+
2.0299997329711914,
|
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.0799996852874756,
|
121 |
+
2.0899996757507324,
|
122 |
+
2.189999580383301,
|
123 |
+
2.2199995517730713,
|
124 |
+
2.5899994373321533,
|
125 |
+
2.729999542236328,
|
126 |
+
2.749999523162842,
|
127 |
+
2.8399994373321533
|
128 |
+
],
|
129 |
+
"type": "longrope"
|
130 |
+
},
|
131 |
+
"rope_theta": 10000.0,
|
132 |
+
"sliding_window": 262144,
|
133 |
+
"tie_word_embeddings": false,
|
134 |
+
"torch_dtype": "bfloat16",
|
135 |
+
"transformers_version": "4.42.0.dev0",
|
136 |
+
"use_cache": false,
|
137 |
+
"vocab_size": 32064
|
138 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 50.0,
|
3 |
+
"eval_loss": 0.06346205621957779,
|
4 |
+
"eval_runtime": 335.7373,
|
5 |
+
"eval_samples_per_second": 2.478,
|
6 |
+
"eval_steps_per_second": 1.239
|
7 |
+
}
|
runs/Sep19_20-38-15_dmlab/events.out.tfevents.1726767499.dmlab.6244.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec7a72faf6cfdff00b23876756db45aa83a892564c35c750d38cd582c92d95fa
|
3 |
+
size 18883
|
runs/Sep19_20-38-15_dmlab/events.out.tfevents.1727048715.dmlab.6244.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cf88eabc26c65ef79f905245f5f9a4b02ec537f21f71bb72356d563c3546189
|
3 |
+
size 364
|
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": 50.0,
|
3 |
+
"total_flos": 4.3571154598634004e+18,
|
4 |
+
"train_loss": 0.37453963272388163,
|
5 |
+
"train_runtime": 280880.5286,
|
6 |
+
"train_samples_per_second": 0.741,
|
7 |
+
"train_steps_per_second": 0.37
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,392 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 50.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 104000,
|
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.975465714931488,
|
14 |
+
"learning_rate": 2e-05,
|
15 |
+
"loss": 0.9891,
|
16 |
+
"step": 2080
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 2.0,
|
20 |
+
"grad_norm": 1.3330873250961304,
|
21 |
+
"learning_rate": 4e-05,
|
22 |
+
"loss": 0.8643,
|
23 |
+
"step": 4160
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 3.0,
|
27 |
+
"grad_norm": 1.202699899673462,
|
28 |
+
"learning_rate": 6e-05,
|
29 |
+
"loss": 0.8188,
|
30 |
+
"step": 6240
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 4.0,
|
34 |
+
"grad_norm": 1.5446971654891968,
|
35 |
+
"learning_rate": 8e-05,
|
36 |
+
"loss": 0.7587,
|
37 |
+
"step": 8320
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 5.0,
|
41 |
+
"grad_norm": 1.8479889631271362,
|
42 |
+
"learning_rate": 0.0001,
|
43 |
+
"loss": 0.6784,
|
44 |
+
"step": 10400
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 6.0,
|
48 |
+
"grad_norm": 1.271431803703308,
|
49 |
+
"learning_rate": 0.00012,
|
50 |
+
"loss": 0.6332,
|
51 |
+
"step": 12480
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 7.0,
|
55 |
+
"grad_norm": 0.828289806842804,
|
56 |
+
"learning_rate": 0.00014,
|
57 |
+
"loss": 0.6135,
|
58 |
+
"step": 14560
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 8.0,
|
62 |
+
"grad_norm": 0.5532117486000061,
|
63 |
+
"learning_rate": 0.00016,
|
64 |
+
"loss": 0.6021,
|
65 |
+
"step": 16640
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 9.0,
|
69 |
+
"grad_norm": 0.7734587788581848,
|
70 |
+
"learning_rate": 0.00018,
|
71 |
+
"loss": 0.5932,
|
72 |
+
"step": 18720
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 10.0,
|
76 |
+
"grad_norm": 0.9202972650527954,
|
77 |
+
"learning_rate": 0.0002,
|
78 |
+
"loss": 0.5841,
|
79 |
+
"step": 20800
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 11.0,
|
83 |
+
"grad_norm": 1.1167834997177124,
|
84 |
+
"learning_rate": 0.0001996917333733128,
|
85 |
+
"loss": 0.5765,
|
86 |
+
"step": 22880
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 12.0,
|
90 |
+
"grad_norm": 0.7493125796318054,
|
91 |
+
"learning_rate": 0.00019876883405951377,
|
92 |
+
"loss": 0.5694,
|
93 |
+
"step": 24960
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 13.0,
|
97 |
+
"grad_norm": 0.9302449226379395,
|
98 |
+
"learning_rate": 0.00019723699203976766,
|
99 |
+
"loss": 0.5617,
|
100 |
+
"step": 27040
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 14.0,
|
104 |
+
"grad_norm": 0.9727580547332764,
|
105 |
+
"learning_rate": 0.00019510565162951537,
|
106 |
+
"loss": 0.5553,
|
107 |
+
"step": 29120
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 15.0,
|
111 |
+
"grad_norm": 0.6252313852310181,
|
112 |
+
"learning_rate": 0.0001923879532511287,
|
113 |
+
"loss": 0.5488,
|
114 |
+
"step": 31200
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 16.0,
|
118 |
+
"grad_norm": 0.6910933256149292,
|
119 |
+
"learning_rate": 0.0001891006524188368,
|
120 |
+
"loss": 0.5406,
|
121 |
+
"step": 33280
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 17.0,
|
125 |
+
"grad_norm": 0.6691188812255859,
|
126 |
+
"learning_rate": 0.00018526401643540922,
|
127 |
+
"loss": 0.5347,
|
128 |
+
"step": 35360
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 18.0,
|
132 |
+
"grad_norm": 0.656794548034668,
|
133 |
+
"learning_rate": 0.00018090169943749476,
|
134 |
+
"loss": 0.5267,
|
135 |
+
"step": 37440
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 19.0,
|
139 |
+
"grad_norm": 0.528489887714386,
|
140 |
+
"learning_rate": 0.0001760405965600031,
|
141 |
+
"loss": 0.5184,
|
142 |
+
"step": 39520
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 20.0,
|
146 |
+
"grad_norm": 0.7208832502365112,
|
147 |
+
"learning_rate": 0.00017071067811865476,
|
148 |
+
"loss": 0.5087,
|
149 |
+
"step": 41600
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 21.0,
|
153 |
+
"grad_norm": 0.6855819225311279,
|
154 |
+
"learning_rate": 0.00016494480483301836,
|
155 |
+
"loss": 0.4984,
|
156 |
+
"step": 43680
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 22.0,
|
160 |
+
"grad_norm": 0.9891296625137329,
|
161 |
+
"learning_rate": 0.00015877852522924732,
|
162 |
+
"loss": 0.4858,
|
163 |
+
"step": 45760
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 23.0,
|
167 |
+
"grad_norm": 1.0229650735855103,
|
168 |
+
"learning_rate": 0.0001522498564715949,
|
169 |
+
"loss": 0.4719,
|
170 |
+
"step": 47840
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 24.0,
|
174 |
+
"grad_norm": 0.9607130289077759,
|
175 |
+
"learning_rate": 0.00014539904997395468,
|
176 |
+
"loss": 0.4558,
|
177 |
+
"step": 49920
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 25.0,
|
181 |
+
"grad_norm": 1.1026415824890137,
|
182 |
+
"learning_rate": 0.000138268343236509,
|
183 |
+
"loss": 0.4375,
|
184 |
+
"step": 52000
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 26.0,
|
188 |
+
"grad_norm": 0.9125514030456543,
|
189 |
+
"learning_rate": 0.00013090169943749476,
|
190 |
+
"loss": 0.4175,
|
191 |
+
"step": 54080
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 27.0,
|
195 |
+
"grad_norm": 0.9571768045425415,
|
196 |
+
"learning_rate": 0.00012334453638559057,
|
197 |
+
"loss": 0.3942,
|
198 |
+
"step": 56160
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 28.0,
|
202 |
+
"grad_norm": 1.0941965579986572,
|
203 |
+
"learning_rate": 0.0001156434465040231,
|
204 |
+
"loss": 0.3696,
|
205 |
+
"step": 58240
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 29.0,
|
209 |
+
"grad_norm": 1.6244746446609497,
|
210 |
+
"learning_rate": 0.0001078459095727845,
|
211 |
+
"loss": 0.3424,
|
212 |
+
"step": 60320
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 30.0,
|
216 |
+
"grad_norm": 1.409400463104248,
|
217 |
+
"learning_rate": 0.0001,
|
218 |
+
"loss": 0.3138,
|
219 |
+
"step": 62400
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 31.0,
|
223 |
+
"grad_norm": 1.7202110290527344,
|
224 |
+
"learning_rate": 9.215409042721552e-05,
|
225 |
+
"loss": 0.2836,
|
226 |
+
"step": 64480
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 32.0,
|
230 |
+
"grad_norm": 1.6299169063568115,
|
231 |
+
"learning_rate": 8.435655349597689e-05,
|
232 |
+
"loss": 0.2525,
|
233 |
+
"step": 66560
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 33.0,
|
237 |
+
"grad_norm": 1.7053184509277344,
|
238 |
+
"learning_rate": 7.66554636144095e-05,
|
239 |
+
"loss": 0.2217,
|
240 |
+
"step": 68640
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 34.0,
|
244 |
+
"grad_norm": 1.7824922800064087,
|
245 |
+
"learning_rate": 6.909830056250527e-05,
|
246 |
+
"loss": 0.192,
|
247 |
+
"step": 70720
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 35.0,
|
251 |
+
"grad_norm": 1.8197373151779175,
|
252 |
+
"learning_rate": 6.173165676349103e-05,
|
253 |
+
"loss": 0.1645,
|
254 |
+
"step": 72800
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 36.0,
|
258 |
+
"grad_norm": 1.625858187675476,
|
259 |
+
"learning_rate": 5.4600950026045326e-05,
|
260 |
+
"loss": 0.1394,
|
261 |
+
"step": 74880
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 37.0,
|
265 |
+
"grad_norm": 1.8438661098480225,
|
266 |
+
"learning_rate": 4.7750143528405126e-05,
|
267 |
+
"loss": 0.1171,
|
268 |
+
"step": 76960
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 38.0,
|
272 |
+
"grad_norm": 1.7667992115020752,
|
273 |
+
"learning_rate": 4.12214747707527e-05,
|
274 |
+
"loss": 0.0976,
|
275 |
+
"step": 79040
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 39.0,
|
279 |
+
"grad_norm": 1.7099578380584717,
|
280 |
+
"learning_rate": 3.5055195166981645e-05,
|
281 |
+
"loss": 0.0814,
|
282 |
+
"step": 81120
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 40.0,
|
286 |
+
"grad_norm": 1.9202967882156372,
|
287 |
+
"learning_rate": 2.9289321881345254e-05,
|
288 |
+
"loss": 0.0679,
|
289 |
+
"step": 83200
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 41.0,
|
293 |
+
"grad_norm": 1.7177019119262695,
|
294 |
+
"learning_rate": 2.3959403439996907e-05,
|
295 |
+
"loss": 0.0569,
|
296 |
+
"step": 85280
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 42.0,
|
300 |
+
"grad_norm": 1.6319146156311035,
|
301 |
+
"learning_rate": 1.9098300562505266e-05,
|
302 |
+
"loss": 0.0482,
|
303 |
+
"step": 87360
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 43.0,
|
307 |
+
"grad_norm": 1.3095797300338745,
|
308 |
+
"learning_rate": 1.4735983564590783e-05,
|
309 |
+
"loss": 0.0412,
|
310 |
+
"step": 89440
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 44.0,
|
314 |
+
"grad_norm": 1.5144089460372925,
|
315 |
+
"learning_rate": 1.0899347581163221e-05,
|
316 |
+
"loss": 0.0362,
|
317 |
+
"step": 91520
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 45.0,
|
321 |
+
"grad_norm": 1.2941925525665283,
|
322 |
+
"learning_rate": 7.612046748871327e-06,
|
323 |
+
"loss": 0.0321,
|
324 |
+
"step": 93600
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 46.0,
|
328 |
+
"grad_norm": 1.1236457824707031,
|
329 |
+
"learning_rate": 4.8943483704846475e-06,
|
330 |
+
"loss": 0.0293,
|
331 |
+
"step": 95680
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 47.0,
|
335 |
+
"grad_norm": 1.4110456705093384,
|
336 |
+
"learning_rate": 2.7630079602323442e-06,
|
337 |
+
"loss": 0.027,
|
338 |
+
"step": 97760
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 48.0,
|
342 |
+
"grad_norm": 1.5882657766342163,
|
343 |
+
"learning_rate": 1.231165940486234e-06,
|
344 |
+
"loss": 0.0258,
|
345 |
+
"step": 99840
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 49.0,
|
349 |
+
"grad_norm": 1.0106526613235474,
|
350 |
+
"learning_rate": 3.0826662668720364e-07,
|
351 |
+
"loss": 0.0249,
|
352 |
+
"step": 101920
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 50.0,
|
356 |
+
"grad_norm": 0.8798067569732666,
|
357 |
+
"learning_rate": 0.0,
|
358 |
+
"loss": 0.0246,
|
359 |
+
"step": 104000
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 50.0,
|
363 |
+
"step": 104000,
|
364 |
+
"total_flos": 4.3571154598634004e+18,
|
365 |
+
"train_loss": 0.37453963272388163,
|
366 |
+
"train_runtime": 280880.5286,
|
367 |
+
"train_samples_per_second": 0.741,
|
368 |
+
"train_steps_per_second": 0.37
|
369 |
+
}
|
370 |
+
],
|
371 |
+
"logging_steps": 500,
|
372 |
+
"max_steps": 104000,
|
373 |
+
"num_input_tokens_seen": 0,
|
374 |
+
"num_train_epochs": 50,
|
375 |
+
"save_steps": 500,
|
376 |
+
"stateful_callbacks": {
|
377 |
+
"TrainerControl": {
|
378 |
+
"args": {
|
379 |
+
"should_epoch_stop": false,
|
380 |
+
"should_evaluate": false,
|
381 |
+
"should_log": false,
|
382 |
+
"should_save": true,
|
383 |
+
"should_training_stop": true
|
384 |
+
},
|
385 |
+
"attributes": {}
|
386 |
+
}
|
387 |
+
},
|
388 |
+
"total_flos": 4.3571154598634004e+18,
|
389 |
+
"train_batch_size": 2,
|
390 |
+
"trial_name": null,
|
391 |
+
"trial_params": null
|
392 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8efc2b462e2a27e9e94241b823315d61ad1d3ea125de62d2a68bae44f01ac06d
|
3 |
+
size 5240
|