Training complete
Browse files- README.md +109 -0
- config.json +38 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/May07_01-03-13_4537e44771aa/events.out.tfevents.1715043794.4537e44771aa.34.6 +3 -0
- runs/May07_01-03-13_4537e44771aa/events.out.tfevents.1715045903.4537e44771aa.34.7 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +59 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: alexyalunin/RuBioRoBERTa
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- f1
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: RuBioRoBERTa_pos
|
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 |
+
# RuBioRoBERTa_pos
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [alexyalunin/RuBioRoBERTa](https://huggingface.co/alexyalunin/RuBioRoBERTa) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.5510
|
23 |
+
- Precision: 0.6388
|
24 |
+
- Recall: 0.5954
|
25 |
+
- F1: 0.6163
|
26 |
+
- Accuracy: 0.9111
|
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: 4
|
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: 100
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
57 |
+
| No log | 1.0 | 50 | 0.6556 | 0.0 | 0.0 | 0.0 | 0.7611 |
|
58 |
+
| No log | 2.0 | 100 | 1.2213 | 0.0011 | 0.0019 | 0.0014 | 0.2513 |
|
59 |
+
| No log | 3.0 | 150 | 0.6117 | 0.0 | 0.0 | 0.0 | 0.7642 |
|
60 |
+
| No log | 4.0 | 200 | 0.5155 | 0.0135 | 0.0405 | 0.0203 | 0.7884 |
|
61 |
+
| No log | 5.0 | 250 | 0.4171 | 0.0697 | 0.1715 | 0.0991 | 0.8268 |
|
62 |
+
| No log | 6.0 | 300 | 0.3536 | 0.1054 | 0.1753 | 0.1317 | 0.8594 |
|
63 |
+
| No log | 7.0 | 350 | 0.3714 | 0.1638 | 0.2216 | 0.1884 | 0.8685 |
|
64 |
+
| No log | 8.0 | 400 | 0.2889 | 0.2477 | 0.3622 | 0.2942 | 0.8864 |
|
65 |
+
| No log | 9.0 | 450 | 0.2943 | 0.2799 | 0.3969 | 0.3283 | 0.8921 |
|
66 |
+
| 0.452 | 10.0 | 500 | 0.2916 | 0.3823 | 0.4817 | 0.4263 | 0.9011 |
|
67 |
+
| 0.452 | 11.0 | 550 | 0.3162 | 0.3329 | 0.4817 | 0.3937 | 0.8935 |
|
68 |
+
| 0.452 | 12.0 | 600 | 0.3245 | 0.3629 | 0.4971 | 0.4195 | 0.9040 |
|
69 |
+
| 0.452 | 13.0 | 650 | 0.3535 | 0.4022 | 0.4913 | 0.4423 | 0.9021 |
|
70 |
+
| 0.452 | 14.0 | 700 | 0.3313 | 0.4161 | 0.5588 | 0.4770 | 0.9023 |
|
71 |
+
| 0.452 | 15.0 | 750 | 0.3560 | 0.4210 | 0.5800 | 0.4878 | 0.9006 |
|
72 |
+
| 0.452 | 16.0 | 800 | 0.3980 | 0.4125 | 0.6224 | 0.4962 | 0.8905 |
|
73 |
+
| 0.452 | 17.0 | 850 | 0.3767 | 0.4820 | 0.6455 | 0.5519 | 0.9071 |
|
74 |
+
| 0.452 | 18.0 | 900 | 0.3947 | 0.4605 | 0.6513 | 0.5395 | 0.9034 |
|
75 |
+
| 0.452 | 19.0 | 950 | 0.4351 | 0.4395 | 0.5877 | 0.5029 | 0.9066 |
|
76 |
+
| 0.0844 | 20.0 | 1000 | 0.3581 | 0.4931 | 0.5530 | 0.5213 | 0.9097 |
|
77 |
+
| 0.0844 | 21.0 | 1050 | 0.4050 | 0.4892 | 0.6108 | 0.5433 | 0.9063 |
|
78 |
+
| 0.0844 | 22.0 | 1100 | 0.4893 | 0.5504 | 0.5472 | 0.5488 | 0.9076 |
|
79 |
+
| 0.0844 | 23.0 | 1150 | 0.4173 | 0.4722 | 0.6050 | 0.5304 | 0.9062 |
|
80 |
+
| 0.0844 | 24.0 | 1200 | 0.4307 | 0.4819 | 0.6146 | 0.5402 | 0.9075 |
|
81 |
+
| 0.0844 | 25.0 | 1250 | 0.3874 | 0.4977 | 0.6185 | 0.5515 | 0.9151 |
|
82 |
+
| 0.0844 | 26.0 | 1300 | 0.4591 | 0.5478 | 0.6513 | 0.5951 | 0.9130 |
|
83 |
+
| 0.0844 | 27.0 | 1350 | 0.3543 | 0.5308 | 0.5973 | 0.5621 | 0.9144 |
|
84 |
+
| 0.0844 | 28.0 | 1400 | 0.4676 | 0.5380 | 0.5453 | 0.5416 | 0.9187 |
|
85 |
+
| 0.0844 | 29.0 | 1450 | 0.4169 | 0.5365 | 0.6224 | 0.5763 | 0.9131 |
|
86 |
+
| 0.0401 | 30.0 | 1500 | 0.4394 | 0.5867 | 0.5607 | 0.5734 | 0.9114 |
|
87 |
+
| 0.0401 | 31.0 | 1550 | 0.4550 | 0.5446 | 0.6474 | 0.5915 | 0.9166 |
|
88 |
+
| 0.0401 | 32.0 | 1600 | 0.4592 | 0.5415 | 0.6166 | 0.5766 | 0.9125 |
|
89 |
+
| 0.0401 | 33.0 | 1650 | 0.5040 | 0.5218 | 0.6455 | 0.5771 | 0.9093 |
|
90 |
+
| 0.0401 | 34.0 | 1700 | 0.4609 | 0.4295 | 0.6686 | 0.5230 | 0.8989 |
|
91 |
+
| 0.0401 | 35.0 | 1750 | 0.6256 | 0.4833 | 0.6397 | 0.5506 | 0.8975 |
|
92 |
+
| 0.0401 | 36.0 | 1800 | 0.4697 | 0.5742 | 0.6185 | 0.5955 | 0.9088 |
|
93 |
+
| 0.0401 | 37.0 | 1850 | 0.5114 | 0.5645 | 0.6069 | 0.5850 | 0.9139 |
|
94 |
+
| 0.0401 | 38.0 | 1900 | 0.5884 | 0.6237 | 0.5780 | 0.6 | 0.9088 |
|
95 |
+
| 0.0401 | 39.0 | 1950 | 0.5022 | 0.5429 | 0.6455 | 0.5898 | 0.9135 |
|
96 |
+
| 0.0328 | 40.0 | 2000 | 0.4154 | 0.6315 | 0.6339 | 0.6327 | 0.9202 |
|
97 |
+
| 0.0328 | 41.0 | 2050 | 0.3940 | 0.5519 | 0.6146 | 0.5816 | 0.9145 |
|
98 |
+
| 0.0328 | 42.0 | 2100 | 0.3374 | 0.5477 | 0.6301 | 0.5860 | 0.9120 |
|
99 |
+
| 0.0328 | 43.0 | 2150 | 0.5907 | 0.5483 | 0.5029 | 0.5246 | 0.9041 |
|
100 |
+
| 0.0328 | 44.0 | 2200 | 0.4235 | 0.5606 | 0.6416 | 0.5984 | 0.9145 |
|
101 |
+
| 0.0328 | 45.0 | 2250 | 0.6646 | 0.0 | 0.0 | 0.0 | 0.7640 |
|
102 |
+
|
103 |
+
|
104 |
+
### Framework versions
|
105 |
+
|
106 |
+
- Transformers 4.38.2
|
107 |
+
- Pytorch 2.1.2
|
108 |
+
- Datasets 2.1.0
|
109 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "alexyalunin/RuBioRoBERTa",
|
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": 50265
|
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:72a1889df9474822d2831d8f8571b6ed3ba5b3065fb2c690d19e1be66c26d1a1
|
3 |
+
size 1417300884
|
runs/May07_01-03-13_4537e44771aa/events.out.tfevents.1715043794.4537e44771aa.34.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d4dbafbb407f21d036252f19157c4538f06a9f8662c277075003dd72f64026b
|
3 |
+
size 27211
|
runs/May07_01-03-13_4537e44771aa/events.out.tfevents.1715045903.4537e44771aa.34.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d381e338ec31f17f017f5060ea6b7d91df0e36ea7ebc37cee0f366831ca209a
|
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,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"c": ".cache",
|
47 |
+
"clean_up_tokenization_spaces": true,
|
48 |
+
"cls_token": "<s>",
|
49 |
+
"do_lower_case": false,
|
50 |
+
"eos_token": "</s>",
|
51 |
+
"errors": "replace",
|
52 |
+
"mask_token": "<mask>",
|
53 |
+
"model_max_length": 1000000000000000019884624838656,
|
54 |
+
"pad_token": "<pad>",
|
55 |
+
"sep_token": "</s>",
|
56 |
+
"tokenizer_class": "RobertaTokenizer",
|
57 |
+
"trim_offsets": true,
|
58 |
+
"unk_token": "<unk>"
|
59 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:153e79bd93f1480ea7327802ca9e0a3fd64855b4a11a65c78b03a3a26d2e4dd3
|
3 |
+
size 4920
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|