chrommium commited on
Commit
2ea93b7
1 Parent(s): 93e99a6
Files changed (25) hide show
  1. .gitignore +1 -0
  2. README.md +89 -0
  3. config.json +52 -0
  4. pytorch_model.bin +3 -0
  5. runs/Sep27_18-00-30_3950dfe95cad/1632765692.2045357/events.out.tfevents.1632765692.3950dfe95cad.92.1 +3 -0
  6. runs/Sep27_18-00-30_3950dfe95cad/1632765802.5626261/events.out.tfevents.1632765802.3950dfe95cad.92.3 +3 -0
  7. runs/Sep27_18-00-30_3950dfe95cad/events.out.tfevents.1632765692.3950dfe95cad.92.0 +3 -0
  8. runs/Sep27_18-00-30_3950dfe95cad/events.out.tfevents.1632765802.3950dfe95cad.92.2 +3 -0
  9. runs/Sep27_18-00-30_3950dfe95cad/events.out.tfevents.1632767582.3950dfe95cad.92.4 +3 -0
  10. runs/Sep27_18-33-56_3950dfe95cad/1632767661.4652352/events.out.tfevents.1632767661.3950dfe95cad.92.6 +3 -0
  11. runs/Sep27_18-33-56_3950dfe95cad/events.out.tfevents.1632767661.3950dfe95cad.92.5 +3 -0
  12. runs/Sep27_18-38-00_3950dfe95cad/1632767894.0143626/events.out.tfevents.1632767894.3950dfe95cad.92.8 +3 -0
  13. runs/Sep27_18-38-00_3950dfe95cad/events.out.tfevents.1632767894.3950dfe95cad.92.7 +3 -0
  14. runs/Sep27_18-40-34_3950dfe95cad/1632768052.056459/events.out.tfevents.1632768052.3950dfe95cad.1487.1 +3 -0
  15. runs/Sep27_18-40-34_3950dfe95cad/events.out.tfevents.1632768052.3950dfe95cad.1487.0 +3 -0
  16. runs/Sep27_18-44-15_3950dfe95cad/1632768264.4716058/events.out.tfevents.1632768264.3950dfe95cad.1487.3 +3 -0
  17. runs/Sep27_18-44-15_3950dfe95cad/events.out.tfevents.1632768264.3950dfe95cad.1487.2 +3 -0
  18. runs/Sep27_18-46-42_3950dfe95cad/1632768409.736853/events.out.tfevents.1632768409.3950dfe95cad.1710.1 +3 -0
  19. runs/Sep27_18-46-42_3950dfe95cad/events.out.tfevents.1632768409.3950dfe95cad.1710.0 +3 -0
  20. runs/Sep27_18-46-42_3950dfe95cad/events.out.tfevents.1632769831.3950dfe95cad.1710.2 +3 -0
  21. special_tokens_map.json +1 -0
  22. tokenizer.json +0 -0
  23. tokenizer_config.json +1 -0
  24. training_args.bin +3 -0
  25. vocab.txt +0 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ metrics:
