Cameron Clarke
commited on
Commit
•
0c3b5ff
1
Parent(s):
31f87a9
add model files
Browse files- config.json +34 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- trainer_state.json +158 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"gradient_checkpointing": false,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"LABEL_0": 0,
|
20 |
+
"LABEL_1": 1,
|
21 |
+
"LABEL_2": 2
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"max_position_embeddings": 512,
|
25 |
+
"model_type": "bert",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"position_embedding_type": "absolute",
|
30 |
+
"transformers_version": "4.5.0",
|
31 |
+
"type_vocab_size": 2,
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 28996
|
34 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09949f2a85e9e31cc1564a90f9d2fdd017ff38b55e92c7f7ee6c02846a22f969
|
3 |
+
size 866626769
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5ea4394b800263adcb281ee255baca5ad23bf2294d918e960ab463461a0f348
|
3 |
+
size 433339657
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6bcc514b090cf233fdc4f2aaef0b391d8f52e3c382a4aed98b3bc0477bb2d70
|
3 |
+
size 623
|
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_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"}
|
trainer_state.json
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.88268156424581,
|
3 |
+
"best_model_checkpoint": "/scratch/ccc779/md_gender_wizard_model/checkpoint-5225",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"global_step": 10450,
|
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.1,
|
12 |
+
"learning_rate": 1.1598692650032599e-05,
|
13 |
+
"loss": 0.8563,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.19,
|
18 |
+
"learning_rate": 1.101584377314654e-05,
|
19 |
+
"loss": 0.7332,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.29,
|
24 |
+
"learning_rate": 1.043299489626048e-05,
|
25 |
+
"loss": 0.7972,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.38,
|
30 |
+
"learning_rate": 9.850146019374418e-06,
|
31 |
+
"loss": 0.7073,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.48,
|
36 |
+
"learning_rate": 9.267297142488359e-06,
|
37 |
+
"loss": 0.7096,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.57,
|
42 |
+
"learning_rate": 8.684448265602297e-06,
|
43 |
+
"loss": 0.6715,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.67,
|
48 |
+
"learning_rate": 8.101599388716238e-06,
|
49 |
+
"loss": 0.6625,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.77,
|
54 |
+
"learning_rate": 7.5187505118301775e-06,
|
55 |
+
"loss": 0.6198,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.86,
|
60 |
+
"learning_rate": 6.935901634944117e-06,
|
61 |
+
"loss": 0.6188,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.96,
|
66 |
+
"learning_rate": 6.353052758058057e-06,
|
67 |
+
"loss": 0.584,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.0,
|
72 |
+
"eval_accuracy": 0.88268156424581,
|
73 |
+
"eval_f1": 0.88268156424581,
|
74 |
+
"eval_loss": 0.5398293733596802,
|
75 |
+
"eval_precision": 0.88268156424581,
|
76 |
+
"eval_recall": 0.88268156424581,
|
77 |
+
"eval_runtime": 2.2447,
|
78 |
+
"eval_samples_per_second": 239.226,
|
79 |
+
"step": 5225
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 1.05,
|
83 |
+
"learning_rate": 5.770203881171996e-06,
|
84 |
+
"loss": 0.5129,
|
85 |
+
"step": 5500
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 1.15,
|
89 |
+
"learning_rate": 5.187355004285937e-06,
|
90 |
+
"loss": 0.5021,
|
91 |
+
"step": 6000
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 1.24,
|
95 |
+
"learning_rate": 4.604506127399876e-06,
|
96 |
+
"loss": 0.3964,
|
97 |
+
"step": 6500
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"epoch": 1.34,
|
101 |
+
"learning_rate": 4.021657250513816e-06,
|
102 |
+
"loss": 0.3348,
|
103 |
+
"step": 7000
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"epoch": 1.44,
|
107 |
+
"learning_rate": 3.4388083736277554e-06,
|
108 |
+
"loss": 0.3628,
|
109 |
+
"step": 7500
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 1.53,
|
113 |
+
"learning_rate": 2.8559594967416954e-06,
|
114 |
+
"loss": 0.4128,
|
115 |
+
"step": 8000
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 1.63,
|
119 |
+
"learning_rate": 2.273110619855635e-06,
|
120 |
+
"loss": 0.4337,
|
121 |
+
"step": 8500
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.72,
|
125 |
+
"learning_rate": 1.690261742969575e-06,
|
126 |
+
"loss": 0.4487,
|
127 |
+
"step": 9000
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"epoch": 1.82,
|
131 |
+
"learning_rate": 1.1074128660835145e-06,
|
132 |
+
"loss": 0.4398,
|
133 |
+
"step": 9500
|
134 |
+
},
|
135 |
+
{
|
136 |
+
"epoch": 1.91,
|
137 |
+
"learning_rate": 5.245639891974543e-07,
|
138 |
+
"loss": 0.3933,
|
139 |
+
"step": 10000
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"epoch": 2.0,
|
143 |
+
"eval_accuracy": 0.8752327746741154,
|
144 |
+
"eval_f1": 0.8752327746741154,
|
145 |
+
"eval_loss": 0.6503844857215881,
|
146 |
+
"eval_precision": 0.8752327746741154,
|
147 |
+
"eval_recall": 0.8752327746741154,
|
148 |
+
"eval_runtime": 2.1459,
|
149 |
+
"eval_samples_per_second": 250.243,
|
150 |
+
"step": 10450
|
151 |
+
}
|
152 |
+
],
|
153 |
+
"max_steps": 10450,
|
154 |
+
"num_train_epochs": 2,
|
155 |
+
"total_flos": 365447724671790.0,
|
156 |
+
"trial_name": null,
|
157 |
+
"trial_params": null
|
158 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55c95edeecfb2f4300660552f977df41fe114f7cf61f62e2ee7b84159b1648ef
|
3 |
+
size 2351
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|