jmamou commited on
Commit
95d3921
1 Parent(s): f061aaf

initial commit

Browse files
all_results.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 3.290411949157715,
4
+ "eval_mem_cpu_alloc_delta": 544768,
5
+ "eval_mem_cpu_peaked_delta": 73728,
6
+ "eval_mem_gpu_alloc_delta": 0,
7
+ "eval_mem_gpu_peaked_delta": 2645388800,
8
+ "eval_runtime": 803.942,
9
+ "eval_samples": 28999,
10
+ "eval_samples_per_second": 36.071,
11
+ "init_mem_cpu_alloc_delta": -36622336,
12
+ "init_mem_cpu_peaked_delta": 1313382400,
13
+ "init_mem_gpu_alloc_delta": 1444470784,
14
+ "init_mem_gpu_peaked_delta": 0,
15
+ "perplexity": 26.853923828930338,
16
+ "train_mem_cpu_alloc_delta": 596549632,
17
+ "train_mem_cpu_peaked_delta": 0,
18
+ "train_mem_gpu_alloc_delta": 4257896960,
19
+ "train_mem_gpu_peaked_delta": 2961890816,
20
+ "train_runtime": 4429.0691,
21
+ "train_samples": 29667,
22
+ "train_samples_per_second": 1.675
23
+ }
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2-medium",
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
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt2",
15
+ "n_ctx": 1024,
16
+ "n_embd": 1024,
17
+ "n_head": 16,
18
+ "n_inner": null,
19
+ "n_layer": 24,
20
+ "n_positions": 1024,
21
+ "n_special": 0,
22
+ "predict_special_tokens": true,
23
+ "resid_pdrop": 0.1,
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
+ "transformers_version": "4.6.1",
37
+ "use_cache": true,
38
+ "vocab_size": 50257
39
+ }
eval_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 3.290411949157715,
4
+ "eval_mem_cpu_alloc_delta": 544768,
5
+ "eval_mem_cpu_peaked_delta": 73728,
6
+ "eval_mem_gpu_alloc_delta": 0,
7
+ "eval_mem_gpu_peaked_delta": 2645388800,
8
+ "eval_runtime": 803.942,
9
+ "eval_samples": 28999,
10
+ "eval_samples_per_second": 36.071,
11
+ "perplexity": 26.853923828930338
12
+ }
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:18c2b63395a67d42dc83d29faecc24a4bb952c971e25eaf10b631412a987f6dd
3
+ size 186286080
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "gpt2-medium"}
train_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "init_mem_cpu_alloc_delta": -36622336,
4
+ "init_mem_cpu_peaked_delta": 1313382400,
5
+ "init_mem_gpu_alloc_delta": 1444470784,
6
+ "init_mem_gpu_peaked_delta": 0,
7
+ "train_mem_cpu_alloc_delta": 596549632,
8
+ "train_mem_cpu_peaked_delta": 0,
9
+ "train_mem_gpu_alloc_delta": 4257896960,
10
+ "train_mem_gpu_peaked_delta": 2961890816,
11
+ "train_runtime": 4429.0691,
12
+ "train_samples": 29667,
13
+ "train_samples_per_second": 1.675
14
+ }
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": 7417,
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.07,
12
+ "learning_rate": 4.6629364972360795e-05,
13
+ "loss": 3.4842,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.13,
18
+ "learning_rate": 4.325872994472159e-05,
19
+ "loss": 3.4358,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.2,
24
+ "learning_rate": 3.988809491708238e-05,
25
+ "loss": 3.4252,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.27,
30
+ "learning_rate": 3.6517459889443174e-05,
31
+ "loss": 3.3965,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.34,
36
+ "learning_rate": 3.314682486180397e-05,
37
+ "loss": 3.3921,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.4,
42
+ "learning_rate": 2.977618983416476e-05,
43
+ "loss": 3.3917,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 0.47,
48
+ "learning_rate": 2.6405554806525552e-05,
49
+ "loss": 3.3715,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 0.54,
54
+ "learning_rate": 2.3034919778886342e-05,
55
+ "loss": 3.3522,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 0.61,
60
+ "learning_rate": 1.9664284751247135e-05,
61
+ "loss": 3.354,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 0.67,
66
+ "learning_rate": 1.6293649723607928e-05,
67
+ "loss": 3.3391,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 0.74,
72
+ "learning_rate": 1.2923014695968722e-05,
73
+ "loss": 3.3427,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 0.81,
78
+ "learning_rate": 9.552379668329513e-06,
79
+ "loss": 3.3244,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 0.88,
84
+ "learning_rate": 6.181744640690306e-06,
85
+ "loss": 3.3286,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 0.94,
90
+ "learning_rate": 2.811109613051099e-06,
91
+ "loss": 3.3197,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 1.0,
96
+ "step": 7417,
97
+ "total_flos": 0,
98
+ "train_runtime": 4429.0691,
99
+ "train_samples_per_second": 1.675
100
+ }
101
+ ],
102
+ "max_steps": 7417,
103
+ "num_train_epochs": 1,
104
+ "total_flos": 0,
105
+ "trial_name": null,
106
+ "trial_params": null
107
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65335bd9a139472b555eec03a8d2f07935a01874aeba36f9290882b42df305f2
3
+ size 2188
vocab.json ADDED
The diff for this file is too large to render. See raw diff