add config files for training
Browse files- README.md +31 -5
- all_results.json +14 -0
- config.json +24 -0
- eval_results.json +9 -0
- special_tokens_map.json +5 -0
- tokenizer.json +0 -0
- tokenizer_config.json +9 -0
- train_results.json +8 -0
- trainer_state.json +107 -0
README.md
CHANGED
@@ -24,15 +24,41 @@ More information needed
|
|
24 |
**Training procedure**
|
25 |
|
26 |
**Training hyperparameters**
|
|
|
27 |
The following hyperparameters were used during training:
|
28 |
|
29 |
|
30 |
-
* learning_rate: 5e-05
|
31 |
-
* train_batch_size: 1
|
32 |
-
* eval_batch_size: 2
|
33 |
* seed: 42
|
34 |
-
*
|
|
|
|
|
|
|
35 |
* lr_scheduler_type: linear
|
36 |
* training_steps: 5000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
-
|
|
|
|
|
|
|
|
24 |
**Training procedure**
|
25 |
|
26 |
**Training hyperparameters**
|
27 |
+
|
28 |
The following hyperparameters were used during training:
|
29 |
|
30 |
|
|
|
|
|
|
|
31 |
* seed: 42
|
32 |
+
* learning_rate: 5e-06
|
33 |
+
* train_batch_size: 32
|
34 |
+
* eval_batch_size: 8
|
35 |
+
* optimizer: Adam with betas : {'lr': 5e-06, 'betas': [0.9, 0.999], 'eps': 1e-08, 'weight_decay': 0.0}
|
36 |
* lr_scheduler_type: linear
|
37 |
* training_steps: 5000
|
38 |
+
* fp16
|
39 |
+
* warmup_steps 5
|
40 |
+
|
41 |
+
* Num examples = 53k
|
42 |
+
|
43 |
+
**Training results**
|
44 |
+
|
45 |
+
|
46 |
+
```
|
47 |
+
{
|
48 |
+
"epoch": 1.0,
|
49 |
+
"train_loss": 0.8031303182039198,
|
50 |
+
"train_runtime": 6338.6403,
|
51 |
+
"train_samples": 53455,
|
52 |
+
"train_samples_per_second": 8.433,
|
53 |
+
"train_steps_per_second": 0.264
|
54 |
+
}
|
55 |
+
```
|
56 |
+
|
57 |
+
|
58 |
+
|
59 |
+
**Framework versions**
|
60 |
|
61 |
+
* transformers 4.24.0
|
62 |
+
* torch 1.10.0+cu111
|
63 |
+
* datasets 2.10.0
|
64 |
+
* tokenizers 0.12.1
|
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 0.449462890625,
|
4 |
+
"eval_runtime": 8.3379,
|
5 |
+
"eval_samples": 540,
|
6 |
+
"eval_samples_per_second": 64.765,
|
7 |
+
"eval_steps_per_second": 8.156,
|
8 |
+
"perplexity": 1.567470056490351,
|
9 |
+
"train_loss": 0.8031303182039198,
|
10 |
+
"train_runtime": 6338.6403,
|
11 |
+
"train_samples": 53455,
|
12 |
+
"train_samples_per_second": 8.433,
|
13 |
+
"train_steps_per_second": 0.264
|
14 |
+
}
|
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"GPTNeoXForCausalLM"
|
4 |
+
],
|
5 |
+
"bos_token_id": 0,
|
6 |
+
"eos_token_id": 0,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_size": 2048,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 8192,
|
11 |
+
"layer_norm_eps": 1e-05,
|
12 |
+
"max_position_embeddings": 2048,
|
13 |
+
"model_type": "gpt_neox",
|
14 |
+
"num_attention_heads": 16,
|
15 |
+
"num_hidden_layers": 24,
|
16 |
+
"rotary_emb_base": 10000,
|
17 |
+
"rotary_pct": 0.25,
|
18 |
+
"tie_word_embeddings": false,
|
19 |
+
"torch_dtype": "float16",
|
20 |
+
"transformers_version": "4.24.0",
|
21 |
+
"use_cache": false,
|
22 |
+
"use_parallel_residual": true,
|
23 |
+
"vocab_size": 50277
|
24 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 0.449462890625,
|
4 |
+
"eval_runtime": 8.3379,
|
5 |
+
"eval_samples": 540,
|
6 |
+
"eval_samples_per_second": 64.765,
|
7 |
+
"eval_steps_per_second": 8.156,
|
8 |
+
"perplexity": 1.567470056490351
|
9 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"unk_token": "<|endoftext|>"
|
5 |
+
}
|
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 |
+
"eos_token": "<|endoftext|>",
|
5 |
+
"name_or_path": "EleutherAI/gpt-neox-20b",
|
6 |
+
"special_tokens_map_file": "/fsx/home-hailey/.cache/huggingface/hub/models--EleutherAI--gpt-neox-20b/snapshots/3523781c8df75f7741687a4284f6f70e1afa12f4/special_tokens_map.json",
|
7 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
+
"unk_token": "<|endoftext|>"
|
9 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.8031303182039198,
|
4 |
+
"train_runtime": 6338.6403,
|
5 |
+
"train_samples": 53455,
|
6 |
+
"train_samples_per_second": 8.433,
|
7 |
+
"train_steps_per_second": 0.264
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"global_step": 1671,
|
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.12,
|
12 |
+
"eval_loss": 0.49560546875,
|
13 |
+
"eval_runtime": 8.4829,
|
14 |
+
"eval_samples_per_second": 63.657,
|
15 |
+
"eval_steps_per_second": 8.016,
|
16 |
+
"step": 200
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.24,
|
20 |
+
"eval_loss": 0.479248046875,
|
21 |
+
"eval_runtime": 8.8248,
|
22 |
+
"eval_samples_per_second": 61.191,
|
23 |
+
"eval_steps_per_second": 7.706,
|
24 |
+
"step": 400
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.3,
|
28 |
+
"learning_rate": 5e-06,
|
29 |
+
"loss": 1.6261,
|
30 |
+
"step": 500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.36,
|
34 |
+
"eval_loss": 0.47021484375,
|
35 |
+
"eval_runtime": 7.5494,
|
36 |
+
"eval_samples_per_second": 71.529,
|
37 |
+
"eval_steps_per_second": 9.007,
|
38 |
+
"step": 600
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.48,
|
42 |
+
"eval_loss": 0.465087890625,
|
43 |
+
"eval_runtime": 8.7604,
|
44 |
+
"eval_samples_per_second": 61.641,
|
45 |
+
"eval_steps_per_second": 7.762,
|
46 |
+
"step": 800
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 0.6,
|
50 |
+
"learning_rate": 5e-06,
|
51 |
+
"loss": 0.4577,
|
52 |
+
"step": 1000
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 0.6,
|
56 |
+
"eval_loss": 0.46044921875,
|
57 |
+
"eval_runtime": 7.9849,
|
58 |
+
"eval_samples_per_second": 67.627,
|
59 |
+
"eval_steps_per_second": 8.516,
|
60 |
+
"step": 1000
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 0.72,
|
64 |
+
"eval_loss": 0.455322265625,
|
65 |
+
"eval_runtime": 8.5578,
|
66 |
+
"eval_samples_per_second": 63.1,
|
67 |
+
"eval_steps_per_second": 7.946,
|
68 |
+
"step": 1200
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 0.84,
|
72 |
+
"eval_loss": 0.45263671875,
|
73 |
+
"eval_runtime": 7.841,
|
74 |
+
"eval_samples_per_second": 68.868,
|
75 |
+
"eval_steps_per_second": 8.672,
|
76 |
+
"step": 1400
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 0.9,
|
80 |
+
"learning_rate": 5e-06,
|
81 |
+
"loss": 0.4486,
|
82 |
+
"step": 1500
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"epoch": 0.96,
|
86 |
+
"eval_loss": 0.450439453125,
|
87 |
+
"eval_runtime": 10.8958,
|
88 |
+
"eval_samples_per_second": 49.56,
|
89 |
+
"eval_steps_per_second": 6.241,
|
90 |
+
"step": 1600
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 1.0,
|
94 |
+
"step": 1671,
|
95 |
+
"total_flos": 1.1778474718632346e+17,
|
96 |
+
"train_loss": 0.8031303182039198,
|
97 |
+
"train_runtime": 6338.6403,
|
98 |
+
"train_samples_per_second": 8.433,
|
99 |
+
"train_steps_per_second": 0.264
|
100 |
+
}
|
101 |
+
],
|
102 |
+
"max_steps": 1671,
|
103 |
+
"num_train_epochs": 1,
|
104 |
+
"total_flos": 1.1778474718632346e+17,
|
105 |
+
"trial_name": null,
|
106 |
+
"trial_params": null
|
107 |
+
}
|