izaitova commited on
Commit
769c482
·
verified ·
1 Parent(s): f7f24b8

End of training

Browse files
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: ai-forever/ruBert-large
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: ruBert-large-topic_classification
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # ruBert-large-topic_classification
20
+
21
+ This model is a fine-tuned version of [ai-forever/ruBert-large](https://huggingface.co/ai-forever/ruBert-large) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.7900
24
+ - Precision: 0.8793
25
+ - Recall: 0.8646
26
+ - F1: 0.8688
27
+ - Accuracy: 0.8824
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | No log | 1.0 | 44 | 0.6327 | 0.8534 | 0.7883 | 0.8046 | 0.8186 |
59
+ | No log | 2.0 | 88 | 0.4897 | 0.8847 | 0.8401 | 0.8548 | 0.8676 |
60
+ | No log | 3.0 | 132 | 0.5957 | 0.8732 | 0.8617 | 0.8638 | 0.8676 |
61
+ | No log | 4.0 | 176 | 0.6598 | 0.8808 | 0.8658 | 0.8700 | 0.8824 |
62
+ | No log | 5.0 | 220 | 0.7086 | 0.8705 | 0.8589 | 0.8625 | 0.8775 |
63
+ | No log | 6.0 | 264 | 0.7445 | 0.8793 | 0.8646 | 0.8688 | 0.8824 |
64
+ | No log | 7.0 | 308 | 0.7661 | 0.8793 | 0.8646 | 0.8688 | 0.8824 |
65
+ | No log | 8.0 | 352 | 0.7795 | 0.8793 | 0.8646 | 0.8688 | 0.8824 |
66
+ | No log | 9.0 | 396 | 0.7870 | 0.8793 | 0.8646 | 0.8688 | 0.8824 |
67
+ | No log | 10.0 | 440 | 0.7900 | 0.8793 | 0.8646 | 0.8688 | 0.8824 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.44.2
73
+ - Pytorch 2.4.0+cu121
74
+ - Datasets 2.21.0
75
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ai-forever/ruBert-large",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4",
18
+ "5": "LABEL_5",
19
+ "6": "LABEL_6"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 4096,
23
+ "label2id": {
24
+ "LABEL_0": 0,
25
+ "LABEL_1": 1,
26
+ "LABEL_2": 2,
27
+ "LABEL_3": 3,
28
+ "LABEL_4": 4,
29
+ "LABEL_5": 5,
30
+ "LABEL_6": 6
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "max_position_embeddings": 512,
34
+ "model_type": "bert",
35
+ "num_attention_heads": 16,
36
+ "num_hidden_layers": 24,
37
+ "pad_token_id": 0,
38
+ "pooler_fc_size": 768,
39
+ "pooler_num_attention_heads": 12,
40
+ "pooler_num_fc_layers": 3,
41
+ "pooler_size_per_head": 128,
42
+ "pooler_type": "first_token_transform",
43
+ "position_embedding_type": "absolute",
44
+ "problem_type": "single_label_classification",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.44.2",
47
+ "type_vocab_size": 2,
48
+ "use_cache": true,
49
+ "vocab_size": 120138
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc6d70100d71e2cb8402e7c05c0b0b3378c0545766c268c91db76e205bb16dfb
3
+ size 1707710636
runs/Sep09_10-04-35_5edf7d87b664/events.out.tfevents.1725876277.5edf7d87b664.615.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6645ac243462638fdb53d4e09e1c8372c8db8dba8487898ec4c94d01d209de6
3
+ size 10630
runs/Sep09_10-04-35_5edf7d87b664/events.out.tfevents.1725876871.5edf7d87b664.615.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89d2623afa2643f4100c250f827ad5627dc7c6a6bcac885e4fb1e03f3aae8ba2
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3bec4dcc424095b1ed1faec5ba32eec6f4c67bc965e1723b3103966d0212ab8
3
+ size 5304