wyluilipe commited on
Commit
aa3a886
1 Parent(s): f6bf4fd

Upload 10 files

Browse files
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/mobilebert-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_activation": false,
8
+ "classifier_dropout": null,
9
+ "embedding_size": 128,
10
+ "hidden_act": "relu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 512,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 512,
24
+ "intra_bottleneck_size": 128,
25
+ "key_query_shared_bottleneck": true,
26
+ "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2,
30
+ "LABEL_3": 3,
31
+ "LABEL_4": 4,
32
+ "LABEL_5": 5,
33
+ "LABEL_6": 6
34
+ },
35
+ "layer_norm_eps": 1e-12,
36
+ "max_position_embeddings": 512,
37
+ "model_type": "bert",
38
+ "normalization_type": "no_norm",
39
+ "num_attention_heads": 4,
40
+ "num_feedforward_networks": 4,
41
+ "num_hidden_layers": 24,
42
+ "pad_token_id": 0,
43
+ "position_embedding_type": "absolute",
44
+ "problem_type": "single_label_classification",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.38.2",
47
+ "trigram_input": true,
48
+ "true_hidden_size": 128,
49
+ "type_vocab_size": 2,
50
+ "use_bottleneck": true,
51
+ "use_bottleneck_attention": false,
52
+ "use_cache": true,
53
+ "vocab_size": 30522
54
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7226ec89c61561e510caf725b4135cc8d9016b1228d83edc727bcc560fdb142
3
+ size 216163356
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7030a5969836b4f3d6d6fa50089ad172fbb3d2756a2927f5b245e50cf72a3c6d
3
+ size 432552429
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18f5eab34762f1b8722a679a1169dde0d3eddd3f77c37cc89392b3ec3f781a60
3
+ size 13990
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1daa1dc07e65e2db40a843fa0b5a4d4d6c2ed7ea1c80401febe5d58e59be2a24
3
+ size 1064
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
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
trainer_state.json ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9008125554721984,
3
+ "best_model_checkpoint": "rubert_classification/checkpoint-3500",
4
+ "epoch": 1.674641148325359,
5
+ "eval_steps": 500,
6
+ "global_step": 3500,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.24,
13
+ "eval_accuracy": 0.7823053307284399,
14
+ "eval_f1": 0.7752692727748154,
15
+ "eval_loss": 0.6053181886672974,
16
+ "eval_precision": 0.7849961270931392,
17
+ "eval_recall": 0.7823053307284399,
18
+ "eval_runtime": 38.9969,
19
+ "eval_samples_per_second": 183.758,
20
+ "eval_steps_per_second": 11.488,
21
+ "step": 500
22
+ },
23
+ {
24
+ "epoch": 0.29,
25
+ "grad_norm": 22.682289123535156,
26
+ "learning_rate": 4.975490196078432e-05,
27
+ "loss": 0.9433,
28
+ "step": 600
29
+ },
30
+ {
31
+ "epoch": 0.48,
32
+ "eval_accuracy": 0.8368685459112476,
33
+ "eval_f1": 0.8330214371969107,
34
+ "eval_loss": 0.46620890498161316,
35
+ "eval_precision": 0.840415327990016,
36
+ "eval_recall": 0.8368685459112476,
37
+ "eval_runtime": 36.1817,
38
+ "eval_samples_per_second": 198.056,
39
+ "eval_steps_per_second": 12.382,
40
+ "step": 1000
41
+ },
42
+ {
43
+ "epoch": 0.57,
44
+ "grad_norm": 12.139711380004883,
45
+ "learning_rate": 4.82843137254902e-05,
46
+ "loss": 0.5182,
47
+ "step": 1200
48
+ },
49
+ {
50
+ "epoch": 0.72,
51
+ "eval_accuracy": 0.8428691041027072,
52
+ "eval_f1": 0.8319455570081821,
53
+ "eval_loss": 0.4372938573360443,
54
+ "eval_precision": 0.8395761804457677,
55
+ "eval_recall": 0.8428691041027072,
56
+ "eval_runtime": 35.6356,
57
+ "eval_samples_per_second": 201.091,
58
+ "eval_steps_per_second": 12.572,
59
+ "step": 1500
60
+ },
61
+ {
62
+ "epoch": 0.86,
63
+ "grad_norm": 37.54426574707031,
64
+ "learning_rate": 4.681372549019608e-05,
65
+ "loss": 0.4508,
66
+ "step": 1800
67
+ },
68
+ {
69
+ "epoch": 0.96,
70
+ "eval_accuracy": 0.8644990231649455,
71
+ "eval_f1": 0.8633019943338417,
72
+ "eval_loss": 0.39909306168556213,
73
+ "eval_precision": 0.8707480255460968,
74
+ "eval_recall": 0.8644990231649455,
75
+ "eval_runtime": 35.6445,
76
+ "eval_samples_per_second": 201.041,
77
+ "eval_steps_per_second": 12.569,
78
+ "step": 2000
79
+ },
80
+ {
81
+ "epoch": 1.15,
82
+ "grad_norm": 3.496920108795166,
83
+ "learning_rate": 4.5343137254901966e-05,
84
+ "loss": 0.3875,
85
+ "step": 2400
86
+ },
87
+ {
88
+ "epoch": 1.2,
89
+ "eval_accuracy": 0.8898967345799609,
90
+ "eval_f1": 0.8875919037418019,
91
+ "eval_loss": 0.33941856026649475,
92
+ "eval_precision": 0.8906320921346105,
93
+ "eval_recall": 0.8898967345799609,
94
+ "eval_runtime": 35.5422,
95
+ "eval_samples_per_second": 201.619,
96
+ "eval_steps_per_second": 12.605,
97
+ "step": 2500
98
+ },
99
+ {
100
+ "epoch": 1.44,
101
+ "grad_norm": 16.364843368530273,
102
+ "learning_rate": 4.387254901960784e-05,
103
+ "loss": 0.3401,
104
+ "step": 3000
105
+ },
106
+ {
107
+ "epoch": 1.44,
108
+ "eval_accuracy": 0.8869662294166899,
109
+ "eval_f1": 0.8851872123624062,
110
+ "eval_loss": 0.3447243273258209,
111
+ "eval_precision": 0.8869707495957468,
112
+ "eval_recall": 0.8869662294166899,
113
+ "eval_runtime": 35.7225,
114
+ "eval_samples_per_second": 200.602,
115
+ "eval_steps_per_second": 12.541,
116
+ "step": 3000
117
+ },
118
+ {
119
+ "epoch": 1.67,
120
+ "eval_accuracy": 0.9016187552330449,
121
+ "eval_f1": 0.9008125554721984,
122
+ "eval_loss": 0.325568288564682,
123
+ "eval_precision": 0.9021842242763984,
124
+ "eval_recall": 0.9016187552330449,
125
+ "eval_runtime": 35.7388,
126
+ "eval_samples_per_second": 200.51,
127
+ "eval_steps_per_second": 12.535,
128
+ "step": 3500
129
+ }
130
+ ],
131
+ "logging_steps": 600,
132
+ "max_steps": 20900,
133
+ "num_input_tokens_seen": 0,
134
+ "num_train_epochs": 10,
135
+ "save_steps": 500,
136
+ "total_flos": 1640277252096000.0,
137
+ "train_batch_size": 16,
138
+ "trial_name": null,
139
+ "trial_params": null
140
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7e679bb9df7a1d953e06a86a8b03683c9d16b1660d3f4d9aa2f2cb139de3edf
3
+ size 4856
vocab.txt ADDED
The diff for this file is too large to render. See raw diff