DimasikKurd
commited on
Commit
•
9346a11
1
Parent(s):
2a09a14
Training complete
Browse files- README.md +99 -0
- config.json +38 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/May07_17-00-10_ba967785c347/events.out.tfevents.1715101211.ba967785c347.34.0 +3 -0
- runs/May07_17-00-10_ba967785c347/events.out.tfevents.1715102906.ba967785c347.34.1 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: ai-forever/ruRoberta-large
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- f1
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: ruRoberta-large_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 |
+
# ruRoberta-large_pos
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [ai-forever/ruRoberta-large](https://huggingface.co/ai-forever/ruRoberta-large) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.5140
|
23 |
+
- Precision: 0.5566
|
24 |
+
- Recall: 0.5871
|
25 |
+
- F1: 0.5714
|
26 |
+
- Accuracy: 0.8981
|
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.6582 | 0.0 | 0.0 | 0.0 | 0.7628 |
|
58 |
+
| No log | 2.0 | 100 | 0.5705 | 0.0118 | 0.0173 | 0.0140 | 0.7783 |
|
59 |
+
| No log | 3.0 | 150 | 0.4784 | 0.0277 | 0.0501 | 0.0356 | 0.8028 |
|
60 |
+
| No log | 4.0 | 200 | 0.4043 | 0.0784 | 0.1329 | 0.0986 | 0.8323 |
|
61 |
+
| No log | 5.0 | 250 | 0.3553 | 0.1545 | 0.2697 | 0.1965 | 0.8523 |
|
62 |
+
| No log | 6.0 | 300 | 0.4051 | 0.2312 | 0.2601 | 0.2448 | 0.8692 |
|
63 |
+
| No log | 7.0 | 350 | 0.3351 | 0.3456 | 0.3796 | 0.3618 | 0.8901 |
|
64 |
+
| No log | 8.0 | 400 | 0.2774 | 0.3344 | 0.3911 | 0.3606 | 0.8974 |
|
65 |
+
| No log | 9.0 | 450 | 0.3010 | 0.3819 | 0.5048 | 0.4349 | 0.9022 |
|
66 |
+
| 0.3753 | 10.0 | 500 | 0.2892 | 0.4114 | 0.4875 | 0.4462 | 0.9051 |
|
67 |
+
| 0.3753 | 11.0 | 550 | 0.2773 | 0.3707 | 0.5222 | 0.4336 | 0.9076 |
|
68 |
+
| 0.3753 | 12.0 | 600 | 0.3447 | 0.4706 | 0.5549 | 0.5093 | 0.9076 |
|
69 |
+
| 0.3753 | 13.0 | 650 | 0.3312 | 0.4317 | 0.5356 | 0.4781 | 0.9073 |
|
70 |
+
| 0.3753 | 14.0 | 700 | 0.2870 | 0.4818 | 0.6378 | 0.5489 | 0.9132 |
|
71 |
+
| 0.3753 | 15.0 | 750 | 0.3944 | 0.4443 | 0.5992 | 0.5103 | 0.9024 |
|
72 |
+
| 0.3753 | 16.0 | 800 | 0.3599 | 0.4319 | 0.6416 | 0.5163 | 0.9018 |
|
73 |
+
| 0.3753 | 17.0 | 850 | 0.3568 | 0.4560 | 0.6397 | 0.5325 | 0.9042 |
|
74 |
+
| 0.3753 | 18.0 | 900 | 0.4296 | 0.4674 | 0.5241 | 0.4941 | 0.9106 |
|
75 |
+
| 0.3753 | 19.0 | 950 | 0.3939 | 0.4617 | 0.5453 | 0.5 | 0.9137 |
|
76 |
+
| 0.0842 | 20.0 | 1000 | 0.3882 | 0.5109 | 0.5434 | 0.5266 | 0.9066 |
|
77 |
+
| 0.0842 | 21.0 | 1050 | 0.3870 | 0.5311 | 0.6243 | 0.5740 | 0.9075 |
|
78 |
+
| 0.0842 | 22.0 | 1100 | 0.4163 | 0.4252 | 0.6628 | 0.5181 | 0.8925 |
|
79 |
+
| 0.0842 | 23.0 | 1150 | 0.4097 | 0.4577 | 0.5010 | 0.4784 | 0.9004 |
|
80 |
+
| 0.0842 | 24.0 | 1200 | 0.3709 | 0.5482 | 0.6031 | 0.5743 | 0.9161 |
|
81 |
+
| 0.0842 | 25.0 | 1250 | 0.3366 | 0.5088 | 0.6647 | 0.5764 | 0.9141 |
|
82 |
+
| 0.0842 | 26.0 | 1300 | 0.4558 | 0.6132 | 0.6108 | 0.6120 | 0.9171 |
|
83 |
+
| 0.0842 | 27.0 | 1350 | 0.4982 | 0.5720 | 0.5896 | 0.5806 | 0.9102 |
|
84 |
+
| 0.0842 | 28.0 | 1400 | 0.3998 | 0.5615 | 0.6513 | 0.6030 | 0.9178 |
|
85 |
+
| 0.0842 | 29.0 | 1450 | 0.5028 | 0.5620 | 0.6551 | 0.6050 | 0.9108 |
|
86 |
+
| 0.0476 | 30.0 | 1500 | 0.3672 | 0.5739 | 0.6435 | 0.6067 | 0.9117 |
|
87 |
+
| 0.0476 | 31.0 | 1550 | 0.4520 | 0.5330 | 0.6532 | 0.5870 | 0.9084 |
|
88 |
+
| 0.0476 | 32.0 | 1600 | 0.5027 | 0.5628 | 0.6127 | 0.5867 | 0.9101 |
|
89 |
+
| 0.0476 | 33.0 | 1650 | 0.4461 | 0.4581 | 0.6108 | 0.5235 | 0.9087 |
|
90 |
+
| 0.0476 | 34.0 | 1700 | 0.4407 | 0.4726 | 0.5992 | 0.5285 | 0.9070 |
|
91 |
+
| 0.0476 | 35.0 | 1750 | 0.4512 | 0.5211 | 0.5241 | 0.5226 | 0.9082 |
|
92 |
+
|
93 |
+
|
94 |
+
### Framework versions
|
95 |
+
|
96 |
+
- Transformers 4.38.2
|
97 |
+
- Pytorch 2.1.2
|
98 |
+
- Datasets 2.1.0
|
99 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ai-forever/ruRoberta-large",
|
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:bf11ea54d12d14ccabfb128028982782fa3fbc89121f662b8cbb9e6868d59b99
|
3 |
+
size 1417300884
|
runs/May07_17-00-10_ba967785c347/events.out.tfevents.1715101211.ba967785c347.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aed1bd69688a11e5aa5cbd6cb56389a65b193520b9e4a7fcb7730af7a59e6dd3
|
3 |
+
size 22263
|
runs/May07_17-00-10_ba967785c347/events.out.tfevents.1715102906.ba967785c347.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7643beb862c2b5524f0fc91359149c481402c63bce24f13415ac97a16e6375a1
|
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": false,
|
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": false,
|
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:22adfdf9f076fd7f953a83a054348c78f1c76468269b41d527dd7bbc1cf3e8e4
|
3 |
+
size 4920
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|