izaitova commited on
Commit
4e1d49e
1 Parent(s): 98d52fb

End of training

Browse files
Files changed (4) hide show
  1. README.md +74 -0
  2. config.json +49 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: ai-forever/ruBert-large
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - precision
7
+ - recall
8
+ - f1
9
+ - accuracy
10
+ model-index:
11
+ - name: ruBert-large_ner
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # ruBert-large_ner
19
+
20
+ This model is a fine-tuned version of [ai-forever/ruBert-large](https://huggingface.co/ai-forever/ruBert-large) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.5158
23
+ - Precision: 0.8832
24
+ - Recall: 0.9014
25
+ - F1: 0.8912
26
+ - Accuracy: 0.9234
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-05
46
+ - train_batch_size: 16
47
+ - eval_batch_size: 8
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 10
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
56
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
57
+ | No log | 1.0 | 438 | 0.3216 | 0.8700 | 0.8309 | 0.8448 | 0.8941 |
58
+ | 0.3915 | 2.0 | 876 | 0.3379 | 0.8596 | 0.8790 | 0.8672 | 0.9089 |
59
+ | 0.175 | 3.0 | 1314 | 0.3441 | 0.8656 | 0.8833 | 0.8737 | 0.9092 |
60
+ | 0.0942 | 4.0 | 1752 | 0.3751 | 0.8651 | 0.8856 | 0.8729 | 0.9104 |
61
+ | 0.0597 | 5.0 | 2190 | 0.3919 | 0.8881 | 0.9002 | 0.8935 | 0.9236 |
62
+ | 0.0309 | 6.0 | 2628 | 0.4360 | 0.8730 | 0.8958 | 0.8821 | 0.9171 |
63
+ | 0.0154 | 7.0 | 3066 | 0.4564 | 0.8848 | 0.8985 | 0.8907 | 0.9234 |
64
+ | 0.0064 | 8.0 | 3504 | 0.4809 | 0.8797 | 0.9036 | 0.8904 | 0.9236 |
65
+ | 0.0064 | 9.0 | 3942 | 0.5027 | 0.8832 | 0.9024 | 0.8917 | 0.9232 |
66
+ | 0.0024 | 10.0 | 4380 | 0.5158 | 0.8832 | 0.9014 | 0.8912 | 0.9234 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.42.4
72
+ - Pytorch 2.3.1+cu121
73
+ - Datasets 2.21.0
74
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ai-forever/ruBert-large",
3
+ "architectures": [
4
+ "BertForTokenClassification"
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
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.42.4",
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:c14cd2e286d09e309a0e1d0d46d53aed46ca89513cfa998ae734f24ed0cccbac
3
+ size 1703512036
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc22028f23ac4c07aa9e025704e94b003bd3ef53e9c69ac40183740a8ccf2e7
3
+ size 5112