softocean commited on
Commit
d3b729c
1 Parent(s): ad692cc

initial model smallbenchnlp/bert-small trained on imdb

Browse files
checkpoint-12500/config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "smallbenchnlp/bert-small",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 256,
12
+ "id2label": {
13
+ "0": "NEGATIVE",
14
+ "1": "POSITIVE"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 1024,
18
+ "label2id": {
19
+ "NEGATIVE": 0,
20
+ "POSITIVE": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 4,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.26.1",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 30522
35
+ }
checkpoint-12500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5e735aa18572bbae5af312c1f9a9d3e1fb5700425799dae603bb43490432a1c
3
+ size 140029725
checkpoint-12500/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2ad234ea471e21b70c5d4895bce11fd91f6d497cf57cfc1ada51323dd6b29b1
3
+ size 70027629
checkpoint-12500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ccbe87fc3ca89faab8fc0671f8a2f292ffe6952fa45bf34491038cb6a6d8062
3
+ size 14503
checkpoint-12500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a12e6a0a755b23af10a9b049028af1a7562d339c7726bfffd3db7aaad0d3a962
3
+ size 623
checkpoint-12500/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
checkpoint-12500/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-12500/tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_lower_case": true,
4
+ "mask_token": "[MASK]",
5
+ "model_max_length": 512,
6
+ "name_or_path": "smallbenchnlp/bert-small",
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "special_tokens_map_file": null,
10
+ "strip_accents": null,
11
+ "tokenize_chinese_chars": true,
12
+ "tokenizer_class": "BertTokenizer",
13
+ "unk_token": "[UNK]"
14
+ }
checkpoint-12500/trainer_state.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6684188842773438,
3
+ "best_model_checkpoint": "my_awesome_model/checkpoint-12500",
4
+ "epoch": 1.0,
5
+ "global_step": 12500,
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.04,
12
+ "learning_rate": 1.9200000000000003e-05,
13
+ "loss": 0.6978,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.08,
18
+ "learning_rate": 1.8400000000000003e-05,
19
+ "loss": 0.6951,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.12,
24
+ "learning_rate": 1.76e-05,
25
+ "loss": 0.6948,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.16,
30
+ "learning_rate": 1.6800000000000002e-05,
31
+ "loss": 0.6757,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.2,
36
+ "learning_rate": 1.6000000000000003e-05,
37
+ "loss": 0.6541,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.24,
42
+ "learning_rate": 1.5200000000000002e-05,
43
+ "loss": 0.7619,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 0.28,
48
+ "learning_rate": 1.4400000000000001e-05,
49
+ "loss": 0.7755,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 0.32,
54
+ "learning_rate": 1.3600000000000002e-05,
55
+ "loss": 0.8347,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 0.36,
60
+ "learning_rate": 1.2800000000000001e-05,
61
+ "loss": 0.7848,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 0.4,
66
+ "learning_rate": 1.2e-05,
67
+ "loss": 0.7772,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 0.44,
72
+ "learning_rate": 1.1200000000000001e-05,
73
+ "loss": 0.6601,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 0.48,
78
+ "learning_rate": 1.04e-05,
79
+ "loss": 0.7317,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 0.52,
84
+ "learning_rate": 9.600000000000001e-06,
85
+ "loss": 0.7202,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 0.56,
90
+ "learning_rate": 8.8e-06,
91
+ "loss": 0.6754,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 0.6,
96
+ "learning_rate": 8.000000000000001e-06,
97
+ "loss": 0.7578,
98
+ "step": 7500
99
+ },
100
+ {
101
+ "epoch": 0.64,
102
+ "learning_rate": 7.2000000000000005e-06,
103
+ "loss": 0.7782,
104
+ "step": 8000
105
+ },
106
+ {
107
+ "epoch": 0.68,
108
+ "learning_rate": 6.4000000000000006e-06,
109
+ "loss": 0.6967,
110
+ "step": 8500
111
+ },
112
+ {
113
+ "epoch": 0.72,
114
+ "learning_rate": 5.600000000000001e-06,
115
+ "loss": 0.6118,
116
+ "step": 9000
117
+ },
118
+ {
119
+ "epoch": 0.76,
120
+ "learning_rate": 4.800000000000001e-06,
121
+ "loss": 0.6468,
122
+ "step": 9500
123
+ },
124
+ {
125
+ "epoch": 0.8,
126
+ "learning_rate": 4.000000000000001e-06,
127
+ "loss": 0.64,
128
+ "step": 10000
129
+ },
130
+ {
131
+ "epoch": 0.84,
132
+ "learning_rate": 3.2000000000000003e-06,
133
+ "loss": 0.7285,
134
+ "step": 10500
135
+ },
136
+ {
137
+ "epoch": 0.88,
138
+ "learning_rate": 2.4000000000000003e-06,
139
+ "loss": 0.6744,
140
+ "step": 11000
141
+ },
142
+ {
143
+ "epoch": 0.92,
144
+ "learning_rate": 1.6000000000000001e-06,
145
+ "loss": 0.7347,
146
+ "step": 11500
147
+ },
148
+ {
149
+ "epoch": 0.96,
150
+ "learning_rate": 8.000000000000001e-07,
151
+ "loss": 0.6218,
152
+ "step": 12000
153
+ },
154
+ {
155
+ "epoch": 1.0,
156
+ "learning_rate": 0.0,
157
+ "loss": 0.7703,
158
+ "step": 12500
159
+ },
160
+ {
161
+ "epoch": 1.0,
162
+ "eval_accuracy": 0.85048,
163
+ "eval_loss": 0.6684188842773438,
164
+ "eval_runtime": 256.7866,
165
+ "eval_samples_per_second": 97.357,
166
+ "eval_steps_per_second": 48.679,
167
+ "step": 12500
168
+ }
169
+ ],
170
+ "max_steps": 12500,
171
+ "num_train_epochs": 1,
172
+ "total_flos": 506545463743800.0,
173
+ "trial_name": null,
174
+ "trial_params": null
175
+ }
checkpoint-12500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6005a8dbbeaf7fa1e5d44e146225df46606430ab46bf38394b1e0f0709e011b
3
+ size 3439
checkpoint-12500/vocab.txt ADDED
The diff for this file is too large to render. See raw diff