EhsanAghazadeh
commited on
Commit
•
1ccf5cd
1
Parent(s):
6274b3b
Add model and its dependencies
Browse files- config.json +26 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +126 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"finetuning_task": "cola",
|
8 |
+
"gradient_checkpointing": false,
|
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": "bert",
|
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 |
+
"transformers_version": "4.9.0.dev0",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 28996
|
26 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7de7dcd82ea4d86850a84e522425f2039960f23e3449db22eb0b0223ac431014
|
3 |
+
size 433331373
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb02eb6dc935ca7a2b464620df60cb06a2220ea91d93d51d5c7cc4b16ff37bab
|
3 |
+
size 14503
|
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": false, "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": "bert-base-cased", "tokenizer_class": "BertTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.4796141982078552,
|
3 |
+
"best_model_checkpoint": "/content/output_dir/checkpoint-268",
|
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 |
+
"eval_loss": 0.4796141982078552,
|
13 |
+
"eval_matthews_correlation": 0.5351033849356494,
|
14 |
+
"eval_runtime": 8.8067,
|
15 |
+
"eval_samples_per_second": 118.433,
|
16 |
+
"eval_steps_per_second": 14.875,
|
17 |
+
"step": 268,
|
18 |
+
"learning_rate": 1.8067415730337083e-05,
|
19 |
+
"loss": 0.4913
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"epoch": 2.0,
|
23 |
+
"eval_loss": 0.5334435701370239,
|
24 |
+
"eval_matthews_correlation": 0.5178799252679331,
|
25 |
+
"eval_runtime": 8.9439,
|
26 |
+
"eval_samples_per_second": 116.616,
|
27 |
+
"eval_steps_per_second": 14.647,
|
28 |
+
"step": 536,
|
29 |
+
"learning_rate": 1.605992509363296e-05,
|
30 |
+
"loss": 0.2872
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 3.0,
|
34 |
+
"eval_loss": 0.5544090270996094,
|
35 |
+
"eval_matthews_correlation": 0.5649788851042796,
|
36 |
+
"eval_runtime": 8.9467,
|
37 |
+
"eval_samples_per_second": 116.58,
|
38 |
+
"eval_steps_per_second": 14.642,
|
39 |
+
"step": 804,
|
40 |
+
"learning_rate": 1.4052434456928841e-05,
|
41 |
+
"loss": 0.1777
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 4.0,
|
45 |
+
"eval_loss": 0.5754779577255249,
|
46 |
+
"eval_matthews_correlation": 0.6105374636148787,
|
47 |
+
"eval_runtime": 8.8982,
|
48 |
+
"eval_samples_per_second": 117.215,
|
49 |
+
"eval_steps_per_second": 14.722,
|
50 |
+
"step": 1072,
|
51 |
+
"learning_rate": 1.2044943820224718e-05,
|
52 |
+
"loss": 0.1263
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 5.0,
|
56 |
+
"eval_loss": 0.7263916730880737,
|
57 |
+
"eval_matthews_correlation": 0.5807606001872874,
|
58 |
+
"eval_runtime": 8.9705,
|
59 |
+
"eval_samples_per_second": 116.27,
|
60 |
+
"eval_steps_per_second": 14.603,
|
61 |
+
"step": 1340,
|
62 |
+
"learning_rate": 1.0037453183520601e-05,
|
63 |
+
"loss": 0.0905
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 6.0,
|
67 |
+
"eval_loss": 0.8121512532234192,
|
68 |
+
"eval_matthews_correlation": 0.5651092792103851,
|
69 |
+
"eval_runtime": 8.9924,
|
70 |
+
"eval_samples_per_second": 115.987,
|
71 |
+
"eval_steps_per_second": 14.568,
|
72 |
+
"step": 1608,
|
73 |
+
"learning_rate": 8.02996254681648e-06,
|
74 |
+
"loss": 0.0692
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 7.0,
|
78 |
+
"eval_loss": 0.941014289855957,
|
79 |
+
"eval_matthews_correlation": 0.5632084517291658,
|
80 |
+
"eval_runtime": 8.9583,
|
81 |
+
"eval_samples_per_second": 116.428,
|
82 |
+
"eval_steps_per_second": 14.623,
|
83 |
+
"step": 1876,
|
84 |
+
"learning_rate": 6.022471910112359e-06,
|
85 |
+
"loss": 0.0413
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 8.0,
|
89 |
+
"eval_loss": 1.0095174312591553,
|
90 |
+
"eval_matthews_correlation": 0.5856531698367675,
|
91 |
+
"eval_runtime": 9.0029,
|
92 |
+
"eval_samples_per_second": 115.851,
|
93 |
+
"eval_steps_per_second": 14.551,
|
94 |
+
"step": 2144,
|
95 |
+
"learning_rate": 4.01498127340824e-06,
|
96 |
+
"loss": 0.0327
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 9.0,
|
100 |
+
"eval_loss": 1.0425965785980225,
|
101 |
+
"eval_matthews_correlation": 0.5941395545037332,
|
102 |
+
"eval_runtime": 8.9217,
|
103 |
+
"eval_samples_per_second": 116.906,
|
104 |
+
"eval_steps_per_second": 14.683,
|
105 |
+
"step": 2412,
|
106 |
+
"learning_rate": 2.00749063670412e-06,
|
107 |
+
"loss": 0.0202
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 10.0,
|
111 |
+
"eval_loss": 1.0782166719436646,
|
112 |
+
"eval_matthews_correlation": 0.5956649094312695,
|
113 |
+
"eval_runtime": 8.9472,
|
114 |
+
"eval_samples_per_second": 116.572,
|
115 |
+
"eval_steps_per_second": 14.641,
|
116 |
+
"step": 2680,
|
117 |
+
"learning_rate": 0.0,
|
118 |
+
"loss": 0.0104
|
119 |
+
}
|
120 |
+
],
|
121 |
+
"max_steps": 2680,
|
122 |
+
"num_train_epochs": 10,
|
123 |
+
"total_flos": 7113018526540800.0,
|
124 |
+
"trial_name": null,
|
125 |
+
"trial_params": null
|
126 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76db2190700e5b27c108fcfb9a9d9fd9fe0836736da2399f4fe25cd0916b7a8b
|
3 |
+
size 2607
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|