heegyu commited on
Commit
7dcd02f
·
1 Parent(s): 2d95035
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "pad_token_id": 50256,
21
+ "reorder_and_upcast_attn": false,
22
+ "resid_pdrop": 0.1,
23
+ "scale_attn_by_inverse_layer_idx": false,
24
+ "scale_attn_weights": true,
25
+ "summary_activation": null,
26
+ "summary_first_dropout": 0.1,
27
+ "summary_proj_to_labels": true,
28
+ "summary_type": "cls_index",
29
+ "summary_use_proj": true,
30
+ "task_specific_params": {
31
+ "text-generation": {
32
+ "do_sample": true,
33
+ "max_length": 50
34
+ }
35
+ },
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.26.0",
38
+ "use_cache": true,
39
+ "vocab_size": 50257
40
+ }
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.26.0"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a37c8dd9aea01164e5b3cfbf7cf2a50aa31ca2c161a50846b53ad79f181d1fc8
3
+ size 510398013
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
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,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "eos_token": "<|endoftext|>",
5
+ "model_max_length": 1024,
6
+ "name_or_path": "gpt2",
7
+ "special_tokens_map_file": null,
8
+ "tokenizer_class": "GPT2Tokenizer",
9
+ "unk_token": "<|endoftext|>"
10
+ }
trainer_state.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.0,
5
+ "global_step": 4000,
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.5,
12
+ "learning_rate": 4.605263157894737e-05,
13
+ "loss": 3.9918,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 1.0,
18
+ "learning_rate": 3.9473684210526316e-05,
19
+ "loss": 3.7733,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 1.5,
24
+ "learning_rate": 3.289473684210527e-05,
25
+ "loss": 3.4872,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 2.0,
30
+ "learning_rate": 2.6315789473684212e-05,
31
+ "loss": 3.4665,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 2.5,
36
+ "learning_rate": 1.9736842105263158e-05,
37
+ "loss": 3.2853,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 3.0,
42
+ "learning_rate": 1.3157894736842106e-05,
43
+ "loss": 3.2903,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 3.5,
48
+ "learning_rate": 6.578947368421053e-06,
49
+ "loss": 3.1943,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 4.0,
54
+ "learning_rate": 0.0,
55
+ "loss": 3.1584,
56
+ "step": 4000
57
+ }
58
+ ],
59
+ "max_steps": 4000,
60
+ "num_train_epochs": 4,
61
+ "total_flos": 1516563449856000.0,
62
+ "trial_name": null,
63
+ "trial_params": null
64
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a59fa65465bf21f9dcde1273729c3242605f839092c893d7ffa78c0b733ea512
3
+ size 3451
vocab.json ADDED
The diff for this file is too large to render. See raw diff