DimasikKurd
commited on
Commit
•
fdc8ccf
1
Parent(s):
0ccc04c
Training complete
Browse files- README.md +106 -0
- config.json +38 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/May07_01-20-01_7d25fd5318e7/events.out.tfevents.1715044802.7d25fd5318e7.271.2 +3 -0
- runs/May07_01-20-01_7d25fd5318e7/events.out.tfevents.1715047956.7d25fd5318e7.271.3 +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,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_neg
|
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_neg
|
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.5876
|
23 |
+
- Precision: 0.584
|
24 |
+
- Recall: 0.6053
|
25 |
+
- F1: 0.5945
|
26 |
+
- Accuracy: 0.9040
|
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.6516 | 0.0 | 0.0 | 0.0 | 0.7729 |
|
58 |
+
| No log | 2.0 | 100 | 0.6625 | 0.0 | 0.0 | 0.0 | 0.7706 |
|
59 |
+
| No log | 3.0 | 150 | 0.5142 | 0.0081 | 0.0058 | 0.0068 | 0.7944 |
|
60 |
+
| No log | 4.0 | 200 | 0.4359 | 0.0788 | 0.1464 | 0.1024 | 0.8281 |
|
61 |
+
| No log | 5.0 | 250 | 0.3580 | 0.2362 | 0.3141 | 0.2696 | 0.8642 |
|
62 |
+
| No log | 6.0 | 300 | 0.3419 | 0.2819 | 0.3237 | 0.3013 | 0.8762 |
|
63 |
+
| No log | 7.0 | 350 | 0.3492 | 0.35 | 0.3642 | 0.3569 | 0.8841 |
|
64 |
+
| No log | 8.0 | 400 | 0.2633 | 0.3549 | 0.4432 | 0.3942 | 0.8982 |
|
65 |
+
| No log | 9.0 | 450 | 0.2819 | 0.3871 | 0.4624 | 0.4214 | 0.9001 |
|
66 |
+
| 0.4095 | 10.0 | 500 | 0.2522 | 0.5035 | 0.5491 | 0.5253 | 0.9119 |
|
67 |
+
| 0.4095 | 11.0 | 550 | 0.2831 | 0.4704 | 0.5511 | 0.5075 | 0.9077 |
|
68 |
+
| 0.4095 | 12.0 | 600 | 0.3013 | 0.5245 | 0.6185 | 0.5676 | 0.9105 |
|
69 |
+
| 0.4095 | 13.0 | 650 | 0.3070 | 0.4711 | 0.6127 | 0.5327 | 0.9048 |
|
70 |
+
| 0.4095 | 14.0 | 700 | 0.3398 | 0.4771 | 0.6416 | 0.5472 | 0.9039 |
|
71 |
+
| 0.4095 | 15.0 | 750 | 0.3275 | 0.4661 | 0.6224 | 0.5330 | 0.9114 |
|
72 |
+
| 0.4095 | 16.0 | 800 | 0.3730 | 0.5118 | 0.6281 | 0.5640 | 0.9141 |
|
73 |
+
| 0.4095 | 17.0 | 850 | 0.3847 | 0.5593 | 0.6358 | 0.5951 | 0.9160 |
|
74 |
+
| 0.4095 | 18.0 | 900 | 0.4070 | 0.5824 | 0.6262 | 0.6035 | 0.9182 |
|
75 |
+
| 0.4095 | 19.0 | 950 | 0.3583 | 0.5433 | 0.6281 | 0.5827 | 0.9161 |
|
76 |
+
| 0.0776 | 20.0 | 1000 | 0.3096 | 0.5152 | 0.5877 | 0.5491 | 0.9154 |
|
77 |
+
| 0.0776 | 21.0 | 1050 | 0.4015 | 0.5669 | 0.6204 | 0.5925 | 0.9224 |
|
78 |
+
| 0.0776 | 22.0 | 1100 | 0.5603 | 0.4251 | 0.6667 | 0.5191 | 0.8753 |
|
79 |
+
| 0.0776 | 23.0 | 1150 | 0.3353 | 0.6220 | 0.6089 | 0.6154 | 0.9230 |
|
80 |
+
| 0.0776 | 24.0 | 1200 | 0.3800 | 0.6133 | 0.6204 | 0.6169 | 0.9254 |
|
81 |
+
| 0.0776 | 25.0 | 1250 | 0.4451 | 0.5792 | 0.6127 | 0.5955 | 0.9153 |
|
82 |
+
| 0.0776 | 26.0 | 1300 | 0.4639 | 0.6060 | 0.6224 | 0.6141 | 0.9220 |
|
83 |
+
| 0.0776 | 27.0 | 1350 | 0.4141 | 0.5574 | 0.6647 | 0.6063 | 0.9194 |
|
84 |
+
| 0.0776 | 28.0 | 1400 | 0.4258 | 0.5675 | 0.6397 | 0.6014 | 0.9143 |
|
85 |
+
| 0.0776 | 29.0 | 1450 | 0.4131 | 0.5880 | 0.6435 | 0.6145 | 0.9193 |
|
86 |
+
| 0.0374 | 30.0 | 1500 | 0.4104 | 0.5823 | 0.6609 | 0.6191 | 0.9200 |
|
87 |
+
| 0.0374 | 31.0 | 1550 | 0.4047 | 0.6190 | 0.6667 | 0.6419 | 0.9213 |
|
88 |
+
| 0.0374 | 32.0 | 1600 | 0.4615 | 0.6233 | 0.6185 | 0.6209 | 0.9205 |
|
89 |
+
| 0.0374 | 33.0 | 1650 | 0.4597 | 0.6430 | 0.5934 | 0.6172 | 0.9169 |
|
90 |
+
| 0.0374 | 34.0 | 1700 | 0.3851 | 0.5043 | 0.6821 | 0.5799 | 0.9040 |
|
91 |
+
| 0.0374 | 35.0 | 1750 | 0.3989 | 0.6241 | 0.6590 | 0.6410 | 0.9206 |
|
92 |
+
| 0.0374 | 36.0 | 1800 | 0.4866 | 0.5710 | 0.6667 | 0.6151 | 0.9156 |
|
93 |
+
| 0.0374 | 37.0 | 1850 | 0.4198 | 0.6208 | 0.6339 | 0.6273 | 0.9241 |
|
94 |
+
| 0.0374 | 38.0 | 1900 | 0.4526 | 0.5615 | 0.6243 | 0.5912 | 0.9164 |
|
95 |
+
| 0.0374 | 39.0 | 1950 | 0.5038 | 0.6149 | 0.6031 | 0.6089 | 0.9187 |
|
96 |
+
| 0.0337 | 40.0 | 2000 | 0.3879 | 0.5684 | 0.6243 | 0.5950 | 0.9196 |
|
97 |
+
| 0.0337 | 41.0 | 2050 | 0.5178 | 0.5913 | 0.6301 | 0.6101 | 0.9170 |
|
98 |
+
| 0.0337 | 42.0 | 2100 | 0.4898 | 0.6558 | 0.5838 | 0.6177 | 0.9155 |
|
99 |
+
|
100 |
+
|
101 |
+
### Framework versions
|
102 |
+
|
103 |
+
- Transformers 4.40.1
|
104 |
+
- Pytorch 2.2.1+cu121
|
105 |
+
- Datasets 2.19.1
|
106 |
+
- Tokenizers 0.19.1
|
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.40.1",
|
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:73ab10762155c13d41515fc58ea9cc6c4538f9534b0cfe06c7c6709305fa92fa
|
3 |
+
size 1417300884
|
runs/May07_01-20-01_7d25fd5318e7/events.out.tfevents.1715044802.7d25fd5318e7.271.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b00337820814463ba6384614d8f0145e077ef31f960bd3da7b560d80aaea39b
|
3 |
+
size 25890
|
runs/May07_01-20-01_7d25fd5318e7/events.out.tfevents.1715047956.7d25fd5318e7.271.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:09c92caacdcad9989552d55fcc7e242c8a827129ada171894d79a5cce97b4f9e
|
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:1e3f75d8378dd7b093e93a9fe93809d61eefa2ba36b0c279319744dff03c08cf
|
3 |
+
size 4984
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|