Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- config.json +33 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +0 -0
- scheduler.pt +0 -0
- trainer_state.json +103 -0
- training_args.bin +0 -0
.gitattributes
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
2 |
+
optimizer.pt filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "gelu_new",
|
3 |
+
"architectures": [
|
4 |
+
"GPT2LMHeadModel"
|
5 |
+
],
|
6 |
+
"attn_pdrop": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"embd_pdrop": 0.1,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"layer_norm_epsilon": 1e-05,
|
12 |
+
"model_type": "gpt2",
|
13 |
+
"n_ctx": 1024,
|
14 |
+
"n_embd": 1024,
|
15 |
+
"n_head": 16,
|
16 |
+
"n_inner": null,
|
17 |
+
"n_layer": 24,
|
18 |
+
"n_positions": 1024,
|
19 |
+
"pad_token_id": 0,
|
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 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.45.0",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 52000
|
33 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.45.0"
|
7 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0babfe95faee265d9d577fe2c56d57a9b4c5e68eb45a4725029da76c9390da22
|
3 |
+
size 1426462208
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d871bdcaf06084e3588a76936a4a0f38f2be601a3808b153e7b50db116c96d9
|
3 |
+
size 2853107898
|
rng_state.pth
ADDED
Binary file (14.2 kB). View file
|
|
scheduler.pt
ADDED
Binary file (1.06 kB). View file
|
|
trainer_state.json
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.046627524414171784,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 100000,
|
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.004662752441417178,
|
13 |
+
"grad_norm": 1.3671598434448242,
|
14 |
+
"learning_rate": 4.976690900545356e-05,
|
15 |
+
"loss": 4.8243,
|
16 |
+
"step": 10000
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.009325504882834356,
|
20 |
+
"grad_norm": 1.3568960428237915,
|
21 |
+
"learning_rate": 4.953384132466932e-05,
|
22 |
+
"loss": 3.7236,
|
23 |
+
"step": 20000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.013988257324251536,
|
27 |
+
"grad_norm": 1.4119852781295776,
|
28 |
+
"learning_rate": 4.930079695764729e-05,
|
29 |
+
"loss": 3.4332,
|
30 |
+
"step": 30000
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.018651009765668712,
|
34 |
+
"grad_norm": 1.1216883659362793,
|
35 |
+
"learning_rate": 4.906772927686305e-05,
|
36 |
+
"loss": 3.2825,
|
37 |
+
"step": 40000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.023313762207085892,
|
41 |
+
"grad_norm": 1.2323102951049805,
|
42 |
+
"learning_rate": 4.883468490984102e-05,
|
43 |
+
"loss": 3.1866,
|
44 |
+
"step": 50000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.02797651464850307,
|
48 |
+
"grad_norm": 0.9565121531486511,
|
49 |
+
"learning_rate": 4.860161722905678e-05,
|
50 |
+
"loss": 3.1126,
|
51 |
+
"step": 60000
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.03263926708992025,
|
55 |
+
"grad_norm": 1.1173287630081177,
|
56 |
+
"learning_rate": 4.836861948955917e-05,
|
57 |
+
"loss": 3.0577,
|
58 |
+
"step": 70000
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.037302019531337424,
|
62 |
+
"grad_norm": 1.4626446962356567,
|
63 |
+
"learning_rate": 4.813555180877493e-05,
|
64 |
+
"loss": 3.0145,
|
65 |
+
"step": 80000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.041964771972754604,
|
69 |
+
"grad_norm": 1.0016125440597534,
|
70 |
+
"learning_rate": 4.790246081422848e-05,
|
71 |
+
"loss": 2.973,
|
72 |
+
"step": 90000
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.046627524414171784,
|
76 |
+
"grad_norm": 1.3417049646377563,
|
77 |
+
"learning_rate": 4.766941644720645e-05,
|
78 |
+
"loss": 2.9423,
|
79 |
+
"step": 100000
|
80 |
+
}
|
81 |
+
],
|
82 |
+
"logging_steps": 10000,
|
83 |
+
"max_steps": 2144656,
|
84 |
+
"num_input_tokens_seen": 0,
|
85 |
+
"num_train_epochs": 9223372036854775807,
|
86 |
+
"save_steps": 100000,
|
87 |
+
"stateful_callbacks": {
|
88 |
+
"TrainerControl": {
|
89 |
+
"args": {
|
90 |
+
"should_epoch_stop": false,
|
91 |
+
"should_evaluate": false,
|
92 |
+
"should_log": false,
|
93 |
+
"should_save": true,
|
94 |
+
"should_training_stop": false
|
95 |
+
},
|
96 |
+
"attributes": {}
|
97 |
+
}
|
98 |
+
},
|
99 |
+
"total_flos": 2.465742773984821e+18,
|
100 |
+
"train_batch_size": 4,
|
101 |
+
"trial_name": null,
|
102 |
+
"trial_params": null
|
103 |
+
}
|
training_args.bin
ADDED
Binary file (5.18 kB). View file
|
|