EhsanAghazadeh
commited on
Commit
•
4b0c88f
1
Parent(s):
949b52e
Add model and its dependencies
Browse files- all_results.json +14 -0
- config.json +29 -0
- eval_results.json +9 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- train_results.json +8 -0
- trainer_state.json +175 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_loss": 0.3651696443557739,
|
4 |
+
"eval_matthews_correlation": 0.692877466292272,
|
5 |
+
"eval_runtime": 4.135,
|
6 |
+
"eval_samples": 1043,
|
7 |
+
"eval_samples_per_second": 252.237,
|
8 |
+
"eval_steps_per_second": 31.681,
|
9 |
+
"train_loss": 0.14064713289488606,
|
10 |
+
"train_runtime": 1047.1976,
|
11 |
+
"train_samples": 8551,
|
12 |
+
"train_samples_per_second": 81.656,
|
13 |
+
"train_steps_per_second": 2.559
|
14 |
+
}
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/electra-base-discriminator",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"embedding_size": 768,
|
8 |
+
"finetuning_task": "cola",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "electra",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"problem_type": "single_label_classification",
|
22 |
+
"summary_activation": "gelu",
|
23 |
+
"summary_last_dropout": 0.1,
|
24 |
+
"summary_type": "first",
|
25 |
+
"summary_use_proj": true,
|
26 |
+
"transformers_version": "4.9.0.dev0",
|
27 |
+
"type_vocab_size": 2,
|
28 |
+
"vocab_size": 30522
|
29 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_loss": 0.3651696443557739,
|
4 |
+
"eval_matthews_correlation": 0.692877466292272,
|
5 |
+
"eval_runtime": 4.135,
|
6 |
+
"eval_samples": 1043,
|
7 |
+
"eval_samples_per_second": 252.237,
|
8 |
+
"eval_steps_per_second": 31.681
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0a9f478fa752b2aa346dbaec12994232dcd893708923226c2422f8b85cd5b3c
|
3 |
+
size 438020461
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
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": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "google/electra-base-discriminator", "tokenizer_class": "ElectraTokenizer"}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"train_loss": 0.14064713289488606,
|
4 |
+
"train_runtime": 1047.1976,
|
5 |
+
"train_samples": 8551,
|
6 |
+
"train_samples_per_second": 81.656,
|
7 |
+
"train_steps_per_second": 2.559
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.692877466292272,
|
3 |
+
"best_model_checkpoint": "./bert-base-uncased/fine_tuned_models/checkpoint-804",
|
4 |
+
"epoch": 10.0,
|
5 |
+
"global_step": 2680,
|
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": 2e-05,
|
13 |
+
"loss": 0.5011,
|
14 |
+
"step": 268
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.0,
|
18 |
+
"eval_loss": 0.4567939043045044,
|
19 |
+
"eval_matthews_correlation": 0.5596416792460465,
|
20 |
+
"eval_runtime": 3.9522,
|
21 |
+
"eval_samples_per_second": 263.901,
|
22 |
+
"eval_steps_per_second": 33.146,
|
23 |
+
"step": 268
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 2.0,
|
27 |
+
"learning_rate": 1.7777777777777777e-05,
|
28 |
+
"loss": 0.3012,
|
29 |
+
"step": 536
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 2.0,
|
33 |
+
"eval_loss": 0.3901456594467163,
|
34 |
+
"eval_matthews_correlation": 0.6344790083826756,
|
35 |
+
"eval_runtime": 4.0613,
|
36 |
+
"eval_samples_per_second": 256.815,
|
37 |
+
"eval_steps_per_second": 32.256,
|
38 |
+
"step": 536
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 3.0,
|
42 |
+
"learning_rate": 1.555555555555556e-05,
|
43 |
+
"loss": 0.1956,
|
44 |
+
"step": 804
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.0,
|
48 |
+
"eval_loss": 0.3651696443557739,
|
49 |
+
"eval_matthews_correlation": 0.692877466292272,
|
50 |
+
"eval_runtime": 4.1382,
|
51 |
+
"eval_samples_per_second": 252.045,
|
52 |
+
"eval_steps_per_second": 31.657,
|
53 |
+
"step": 804
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 4.0,
|
57 |
+
"learning_rate": 1.3333333333333333e-05,
|
58 |
+
"loss": 0.1256,
|
59 |
+
"step": 1072
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 4.0,
|
63 |
+
"eval_loss": 0.4441858232021332,
|
64 |
+
"eval_matthews_correlation": 0.6795352314031174,
|
65 |
+
"eval_runtime": 4.1536,
|
66 |
+
"eval_samples_per_second": 251.106,
|
67 |
+
"eval_steps_per_second": 31.539,
|
68 |
+
"step": 1072
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 5.0,
|
72 |
+
"learning_rate": 1.1111111111111113e-05,
|
73 |
+
"loss": 0.0857,
|
74 |
+
"step": 1340
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 5.0,
|
78 |
+
"eval_loss": 0.6312969923019409,
|
79 |
+
"eval_matthews_correlation": 0.6730043803348406,
|
80 |
+
"eval_runtime": 4.1902,
|
81 |
+
"eval_samples_per_second": 248.916,
|
82 |
+
"eval_steps_per_second": 31.264,
|
83 |
+
"step": 1340
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"epoch": 6.0,
|
87 |
+
"learning_rate": 8.888888888888888e-06,
|
88 |
+
"loss": 0.0671,
|
89 |
+
"step": 1608
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 6.0,
|
93 |
+
"eval_loss": 0.6144707202911377,
|
94 |
+
"eval_matthews_correlation": 0.6870534352093987,
|
95 |
+
"eval_runtime": 4.1742,
|
96 |
+
"eval_samples_per_second": 249.87,
|
97 |
+
"eval_steps_per_second": 31.383,
|
98 |
+
"step": 1608
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 7.0,
|
102 |
+
"learning_rate": 6.666666666666667e-06,
|
103 |
+
"loss": 0.0491,
|
104 |
+
"step": 1876
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 7.0,
|
108 |
+
"eval_loss": 0.6602195501327515,
|
109 |
+
"eval_matthews_correlation": 0.6923970453235757,
|
110 |
+
"eval_runtime": 4.1609,
|
111 |
+
"eval_samples_per_second": 250.666,
|
112 |
+
"eval_steps_per_second": 31.484,
|
113 |
+
"step": 1876
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"epoch": 8.0,
|
117 |
+
"learning_rate": 4.444444444444444e-06,
|
118 |
+
"loss": 0.0302,
|
119 |
+
"step": 2144
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 8.0,
|
123 |
+
"eval_loss": 0.736823320388794,
|
124 |
+
"eval_matthews_correlation": 0.6918731340886707,
|
125 |
+
"eval_runtime": 4.1639,
|
126 |
+
"eval_samples_per_second": 250.489,
|
127 |
+
"eval_steps_per_second": 31.461,
|
128 |
+
"step": 2144
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 9.0,
|
132 |
+
"learning_rate": 2.222222222222222e-06,
|
133 |
+
"loss": 0.0285,
|
134 |
+
"step": 2412
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 9.0,
|
138 |
+
"eval_loss": 0.75467848777771,
|
139 |
+
"eval_matthews_correlation": 0.6870314619595771,
|
140 |
+
"eval_runtime": 4.1797,
|
141 |
+
"eval_samples_per_second": 249.539,
|
142 |
+
"eval_steps_per_second": 31.342,
|
143 |
+
"step": 2412
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 10.0,
|
147 |
+
"learning_rate": 0.0,
|
148 |
+
"loss": 0.0223,
|
149 |
+
"step": 2680
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 10.0,
|
153 |
+
"eval_loss": 0.7401058673858643,
|
154 |
+
"eval_matthews_correlation": 0.6918731340886707,
|
155 |
+
"eval_runtime": 4.1828,
|
156 |
+
"eval_samples_per_second": 249.355,
|
157 |
+
"eval_steps_per_second": 31.319,
|
158 |
+
"step": 2680
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 10.0,
|
162 |
+
"step": 2680,
|
163 |
+
"total_flos": 3594991817003520.0,
|
164 |
+
"train_loss": 0.14064713289488606,
|
165 |
+
"train_runtime": 1047.1976,
|
166 |
+
"train_samples_per_second": 81.656,
|
167 |
+
"train_steps_per_second": 2.559
|
168 |
+
}
|
169 |
+
],
|
170 |
+
"max_steps": 2680,
|
171 |
+
"num_train_epochs": 10,
|
172 |
+
"total_flos": 3594991817003520.0,
|
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:719fdcfc239818ee4305683550f23db32fe982d1bf55acb087b84b8b4b109268
|
3 |
+
size 2671
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|