Upload folder using huggingface_hub
Browse files- checkpoint-5000/config.json +39 -0
- checkpoint-5000/generation_config.json +6 -0
- checkpoint-5000/optimizer.pt +3 -0
- checkpoint-5000/pytorch_model.bin +3 -0
- checkpoint-5000/rng_state.pth +3 -0
- checkpoint-5000/scheduler.pt +3 -0
- checkpoint-5000/trainer_state.json +79 -0
- checkpoint-5000/training_args.bin +3 -0
checkpoint-5000/config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gpt2",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
+
"n_embd": 768,
|
16 |
+
"n_head": 12,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 12,
|
19 |
+
"n_positions": 1024,
|
20 |
+
"reorder_and_upcast_attn": false,
|
21 |
+
"resid_pdrop": 0.1,
|
22 |
+
"scale_attn_by_inverse_layer_idx": false,
|
23 |
+
"scale_attn_weights": true,
|
24 |
+
"summary_activation": null,
|
25 |
+
"summary_first_dropout": 0.1,
|
26 |
+
"summary_proj_to_labels": true,
|
27 |
+
"summary_type": "cls_index",
|
28 |
+
"summary_use_proj": true,
|
29 |
+
"task_specific_params": {
|
30 |
+
"text-generation": {
|
31 |
+
"do_sample": true,
|
32 |
+
"max_length": 50
|
33 |
+
}
|
34 |
+
},
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.34.1",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 50257
|
39 |
+
}
|
checkpoint-5000/generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.34.1"
|
6 |
+
}
|
checkpoint-5000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:052ec99bd62754d269275fa644c295f6c3cc898afb7533de906afe19687971be
|
3 |
+
size 995642298
|
checkpoint-5000/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb9886c27b3b19d20b3573db7ad2a18c91a703c9c082817b087b95b11bab88d2
|
3 |
+
size 497807706
|
checkpoint-5000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:803f31f631259c039a6a9847e117a0cbcd4d02e241a970233042c1c44bc581c2
|
3 |
+
size 14244
|
checkpoint-5000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25ae61e837be3ada9de530496f3f4fe1da31f4699408459fe2a0b05c3e210f0d
|
3 |
+
size 1064
|
checkpoint-5000/trainer_state.json
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 5000,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.1,
|
13 |
+
"learning_rate": 5e-05,
|
14 |
+
"loss": 4.7743,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.2,
|
19 |
+
"learning_rate": 4.4444444444444447e-05,
|
20 |
+
"loss": 4.246,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.3,
|
25 |
+
"learning_rate": 3.888888888888889e-05,
|
26 |
+
"loss": 4.0284,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.4,
|
31 |
+
"learning_rate": 3.3333333333333335e-05,
|
32 |
+
"loss": 3.8618,
|
33 |
+
"step": 2000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.5,
|
37 |
+
"learning_rate": 2.777777777777778e-05,
|
38 |
+
"loss": 3.7563,
|
39 |
+
"step": 2500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.6,
|
43 |
+
"learning_rate": 2.2222222222222223e-05,
|
44 |
+
"loss": 3.7115,
|
45 |
+
"step": 3000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.7,
|
49 |
+
"learning_rate": 1.6666666666666667e-05,
|
50 |
+
"loss": 3.6593,
|
51 |
+
"step": 3500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.8,
|
55 |
+
"learning_rate": 1.1111111111111112e-05,
|
56 |
+
"loss": 3.5533,
|
57 |
+
"step": 4000
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.9,
|
61 |
+
"learning_rate": 5.555555555555556e-06,
|
62 |
+
"loss": 3.5842,
|
63 |
+
"step": 4500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 1.0,
|
67 |
+
"learning_rate": 0.0,
|
68 |
+
"loss": 3.5502,
|
69 |
+
"step": 5000
|
70 |
+
}
|
71 |
+
],
|
72 |
+
"logging_steps": 500,
|
73 |
+
"max_steps": 5000,
|
74 |
+
"num_train_epochs": 1,
|
75 |
+
"save_steps": 500,
|
76 |
+
"total_flos": 2612920320000000.0,
|
77 |
+
"trial_name": null,
|
78 |
+
"trial_params": null
|
79 |
+
}
|
checkpoint-5000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b47a42702c70ac229d4d3fdcba72a731a68a72817c2f0c2780e51219b0c838a
|
3 |
+
size 4472
|