DimasikKurd commited on
Commit
10f03e0
·
verified ·
1 Parent(s): 0e0efee

Training complete

Browse files
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: DmitryPogrebnoy/MedRuRobertaLarge
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: MedRuRobertaLarge_neg
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
+ # MedRuRobertaLarge_neg
20
+
21
+ This model is a fine-tuned version of [DmitryPogrebnoy/MedRuRobertaLarge](https://huggingface.co/DmitryPogrebnoy/MedRuRobertaLarge) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.4946
24
+ - Precision: 0.5932
25
+ - Recall: 0.5804
26
+ - F1: 0.5868
27
+ - Accuracy: 0.9015
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: 4
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: 100
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | No log | 1.0 | 50 | 0.6600 | 0.0 | 0.0 | 0.0 | 0.7759 |
59
+ | No log | 2.0 | 100 | 0.5893 | 0.0 | 0.0 | 0.0 | 0.7826 |
60
+ | No log | 3.0 | 150 | 0.4690 | 0.0265 | 0.0173 | 0.0210 | 0.8164 |
61
+ | No log | 4.0 | 200 | 0.4564 | 0.0979 | 0.1252 | 0.1099 | 0.8204 |
62
+ | No log | 5.0 | 250 | 0.3628 | 0.1881 | 0.2852 | 0.2266 | 0.8538 |
63
+ | No log | 6.0 | 300 | 0.3105 | 0.3469 | 0.3622 | 0.3544 | 0.8901 |
64
+ | No log | 7.0 | 350 | 0.3382 | 0.4084 | 0.3738 | 0.3903 | 0.8909 |
65
+ | No log | 8.0 | 400 | 0.2926 | 0.4774 | 0.4682 | 0.4728 | 0.9020 |
66
+ | No log | 9.0 | 450 | 0.2955 | 0.4630 | 0.4817 | 0.4721 | 0.9046 |
67
+ | 0.3854 | 10.0 | 500 | 0.3161 | 0.5367 | 0.4933 | 0.5141 | 0.9080 |
68
+ | 0.3854 | 11.0 | 550 | 0.3103 | 0.4612 | 0.6069 | 0.5241 | 0.9018 |
69
+ | 0.3854 | 12.0 | 600 | 0.3020 | 0.5614 | 0.6166 | 0.5877 | 0.9136 |
70
+ | 0.3854 | 13.0 | 650 | 0.3738 | 0.5625 | 0.5896 | 0.5757 | 0.9157 |
71
+ | 0.3854 | 14.0 | 700 | 0.3322 | 0.4834 | 0.5877 | 0.5304 | 0.9031 |
72
+ | 0.3854 | 15.0 | 750 | 0.3619 | 0.4855 | 0.5472 | 0.5145 | 0.9083 |
73
+ | 0.3854 | 16.0 | 800 | 0.3597 | 0.4815 | 0.6763 | 0.5625 | 0.9018 |
74
+ | 0.3854 | 17.0 | 850 | 0.4065 | 0.5488 | 0.6281 | 0.5858 | 0.9145 |
75
+ | 0.3854 | 18.0 | 900 | 0.4491 | 0.6047 | 0.6513 | 0.6271 | 0.9184 |
76
+ | 0.3854 | 19.0 | 950 | 0.4184 | 0.4972 | 0.6898 | 0.5779 | 0.8986 |
77
+ | 0.0771 | 20.0 | 1000 | 0.3366 | 0.5929 | 0.6089 | 0.6008 | 0.9238 |
78
+ | 0.0771 | 21.0 | 1050 | 0.6161 | 0.6834 | 0.5241 | 0.5932 | 0.9009 |
79
+ | 0.0771 | 22.0 | 1100 | 0.6387 | 0.3497 | 0.6859 | 0.4632 | 0.8377 |
80
+ | 0.0771 | 23.0 | 1150 | 0.3559 | 0.6004 | 0.6224 | 0.6112 | 0.9198 |
81
+ | 0.0771 | 24.0 | 1200 | 0.4161 | 0.5926 | 0.6166 | 0.6043 | 0.9203 |
82
+ | 0.0771 | 25.0 | 1250 | 0.4341 | 0.6365 | 0.6108 | 0.6234 | 0.9199 |
83
+ | 0.0771 | 26.0 | 1300 | 0.3910 | 0.6184 | 0.5838 | 0.6006 | 0.9153 |
84
+ | 0.0771 | 27.0 | 1350 | 0.3706 | 0.5396 | 0.6435 | 0.5870 | 0.9209 |
85
+ | 0.0771 | 28.0 | 1400 | 0.5059 | 0.5833 | 0.6069 | 0.5949 | 0.9157 |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 4.38.2
91
+ - Pytorch 2.1.2
92
+ - Datasets 2.1.0
93
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "DmitryPogrebnoy/MedRuRobertaLarge",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 1,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "id2label": {
15
+ "0": "O",
16
+ "1": "B-symp",
17
+ "2": "I-symp"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 4096,
21
+ "label2id": {
22
+ "0": "O",
23
+ "1": "B-symp",
24
+ "2": "I-symp"
25
+ },
26
+ "layer_norm_eps": 1e-05,
27
+ "max_position_embeddings": 514,
28
+ "model_type": "roberta",
29
+ "num_attention_heads": 16,
30
+ "num_hidden_layers": 24,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.38.2",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 50257
38
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dbf3f714f0460c72961c72193ee665e8751d5eb600994bc54c14e0979081e91
3
+ size 1417268116
runs/May06_23-03-53_4537e44771aa/events.out.tfevents.1715036634.4537e44771aa.34.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca14e83ecdb064c16766e2b198124e494ded5c3a93396d66b3b5d121c6fa86d5
3
+ size 18789
runs/May06_23-03-53_4537e44771aa/events.out.tfevents.1715037929.4537e44771aa.34.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ac94ca5aeb5f755075d25283ec7ff48c4f89709e92182cca2d52a1c89f17d4d
3
+ size 560
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
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
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<pad>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<s>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "RobertaTokenizer",
55
+ "trim_offsets": true,
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:fea49175dffcf300beefc984322a438e08adb22620536bf75dfd078f2f546cc8
3
+ size 4920
vocab.json ADDED
The diff for this file is too large to render. See raw diff