ivanovsdesign commited on
Commit
a5c8947
1 Parent(s): 1a2efda

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ base_model: sismetanin/sbert-ru-sentiment-rureviews
7
+ widget:
8
+ - text: "I love AutoTrain"
9
+ ---
10
+
11
+ # Model Trained Using AutoTrain
12
+
13
+ - Problem type: Text Classification
14
+
15
+ ## Validation Metrics
16
+ loss: 0.7923741936683655
17
+
18
+ f1_macro: 0.477300844529545
19
+
20
+ f1_micro: 0.6768415474297828
21
+
22
+ f1_weighted: 0.6539238685786151
23
+
24
+ precision_macro: 0.47572044522765333
25
+
26
+ precision_micro: 0.6768415474297828
27
+
28
+ precision_weighted: 0.6443369860797746
29
+
30
+ recall_macro: 0.4940706423732507
31
+
32
+ recall_micro: 0.6768415474297828
33
+
34
+ recall_weighted: 0.6768415474297828
35
+
36
+ accuracy: 0.6768415474297828
checkpoint-589/config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sismetanin/sbert-ru-sentiment-rureviews",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "finetuning_task": "sst2",
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 1024,
15
+ "id2label": {
16
+ "0": "1",
17
+ "1": "2",
18
+ "2": "3",
19
+ "3": "4",
20
+ "4": "5"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 4096,
24
+ "label2id": {
25
+ "1": 0,
26
+ "2": 1,
27
+ "3": 2,
28
+ "4": 3,
29
+ "5": 4
30
+ },
31
+ "layer_norm_eps": 1e-12,
32
+ "max_position_embeddings": 512,
33
+ "model_type": "bert",
34
+ "num_attention_heads": 16,
35
+ "num_hidden_layers": 24,
36
+ "pad_token_id": 0,
37
+ "pooler_fc_size": 768,
38
+ "pooler_num_attention_heads": 12,
39
+ "pooler_num_fc_layers": 3,
40
+ "pooler_size_per_head": 128,
41
+ "pooler_type": "first_token_transform",
42
+ "position_embedding_type": "absolute",
43
+ "problem_type": "single_label_classification",
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.46.2",
46
+ "type_vocab_size": 2,
47
+ "use_cache": true,
48
+ "vocab_size": 120138
49
+ }
checkpoint-589/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39f404f99e9a46a93d0a2a0fa05ecd924e4e196416a79e333666ae10ef56f72c
3
+ size 1707702436
checkpoint-589/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d1dbe7ea98ba93d5f657c5fd231ca4a78519668a0398007084d6df10a28237f
3
+ size 3415639277
checkpoint-589/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15d1fe90d177fc6657840afac5d42c3bb42babde2a971424314319026c94bbe1
3
+ size 14512
checkpoint-589/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f789f370861a91c8b2d2fac77b5b062b5221ea256ca4e469dcdf5e306871352c
3
+ size 14512
checkpoint-589/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc14eee9a6e3ac806ec4b38cf80106ed826556261dcec99fe3bce49fbb45d73c
3
+ size 1064
checkpoint-589/trainer_state.json ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7976659536361694,
3
+ "best_model_checkpoint": "sbert-ru-huawei-rureviews-no-duplicates/checkpoint-589",
4
+ "epoch": 0.9987282746926663,
5
+ "eval_steps": 500,
6
+ "global_step": 589,
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.0423908435777872,
13
+ "grad_norm": 18.781570434570312,
14
+ "learning_rate": 7.062146892655368e-06,
15
+ "loss": 1.5601,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.0847816871555744,
20
+ "grad_norm": 12.51102066040039,
21
+ "learning_rate": 1.4124293785310736e-05,
22
+ "loss": 1.0521,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 0.1271725307333616,
27
+ "grad_norm": 24.600730895996094,
28
+ "learning_rate": 2.1186440677966103e-05,
29
+ "loss": 0.8671,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 0.1695633743111488,
34
+ "grad_norm": 14.450693130493164,
35
+ "learning_rate": 2.8248587570621472e-05,
36
+ "loss": 0.8607,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 0.21195421788893598,
41
+ "grad_norm": 15.730051040649414,
42
+ "learning_rate": 3.531073446327684e-05,
43
+ "loss": 0.8658,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 0.2543450614667232,
48
+ "grad_norm": 15.596332550048828,
49
+ "learning_rate": 4.2372881355932206e-05,
50
+ "loss": 0.8358,
51
+ "step": 150
52
+ },
53
+ {
54
+ "epoch": 0.29673590504451036,
55
+ "grad_norm": 14.379067420959473,
56
+ "learning_rate": 4.9435028248587575e-05,
57
+ "loss": 0.8535,
58
+ "step": 175
59
+ },
60
+ {
61
+ "epoch": 0.3391267486222976,
62
+ "grad_norm": 14.174772262573242,
63
+ "learning_rate": 4.927672955974843e-05,
64
+ "loss": 0.8428,
65
+ "step": 200
66
+ },
67
+ {
68
+ "epoch": 0.3815175922000848,
69
+ "grad_norm": 15.868408203125,
70
+ "learning_rate": 4.849056603773585e-05,
71
+ "loss": 0.8436,
72
+ "step": 225
73
+ },
74
+ {
75
+ "epoch": 0.42390843577787196,
76
+ "grad_norm": 12.947571754455566,
77
+ "learning_rate": 4.7704402515723276e-05,
78
+ "loss": 0.8498,
79
+ "step": 250
80
+ },
81
+ {
82
+ "epoch": 0.4662992793556592,
83
+ "grad_norm": 12.922489166259766,
84
+ "learning_rate": 4.691823899371069e-05,
85
+ "loss": 0.8728,
86
+ "step": 275
87
+ },
88
+ {
89
+ "epoch": 0.5086901229334464,
90
+ "grad_norm": 16.116744995117188,
91
+ "learning_rate": 4.616352201257862e-05,
92
+ "loss": 0.8058,
93
+ "step": 300
94
+ },
95
+ {
96
+ "epoch": 0.5510809665112336,
97
+ "grad_norm": 13.213577270507812,
98
+ "learning_rate": 4.537735849056604e-05,
99
+ "loss": 0.8092,
100
+ "step": 325
101
+ },
102
+ {
103
+ "epoch": 0.5934718100890207,
104
+ "grad_norm": 13.749724388122559,
105
+ "learning_rate": 4.459119496855346e-05,
106
+ "loss": 0.8277,
107
+ "step": 350
108
+ },
109
+ {
110
+ "epoch": 0.6358626536668079,
111
+ "grad_norm": 14.099920272827148,
112
+ "learning_rate": 4.3805031446540885e-05,
113
+ "loss": 0.8172,
114
+ "step": 375
115
+ },
116
+ {
117
+ "epoch": 0.6782534972445952,
118
+ "grad_norm": 11.363203048706055,
119
+ "learning_rate": 4.301886792452831e-05,
120
+ "loss": 0.8397,
121
+ "step": 400
122
+ },
123
+ {
124
+ "epoch": 0.7206443408223824,
125
+ "grad_norm": 13.129080772399902,
126
+ "learning_rate": 4.2232704402515726e-05,
127
+ "loss": 0.8768,
128
+ "step": 425
129
+ },
130
+ {
131
+ "epoch": 0.7630351844001696,
132
+ "grad_norm": 13.105059623718262,
133
+ "learning_rate": 4.1477987421383654e-05,
134
+ "loss": 0.8453,
135
+ "step": 450
136
+ },
137
+ {
138
+ "epoch": 0.8054260279779568,
139
+ "grad_norm": 17.31393814086914,
140
+ "learning_rate": 4.069182389937107e-05,
141
+ "loss": 0.8207,
142
+ "step": 475
143
+ },
144
+ {
145
+ "epoch": 0.8478168715557439,
146
+ "grad_norm": 15.73338794708252,
147
+ "learning_rate": 3.9905660377358494e-05,
148
+ "loss": 0.8093,
149
+ "step": 500
150
+ },
151
+ {
152
+ "epoch": 0.8902077151335311,
153
+ "grad_norm": 10.630894660949707,
154
+ "learning_rate": 3.911949685534592e-05,
155
+ "loss": 0.7984,
156
+ "step": 525
157
+ },
158
+ {
159
+ "epoch": 0.9325985587113184,
160
+ "grad_norm": 14.764472961425781,
161
+ "learning_rate": 3.8333333333333334e-05,
162
+ "loss": 0.7914,
163
+ "step": 550
164
+ },
165
+ {
166
+ "epoch": 0.9749894022891056,
167
+ "grad_norm": 14.726776123046875,
168
+ "learning_rate": 3.754716981132076e-05,
169
+ "loss": 0.7818,
170
+ "step": 575
171
+ },
172
+ {
173
+ "epoch": 0.9987282746926663,
174
+ "eval_accuracy": 0.6771595124536302,
175
+ "eval_f1_macro": 0.47781142535236576,
176
+ "eval_f1_micro": 0.6771595124536302,
177
+ "eval_f1_weighted": 0.6542674498710257,
178
+ "eval_loss": 0.7976659536361694,
179
+ "eval_precision_macro": 0.6650293707575838,
180
+ "eval_precision_micro": 0.6771595124536302,
181
+ "eval_precision_weighted": 0.6930699230580497,
182
+ "eval_recall_macro": 0.5021643205507915,
183
+ "eval_recall_micro": 0.6771595124536302,
184
+ "eval_recall_weighted": 0.6771595124536302,
185
+ "eval_runtime": 60.5427,
186
+ "eval_samples_per_second": 155.84,
187
+ "eval_steps_per_second": 4.873,
188
+ "step": 589
189
+ }
190
+ ],
191
+ "logging_steps": 25,
192
+ "max_steps": 1767,
193
+ "num_input_tokens_seen": 0,
194
+ "num_train_epochs": 3,
195
+ "save_steps": 500,
196
+ "stateful_callbacks": {
197
+ "EarlyStoppingCallback": {
198
+ "args": {
199
+ "early_stopping_patience": 5,
200
+ "early_stopping_threshold": 0.01
201
+ },
202
+ "attributes": {
203
+ "early_stopping_patience_counter": 0
204
+ }
205
+ },
206
+ "TrainerControl": {
207
+ "args": {
208
+ "should_epoch_stop": false,
209
+ "should_evaluate": false,
210
+ "should_log": false,
211
+ "should_save": true,
212
+ "should_training_stop": false
213
+ },
214
+ "attributes": {}
215
+ }
216
+ },
217
+ "total_flos": 1.7587586671312896e+16,
218
+ "train_batch_size": 8,
219
+ "trial_name": null,
220
+ "trial_params": null
221
+ }
checkpoint-589/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae74f44dde39d500dff2c79d488590c540de669cdb651275236a09d118c70b66
3
+ size 5304
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sismetanin/sbert-ru-sentiment-rureviews",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "finetuning_task": "sst2",
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 1024,
15
+ "id2label": {
16
+ "0": "1",
17
+ "1": "2",
18
+ "2": "3",
19
+ "3": "4",
20
+ "4": "5"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 4096,
24
+ "label2id": {
25
+ "1": 0,
26
+ "2": 1,
27
+ "3": 2,
28
+ "4": 3,
29
+ "5": 4
30
+ },
31
+ "layer_norm_eps": 1e-12,
32
+ "max_position_embeddings": 512,
33
+ "model_type": "bert",
34
+ "num_attention_heads": 16,
35
+ "num_hidden_layers": 24,
36
+ "pad_token_id": 0,
37
+ "pooler_fc_size": 768,
38
+ "pooler_num_attention_heads": 12,
39
+ "pooler_num_fc_layers": 3,
40
+ "pooler_size_per_head": 128,
41
+ "pooler_type": "first_token_transform",
42
+ "position_embedding_type": "absolute",
43
+ "problem_type": "single_label_classification",
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.46.2",
46
+ "type_vocab_size": 2,
47
+ "use_cache": true,
48
+ "vocab_size": 120138
49
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39f404f99e9a46a93d0a2a0fa05ecd924e4e196416a79e333666ae10ef56f72c
3
+ size 1707702436
runs/Nov14_16-11-37_bae606737fc2/events.out.tfevents.1731600699.bae606737fc2.271.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e6124af757c2727301f61bc848f96df4e42299d5c199b26716d4f5f64f8da88a
3
- size 20698
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44e7ec8e5faef24b70a1241722600251008b7a32ed24c54e817eb5622428f895
3
+ size 23151
runs/Nov14_16-11-37_bae606737fc2/events.out.tfevents.1731604971.bae606737fc2.271.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b1f5c7b9e756042038c5e0269d76f161eb16372fcd804a1e380bece6d7f8042
3
+ size 921
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.json ADDED
The diff for this file is too large to render. See raw diff
 
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae74f44dde39d500dff2c79d488590c540de669cdb651275236a09d118c70b66
3
+ size 5304
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "sbert-ru-huawei-rureviews-no-duplicates/autotrain-data",
3
+ "model": "sismetanin/sbert-ru-sentiment-rureviews",
4
+ "lr": 5e-05,
5
+ "epochs": 3,
6
+ "max_seq_length": 256,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 4,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "text_column": "autotrain_text",
18
+ "target_column": "autotrain_label",
19
+ "logging_steps": -1,
20
+ "project_name": "sbert-ru-huawei-rureviews-no-duplicates",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": "fp16",
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "eval_strategy": "epoch",
26
+ "username": "ivanovsdesign",
27
+ "log": "tensorboard",
28
+ "early_stopping_patience": 5,
29
+ "early_stopping_threshold": 0.01
30
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff