xiamengzhou
commited on
Commit
•
da8c4df
1
Parent(s):
10af4a7
update
Browse files- added_tokens.json +3 -0
- config.json +26 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +24 -0
- test/temp0.0_num1.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +34 -0
- trainer_state.json +123 -0
- training_args.bin +3 -0
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[PAD]": 32000
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/scratch/gpfs/mengzhou/space2/out/test_round23_mosaicml_version5/llama2_7b_pruning_scaling_doremi_to1.3b_sl4096_finetune_bs1M_fullrun/checkpoint-51200",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 2048,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 5504,
|
12 |
+
"max_position_embeddings": 4096,
|
13 |
+
"model_type": "llama",
|
14 |
+
"num_attention_heads": 16,
|
15 |
+
"num_hidden_layers": 24,
|
16 |
+
"num_key_value_heads": 32,
|
17 |
+
"pad_token_id": 0,
|
18 |
+
"pretraining_tp": 1,
|
19 |
+
"rms_norm_eps": 1e-05,
|
20 |
+
"rope_scaling": null,
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.28.0",
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 32001
|
26 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.28.0"
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e92f22d074488600dcc7e174437979ca027c20a578060a45e1573e5660ea4706
|
3 |
+
size 5381798337
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "[PAD]",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
test/temp0.0_num1.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,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"bos_token": {
|
5 |
+
"__type": "AddedToken",
|
6 |
+
"content": "<s>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"clean_up_tokenization_spaces": false,
|
13 |
+
"eos_token": {
|
14 |
+
"__type": "AddedToken",
|
15 |
+
"content": "</s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"model_max_length": 512,
|
22 |
+
"pad_token": null,
|
23 |
+
"padding_side": "right",
|
24 |
+
"sp_model_kwargs": {},
|
25 |
+
"tokenizer_class": "LlamaTokenizer",
|
26 |
+
"unk_token": {
|
27 |
+
"__type": "AddedToken",
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 158,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.13,
|
12 |
+
"learning_rate": 4.986836074908616e-05,
|
13 |
+
"loss": 1.2069,
|
14 |
+
"step": 10
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.25,
|
18 |
+
"learning_rate": 4.882355001067892e-05,
|
19 |
+
"loss": 1.1431,
|
20 |
+
"step": 20
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.38,
|
24 |
+
"learning_rate": 4.677782485216644e-05,
|
25 |
+
"loss": 1.1003,
|
26 |
+
"step": 30
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.51,
|
30 |
+
"learning_rate": 4.381713366536311e-05,
|
31 |
+
"loss": 1.1053,
|
32 |
+
"step": 40
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.63,
|
36 |
+
"learning_rate": 4.0065865909481417e-05,
|
37 |
+
"loss": 1.0894,
|
38 |
+
"step": 50
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.76,
|
42 |
+
"learning_rate": 3.568162605525953e-05,
|
43 |
+
"loss": 1.1011,
|
44 |
+
"step": 60
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.89,
|
48 |
+
"learning_rate": 3.084861204504122e-05,
|
49 |
+
"loss": 1.0828,
|
50 |
+
"step": 70
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 1.01,
|
54 |
+
"learning_rate": 2.5769876463904265e-05,
|
55 |
+
"loss": 1.0248,
|
56 |
+
"step": 80
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.14,
|
60 |
+
"learning_rate": 2.0658795558326743e-05,
|
61 |
+
"loss": 0.6882,
|
62 |
+
"step": 90
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 1.27,
|
66 |
+
"learning_rate": 1.5730104520100982e-05,
|
67 |
+
"loss": 0.6468,
|
68 |
+
"step": 100
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.27,
|
72 |
+
"eval_loss": 1.0625633001327515,
|
73 |
+
"eval_runtime": 0.5552,
|
74 |
+
"eval_samples_per_second": 18.01,
|
75 |
+
"eval_steps_per_second": 1.801,
|
76 |
+
"step": 100
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 1.39,
|
80 |
+
"learning_rate": 1.1190875675987356e-05,
|
81 |
+
"loss": 0.6445,
|
82 |
+
"step": 110
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"epoch": 1.52,
|
86 |
+
"learning_rate": 7.231818622338823e-06,
|
87 |
+
"loss": 0.6496,
|
88 |
+
"step": 120
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 1.65,
|
92 |
+
"learning_rate": 4.019267817841835e-06,
|
93 |
+
"loss": 0.6305,
|
94 |
+
"step": 130
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 1.77,
|
98 |
+
"learning_rate": 1.6881942648911076e-06,
|
99 |
+
"loss": 0.6451,
|
100 |
+
"step": 140
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 1.9,
|
104 |
+
"learning_rate": 3.3653488440851255e-07,
|
105 |
+
"loss": 0.6417,
|
106 |
+
"step": 150
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 2.0,
|
110 |
+
"step": 158,
|
111 |
+
"total_flos": 8944339187138560.0,
|
112 |
+
"train_loss": 0.8824256341668624,
|
113 |
+
"train_runtime": 246.3648,
|
114 |
+
"train_samples_per_second": 81.099,
|
115 |
+
"train_steps_per_second": 0.641
|
116 |
+
}
|
117 |
+
],
|
118 |
+
"max_steps": 158,
|
119 |
+
"num_train_epochs": 2,
|
120 |
+
"total_flos": 8944339187138560.0,
|
121 |
+
"trial_name": null,
|
122 |
+
"trial_params": null
|
123 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d1c394feff2b750998dd3075b59737b03e13d0727e87ad86f9ad4be0d65171b0
|
3 |
+
size 4027
|