Upload folder using huggingface_hub
Browse files- config.json +26 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +6 -0
- tokenizer.json +0 -0
- tokenizer_config.json +9 -0
- trainer_state.json +166 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "EleutherAI/pythia-1b-deduped",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoXForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"classifier_dropout": 0.1,
|
8 |
+
"eos_token_id": 0,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_size": 2048,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 8192,
|
13 |
+
"layer_norm_eps": 1e-05,
|
14 |
+
"max_position_embeddings": 2048,
|
15 |
+
"model_type": "gpt_neox",
|
16 |
+
"num_attention_heads": 8,
|
17 |
+
"num_hidden_layers": 16,
|
18 |
+
"rotary_emb_base": 10000,
|
19 |
+
"rotary_pct": 0.25,
|
20 |
+
"tie_word_embeddings": false,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.31.0.dev0",
|
23 |
+
"use_cache": true,
|
24 |
+
"use_parallel_residual": true,
|
25 |
+
"vocab_size": 50688
|
26 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.31.0.dev0"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2434cf3371ae667ad803897e57f7afb1663b9902167e679d657bbdda688cc999
|
3 |
+
size 4053491549
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"pad_token": "<pad>",
|
5 |
+
"unk_token": "<|endoftext|>"
|
6 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"eos_token": "<|endoftext|>",
|
6 |
+
"model_max_length": 1000000000000000019884624838656,
|
7 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
+
"unk_token": "<|endoftext|>"
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 2.404644012451172,
|
3 |
+
"best_model_checkpoint": "/mnt/green-efs/bashar.alhafni/models/pythia_1b/prepend_tokens_10/checkpoint-1325",
|
4 |
+
"epoch": 9.98868351565447,
|
5 |
+
"global_step": 6620,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 1.0,
|
12 |
+
"learning_rate": 5e-05,
|
13 |
+
"loss": 2.6227,
|
14 |
+
"step": 662
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.0,
|
18 |
+
"eval_accuracy": 0.15464476939026045,
|
19 |
+
"eval_loss": 2.4311635494232178,
|
20 |
+
"eval_runtime": 202.921,
|
21 |
+
"eval_samples_per_second": 51.774,
|
22 |
+
"eval_steps_per_second": 1.621,
|
23 |
+
"step": 662
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 2.0,
|
27 |
+
"learning_rate": 5e-05,
|
28 |
+
"loss": 2.1857,
|
29 |
+
"step": 1325
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 2.0,
|
33 |
+
"eval_accuracy": 0.156901358233316,
|
34 |
+
"eval_loss": 2.404644012451172,
|
35 |
+
"eval_runtime": 204.3521,
|
36 |
+
"eval_samples_per_second": 51.411,
|
37 |
+
"eval_steps_per_second": 1.61,
|
38 |
+
"step": 1325
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 3.0,
|
42 |
+
"learning_rate": 5e-05,
|
43 |
+
"loss": 1.8241,
|
44 |
+
"step": 1988
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.0,
|
48 |
+
"eval_accuracy": 0.15710633350323114,
|
49 |
+
"eval_loss": 2.468627691268921,
|
50 |
+
"eval_runtime": 205.5884,
|
51 |
+
"eval_samples_per_second": 51.102,
|
52 |
+
"eval_steps_per_second": 1.6,
|
53 |
+
"step": 1988
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 4.0,
|
57 |
+
"learning_rate": 5e-05,
|
58 |
+
"loss": 1.4508,
|
59 |
+
"step": 2651
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 4.0,
|
63 |
+
"eval_accuracy": 0.15584242788973726,
|
64 |
+
"eval_loss": 2.629725456237793,
|
65 |
+
"eval_runtime": 204.4664,
|
66 |
+
"eval_samples_per_second": 51.383,
|
67 |
+
"eval_steps_per_second": 1.609,
|
68 |
+
"step": 2651
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 5.0,
|
72 |
+
"learning_rate": 5e-05,
|
73 |
+
"loss": 1.0894,
|
74 |
+
"step": 3313
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 5.0,
|
78 |
+
"eval_accuracy": 0.1536770218721546,
|
79 |
+
"eval_loss": 2.8261826038360596,
|
80 |
+
"eval_runtime": 204.5216,
|
81 |
+
"eval_samples_per_second": 51.369,
|
82 |
+
"eval_steps_per_second": 1.609,
|
83 |
+
"step": 3313
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"epoch": 6.0,
|
87 |
+
"learning_rate": 5e-05,
|
88 |
+
"loss": 0.7696,
|
89 |
+
"step": 3976
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 6.0,
|
93 |
+
"eval_accuracy": 0.15195952822378275,
|
94 |
+
"eval_loss": 3.0950815677642822,
|
95 |
+
"eval_runtime": 202.8864,
|
96 |
+
"eval_samples_per_second": 51.783,
|
97 |
+
"eval_steps_per_second": 1.622,
|
98 |
+
"step": 3976
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 7.0,
|
102 |
+
"learning_rate": 5e-05,
|
103 |
+
"loss": 0.5194,
|
104 |
+
"step": 4639
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 7.0,
|
108 |
+
"eval_accuracy": 0.1502570146110243,
|
109 |
+
"eval_loss": 3.3549509048461914,
|
110 |
+
"eval_runtime": 202.9616,
|
111 |
+
"eval_samples_per_second": 51.763,
|
112 |
+
"eval_steps_per_second": 1.621,
|
113 |
+
"step": 4639
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"epoch": 8.0,
|
117 |
+
"learning_rate": 5e-05,
|
118 |
+
"loss": 0.347,
|
119 |
+
"step": 5302
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 8.0,
|
123 |
+
"eval_accuracy": 0.14944492920211863,
|
124 |
+
"eval_loss": 3.607959032058716,
|
125 |
+
"eval_runtime": 203.1016,
|
126 |
+
"eval_samples_per_second": 51.728,
|
127 |
+
"eval_steps_per_second": 1.62,
|
128 |
+
"step": 5302
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 9.0,
|
132 |
+
"learning_rate": 5e-05,
|
133 |
+
"loss": 0.2465,
|
134 |
+
"step": 5964
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 9.0,
|
138 |
+
"eval_accuracy": 0.14904856304240988,
|
139 |
+
"eval_loss": 3.8273768424987793,
|
140 |
+
"eval_runtime": 203.0149,
|
141 |
+
"eval_samples_per_second": 51.75,
|
142 |
+
"eval_steps_per_second": 1.621,
|
143 |
+
"step": 5964
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 9.99,
|
147 |
+
"learning_rate": 5e-05,
|
148 |
+
"loss": 0.1935,
|
149 |
+
"step": 6620
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 9.99,
|
153 |
+
"eval_accuracy": 0.14827322989479177,
|
154 |
+
"eval_loss": 3.979735851287842,
|
155 |
+
"eval_runtime": 202.6913,
|
156 |
+
"eval_samples_per_second": 51.833,
|
157 |
+
"eval_steps_per_second": 1.623,
|
158 |
+
"step": 6620
|
159 |
+
}
|
160 |
+
],
|
161 |
+
"max_steps": 6620,
|
162 |
+
"num_train_epochs": 10,
|
163 |
+
"total_flos": 4.681188416161841e+18,
|
164 |
+
"trial_name": null,
|
165 |
+
"trial_params": null
|
166 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:040d578bd8f027d54541f7b1c80cbebae647b50e4641275d3f8a61a16dfc05c5
|
3 |
+
size 4091
|