5
+ - accuracy
6
+ - f1
7
+ model-index:
8
+ - name: rubert-base-cased-sentence-finetuned-sent_in_news_sents
9
+ results:
10
+ - task:
11
+ name: Text Classification
12
+ type: text-classification
13
+ metrics:
14
+ - name: Accuracy
15
+ type: accuracy
16
+ value: 0.7224199288256228
17
+ - name: F1
18
+ type: f1
19
+ value: 0.5137303178348194
20
+ ---
21
+
22
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
23
+ should probably proofread and complete it, then remove this comment. -->
24
+
25
+ # rubert-base-cased-sentence-finetuned-sent_in_news_sents
26
+
27
+ This model is a fine-tuned version of [DeepPavlov/rubert-base-cased-sentence](https://huggingface.co/DeepPavlov/rubert-base-cased-sentence) on an unknown dataset.
28
+ It achieves the following results on the evaluation set:
29
+ - Loss: 1.9506
30
+ - Accuracy: 0.7224
31
+ - F1: 0.5137
32
+
33
+ ## Model description
34
+
35
+ More information needed
36
+
37
+ ## Intended uses & limitations
38
+
39
+ More information needed
40
+
41
+ ## Training and evaluation data
42
+
43
+ More information needed
44
+
45
+ ## Training procedure
46
+
47
+ ### Training hyperparameters
48
+
49
+ The following hyperparameters were used during training:
50
+ - learning_rate: 5e-05
51
+ - train_batch_size: 14
52
+ - eval_batch_size: 14
53
+ - seed: 42
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - num_epochs: 20
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
61
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
62
+ | No log | 1.0 | 81 | 1.0045 | 0.6690 | 0.1388 |
63
+ | No log | 2.0 | 162 | 0.9574 | 0.6228 | 0.2980 |
64
+ | No log | 3.0 | 243 | 1.0259 | 0.6477 | 0.3208 |
65
+ | No log | 4.0 | 324 | 1.1262 | 0.6619 | 0.4033 |
66
+ | No log | 5.0 | 405 | 1.3377 | 0.6299 | 0.3909 |
67
+ | No log | 6.0 | 486 | 1.5716 | 0.6868 | 0.3624 |
68
+ | 0.6085 | 7.0 | 567 | 1.6286 | 0.6762 | 0.4130 |
69
+ | 0.6085 | 8.0 | 648 | 1.6450 | 0.6940 | 0.4775 |
70
+ | 0.6085 | 9.0 | 729 | 1.7108 | 0.7224 | 0.4920 |
71
+ | 0.6085 | 10.0 | 810 | 1.8792 | 0.7046 | 0.5028 |
72
+ | 0.6085 | 11.0 | 891 | 1.8670 | 0.7153 | 0.4992 |
73
+ | 0.6085 | 12.0 | 972 | 1.8856 | 0.7153 | 0.4934 |
74
+ | 0.0922 | 13.0 | 1053 | 1.9506 | 0.7224 | 0.5137 |
75
+ | 0.0922 | 14.0 | 1134 | 2.0363 | 0.7189 | 0.4761 |
76
+ | 0.0922 | 15.0 | 1215 | 2.0601 | 0.7224 | 0.5053 |
77
+ | 0.0922 | 16.0 | 1296 | 2.0813 | 0.7153 | 0.5038 |
78
+ | 0.0922 | 17.0 | 1377 | 2.0960 | 0.7189 | 0.5065 |
79
+ | 0.0922 | 18.0 | 1458 | 2.1060 | 0.7224 | 0.5098 |
80
+ | 0.0101 | 19.0 | 1539 | 2.1153 | 0.7260 | 0.5086 |
81
+ | 0.0101 | 20.0 | 1620 | 2.1187 | 0.7260 | 0.5086 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.10.3
87
+ - Pytorch 1.9.0+cu102
88
+ - Datasets 1.12.1
89
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "DeepPavlov/rubert-base-cased-sentence",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
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": 3072,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3,
29
+ "LABEL_4": 4,
30
+ "LABEL_5": 5,
31
+ "LABEL_6": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "bert",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "output_past": true,
39
+ "pad_token_id": 0,
40
+ "pooler_fc_size": 768,
41
+ "pooler_num_attention_heads": 12,
42
+ "pooler_num_fc_layers": 3,
43
+ "pooler_size_per_head": 128,
44
+ "pooler_type": "first_token_transform",
45
+ "position_embedding_type": "absolute",
46
+ "problem_type": "single_label_classification",
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.10.3",
49
+ "type_vocab_size": 2,
50
+ "use_cache": true,
51
+ "vocab_size": 119547
52
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cd2e785b80638c9fdfcc03f242d0fe718c5a48c748077a3e8d8ea93eec9a299
3
+ size 711519405
runs/Sep27_18-00-30_3950dfe95cad/1632765692.2045357/events.out.tfevents.1632765692.3950dfe95cad.92.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e7424f040c1910313a0d73f625a08f9e10f232ca908b95fb6c3e5943f88b929
3
+ size 4241
runs/Sep27_18-00-30_3950dfe95cad/1632765802.5626261/events.out.tfevents.1632765802.3950dfe95cad.92.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf4de62a2b7e94f9689c20d713a4479156ac7ef7dab9a3bebe6e2d710791246b
3
+ size 4241
runs/Sep27_18-00-30_3950dfe95cad/events.out.tfevents.1632765692.3950dfe95cad.92.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85c17b6f3a4309ece7e512a124c444a7b676906458c86052e4fa2547a40616f4
3
+ size 3538
runs/Sep27_18-00-30_3950dfe95cad/events.out.tfevents.1632765802.3950dfe95cad.92.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7e56cf418aadfd3fd014d30841aa6bf94c6b19ee05f82d59a9f400addd759c2
3
+ size 13787
runs/Sep27_18-00-30_3950dfe95cad/events.out.tfevents.1632767582.3950dfe95cad.92.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e9e5f16c21329925df72fcf569cd0fe1e0ff466489e3e44cdfe75378c0b2d90
3
+ size 409
runs/Sep27_18-33-56_3950dfe95cad/1632767661.4652352/events.out.tfevents.1632767661.3950dfe95cad.92.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:899279208e52e92a86191a0d6b18e9e7ad57bc73cb2d427b25554282b7d7d7a4
3
+ size 4241
runs/Sep27_18-33-56_3950dfe95cad/events.out.tfevents.1632767661.3950dfe95cad.92.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd1972bfcd9b31d9c933e854e255ac0175058d4c6ca628e0a0aca91f88a75b68
3
+ size 4736
runs/Sep27_18-38-00_3950dfe95cad/1632767894.0143626/events.out.tfevents.1632767894.3950dfe95cad.92.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5eefba95c58402b2f0cf0b5a73d79ec1b82fef927ad46d2d76c60cfd6c0e60ee
3
+ size 4241
runs/Sep27_18-38-00_3950dfe95cad/events.out.tfevents.1632767894.3950dfe95cad.92.7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b824b0bc1141a3795e36f9bbd011d954bcb1254aa312698060fa99fd3c496be1
3
+ size 3538
runs/Sep27_18-40-34_3950dfe95cad/1632768052.056459/events.out.tfevents.1632768052.3950dfe95cad.1487.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b84efee6e1e0658c94a7e242e5a01d7c94c1e4daf6b8c95eb1c8502cbe6b4bc
3
+ size 4241
runs/Sep27_18-40-34_3950dfe95cad/events.out.tfevents.1632768052.3950dfe95cad.1487.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:008351cac92b05c41398a7689c2ca79a345bce21de4fe77038089b6b9339a2d8
3
+ size 4269
runs/Sep27_18-44-15_3950dfe95cad/1632768264.4716058/events.out.tfevents.1632768264.3950dfe95cad.1487.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb16bc3ccaf3f672247a129ebb2001f154a47ab57594c0b79db309f110327845
3
+ size 4241
runs/Sep27_18-44-15_3950dfe95cad/events.out.tfevents.1632768264.3950dfe95cad.1487.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48771dbeab0d927d86a68a372bc674a72b50a609017c9b0407c9a702ab709fc1
3
+ size 3539
runs/Sep27_18-46-42_3950dfe95cad/1632768409.736853/events.out.tfevents.1632768409.3950dfe95cad.1710.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37659bcaf60da4941ac1e1608d4faaa067f2dc608a11328217cc9568ecbfcddd
3
+ size 4241
runs/Sep27_18-46-42_3950dfe95cad/events.out.tfevents.1632768409.3950dfe95cad.1710.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10ea59e7d04155e4f0954cb86b5c92f7e94e3395393859ba858e8fa8f0cdedb5
3
+ size 11736
runs/Sep27_18-46-42_3950dfe95cad/events.out.tfevents.1632769831.3950dfe95cad.1710.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd8f7512d8210695bb19f67aab3ee4d3747c7d0526b12752634519b029dad891
3
+ size 409
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, "special_tokens_map_file": "/root/.cache/huggingface/transformers/0c7965501fba622370adf334149813060bb231408a6582b155bf623cd1f81d47.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d", "name_or_path": "DeepPavlov/rubert-base-cased-sentence", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "BertTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61479c180ff75ea5d60ac65ba9d7116b1d65fb5305edf2fcf0fc0cec43f88e75
3
+ size 2671
vocab.txt ADDED
The diff for this file is too large to render. See raw diff