EhsanAghazadeh commited on
Commit
60d37af
1 Parent(s): 631222e

Add model and its dependencies

Browse files
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.9426605504587156,
4
+ "eval_loss": 0.18346692621707916,
5
+ "eval_runtime": 1.9212,
6
+ "eval_samples": 872,
7
+ "eval_samples_per_second": 453.884,
8
+ "eval_steps_per_second": 56.735,
9
+ "train_loss": 0.08974739491514809,
10
+ "train_runtime": 3412.6761,
11
+ "train_samples": 67349,
12
+ "train_samples_per_second": 197.35,
13
+ "train_steps_per_second": 6.168
14
+ }
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlnet-base-cased",
3
+ "architectures": [
4
+ "XLNetForSequenceClassification"
5
+ ],
6
+ "attn_type": "bi",
7
+ "bi_data": false,
8
+ "bos_token_id": 1,
9
+ "clamp_len": -1,
10
+ "d_head": 64,
11
+ "d_inner": 3072,
12
+ "d_model": 768,
13
+ "dropout": 0.1,
14
+ "end_n_top": 5,
15
+ "eos_token_id": 2,
16
+ "ff_activation": "gelu",
17
+ "finetuning_task": "sst2",
18
+ "initializer_range": 0.02,
19
+ "layer_norm_eps": 1e-12,
20
+ "mem_len": null,
21
+ "model_type": "xlnet",
22
+ "n_head": 12,
23
+ "n_layer": 12,
24
+ "pad_token_id": 5,
25
+ "problem_type": "single_label_classification",
26
+ "reuse_len": null,
27
+ "same_length": false,
28
+ "start_n_top": 5,
29
+ "summary_activation": "tanh",
30
+ "summary_last_dropout": 0.1,
31
+ "summary_type": "last",
32
+ "summary_use_proj": true,
33
+ "task_specific_params": {
34
+ "text-generation": {
35
+ "do_sample": true,
36
+ "max_length": 250
37
+ }
38
+ },
39
+ "transformers_version": "4.9.0.dev0",
40
+ "untie_r": true,
41
+ "use_mems_eval": true,
42
+ "use_mems_train": false,
43
+ "vocab_size": 32000
44
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.9426605504587156,
4
+ "eval_loss": 0.18346692621707916,
5
+ "eval_runtime": 1.9212,
6
+ "eval_samples": 872,
7
+ "eval_samples_per_second": 453.884,
8
+ "eval_steps_per_second": 56.735
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9e35bc496595a18cdba0a76f55b5aaecccd4caf00e3de18fbb9693c100a3dc3
3
+ size 469316829
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "<sep>", "pad_token": "<pad>", "cls_token": "<cls>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}, "additional_special_tokens": ["<eop>", "<eod>"]}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "remove_space": true, "keep_accents": false, "bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "<sep>", "pad_token": "<pad>", "cls_token": "<cls>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "additional_special_tokens": ["<eop>", "<eod>"], "special_tokens_map_file": null, "name_or_path": "xlnet-base-cased", "tokenizer_class": "XLNetTokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "train_loss": 0.08974739491514809,
4
+ "train_runtime": 3412.6761,
5
+ "train_samples": 67349,
6
+ "train_samples_per_second": 197.35,
7
+ "train_steps_per_second": 6.168
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9426605504587156,
3
+ "best_model_checkpoint": "./electra-base-discriminator/fine_tuned_models/checkpoint-2105",
4
+ "epoch": 10.0,
5
+ "global_step": 21050,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.0,
12
+ "learning_rate": 1.8398562688161604e-05,
13
+ "loss": 0.2722,
14
+ "step": 2105
15
+ },
16
+ {
17
+ "epoch": 1.0,
18
+ "eval_accuracy": 0.9426605504587156,
19
+ "eval_loss": 0.18346692621707916,
20
+ "eval_runtime": 1.9622,
21
+ "eval_samples_per_second": 444.393,
22
+ "eval_steps_per_second": 55.549,
23
+ "step": 2105
24
+ },
25
+ {
26
+ "epoch": 2.0,
27
+ "learning_rate": 1.6354277945032536e-05,
28
+ "loss": 0.147,
29
+ "step": 4210
30
+ },
31
+ {
32
+ "epoch": 2.0,
33
+ "eval_accuracy": 0.9369266055045872,
34
+ "eval_loss": 0.21615296602249146,
35
+ "eval_runtime": 2.1784,
36
+ "eval_samples_per_second": 400.29,
37
+ "eval_steps_per_second": 50.036,
38
+ "step": 4210
39
+ },
40
+ {
41
+ "epoch": 3.0,
42
+ "learning_rate": 1.4309993201903469e-05,
43
+ "loss": 0.1107,
44
+ "step": 6315
45
+ },
46
+ {
47
+ "epoch": 3.0,
48
+ "eval_accuracy": 0.9380733944954128,
49
+ "eval_loss": 0.19852299988269806,
50
+ "eval_runtime": 2.3414,
51
+ "eval_samples_per_second": 372.432,
52
+ "eval_steps_per_second": 46.554,
53
+ "step": 6315
54
+ },
55
+ {
56
+ "epoch": 4.0,
57
+ "learning_rate": 1.2265708458774402e-05,
58
+ "loss": 0.0895,
59
+ "step": 8420
60
+ },
61
+ {
62
+ "epoch": 4.0,
63
+ "eval_accuracy": 0.9369266055045872,
64
+ "eval_loss": 0.22530296444892883,
65
+ "eval_runtime": 1.8651,
66
+ "eval_samples_per_second": 467.524,
67
+ "eval_steps_per_second": 58.441,
68
+ "step": 8420
69
+ },
70
+ {
71
+ "epoch": 5.0,
72
+ "learning_rate": 1.0221423715645335e-05,
73
+ "loss": 0.0742,
74
+ "step": 10525
75
+ },
76
+ {
77
+ "epoch": 5.0,
78
+ "eval_accuracy": 0.930045871559633,
79
+ "eval_loss": 0.2544686794281006,
80
+ "eval_runtime": 1.9656,
81
+ "eval_samples_per_second": 443.633,
82
+ "eval_steps_per_second": 55.454,
83
+ "step": 10525
84
+ },
85
+ {
86
+ "epoch": 6.0,
87
+ "learning_rate": 8.177138972516268e-06,
88
+ "loss": 0.0589,
89
+ "step": 12630
90
+ },
91
+ {
92
+ "epoch": 6.0,
93
+ "eval_accuracy": 0.9369266055045872,
94
+ "eval_loss": 0.2618718445301056,
95
+ "eval_runtime": 2.1931,
96
+ "eval_samples_per_second": 397.616,
97
+ "eval_steps_per_second": 49.702,
98
+ "step": 12630
99
+ },
100
+ {
101
+ "epoch": 7.0,
102
+ "learning_rate": 6.132854229387201e-06,
103
+ "loss": 0.0476,
104
+ "step": 14735
105
+ },
106
+ {
107
+ "epoch": 7.0,
108
+ "eval_accuracy": 0.9311926605504587,
109
+ "eval_loss": 0.3039261996746063,
110
+ "eval_runtime": 2.0002,
111
+ "eval_samples_per_second": 435.966,
112
+ "eval_steps_per_second": 54.496,
113
+ "step": 14735
114
+ },
115
+ {
116
+ "epoch": 8.0,
117
+ "learning_rate": 4.088569486258134e-06,
118
+ "loss": 0.0397,
119
+ "step": 16840
120
+ },
121
+ {
122
+ "epoch": 8.0,
123
+ "eval_accuracy": 0.9334862385321101,
124
+ "eval_loss": 0.30574584007263184,
125
+ "eval_runtime": 2.0703,
126
+ "eval_samples_per_second": 421.19,
127
+ "eval_steps_per_second": 52.649,
128
+ "step": 16840
129
+ },
130
+ {
131
+ "epoch": 9.0,
132
+ "learning_rate": 2.044284743129067e-06,
133
+ "loss": 0.0316,
134
+ "step": 18945
135
+ },
136
+ {
137
+ "epoch": 9.0,
138
+ "eval_accuracy": 0.9380733944954128,
139
+ "eval_loss": 0.38161835074424744,
140
+ "eval_runtime": 2.2112,
141
+ "eval_samples_per_second": 394.362,
142
+ "eval_steps_per_second": 49.295,
143
+ "step": 18945
144
+ },
145
+ {
146
+ "epoch": 10.0,
147
+ "learning_rate": 0.0,
148
+ "loss": 0.0261,
149
+ "step": 21050
150
+ },
151
+ {
152
+ "epoch": 10.0,
153
+ "eval_accuracy": 0.9346330275229358,
154
+ "eval_loss": 0.3954842984676361,
155
+ "eval_runtime": 2.1873,
156
+ "eval_samples_per_second": 398.661,
157
+ "eval_steps_per_second": 49.833,
158
+ "step": 21050
159
+ },
160
+ {
161
+ "epoch": 10.0,
162
+ "step": 21050,
163
+ "total_flos": 3.033885148659456e+16,
164
+ "train_loss": 0.08974739491514809,
165
+ "train_runtime": 3412.6761,
166
+ "train_samples_per_second": 197.35,
167
+ "train_steps_per_second": 6.168
168
+ }
169
+ ],
170
+ "max_steps": 21050,
171
+ "num_train_epochs": 10,
172
+ "total_flos": 3.033885148659456e+16,
173
+ "trial_name": null,
174
+ "trial_params": null
175
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0749420db12aad96d826ecd62f22ab5483faea06a0d677894455cf7dfb57653
3
+ size 2671