disk0dancer
commited on
End of training
Browse files- README.md +69 -0
- config.json +147 -0
- model.safetensors +3 -0
- runs/Mar22_09-58-05_91f1920f28f1/events.out.tfevents.1711101486.91f1920f28f1.2737.0 +3 -0
- runs/Mar22_10-05-26_91f1920f28f1/events.out.tfevents.1711101928.91f1920f28f1.2737.1 +3 -0
- runs/Mar22_10-06-59_91f1920f28f1/events.out.tfevents.1711102020.91f1920f28f1.2737.2 +3 -0
- runs/Mar22_10-10-03_91f1920f28f1/events.out.tfevents.1711102204.91f1920f28f1.2737.3 +3 -0
- runs/Mar22_10-14-29_91f1920f28f1/events.out.tfevents.1711102470.91f1920f28f1.2737.4 +3 -0
- runs/Mar22_10-16-43_91f1920f28f1/events.out.tfevents.1711102604.91f1920f28f1.2737.5 +3 -0
- runs/Mar22_10-27-18_91f1920f28f1/events.out.tfevents.1711103239.91f1920f28f1.2737.6 +3 -0
- runs/Mar22_10-27-49_91f1920f28f1/events.out.tfevents.1711103271.91f1920f28f1.2737.7 +3 -0
- runs/Mar22_10-28-10_91f1920f28f1/events.out.tfevents.1711103291.91f1920f28f1.2737.8 +3 -0
- runs/Mar22_10-29-25_91f1920f28f1/events.out.tfevents.1711103368.91f1920f28f1.2737.9 +3 -0
- runs/Mar22_10-29-25_91f1920f28f1/events.out.tfevents.1711104948.91f1920f28f1.2737.10 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +60 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-finetuned-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 |
+
# ruBert-large-finetuned-pos
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [ai-forever/ruBert-large](https://huggingface.co/ai-forever/ruBert-large) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.1115
|
23 |
+
- Precision: 0.8617
|
24 |
+
- Recall: 0.8901
|
25 |
+
- F1: 0.8757
|
26 |
+
- Accuracy: 0.8922
|
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: 2e-05
|
46 |
+
- train_batch_size: 16
|
47 |
+
- eval_batch_size: 16
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 5
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
57 |
+
| No log | 1.0 | 249 | 0.1606 | 0.8280 | 0.8462 | 0.8370 | 0.8235 |
|
58 |
+
| No log | 2.0 | 498 | 0.1197 | 0.8817 | 0.9011 | 0.8913 | 0.8922 |
|
59 |
+
| 0.0726 | 3.0 | 747 | 0.1207 | 0.8617 | 0.8901 | 0.8757 | 0.8824 |
|
60 |
+
| 0.0726 | 4.0 | 996 | 0.1115 | 0.8617 | 0.8901 | 0.8757 | 0.8922 |
|
61 |
+
| 0.0016 | 5.0 | 1245 | 0.1136 | 0.8723 | 0.9011 | 0.8865 | 0.9020 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.39.0
|
67 |
+
- Pytorch 2.2.1+cu121
|
68 |
+
- Datasets 2.18.0
|
69 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "O",
|
14 |
+
"1": "Not",
|
15 |
+
"2": "Abbr",
|
16 |
+
"3": "Adj",
|
17 |
+
"4": "Adv",
|
18 |
+
"5": "Adv/action_des\u0441",
|
19 |
+
"6": "Adv/action_time",
|
20 |
+
"7": "Adv/measure",
|
21 |
+
"8": "Adv/place",
|
22 |
+
"9": "Adv/emph",
|
23 |
+
"10": "Advt",
|
24 |
+
"11": "Advt1",
|
25 |
+
"12": "Aux",
|
26 |
+
"13": "Bracket",
|
27 |
+
"14": "Colon",
|
28 |
+
"15": "Comma",
|
29 |
+
"16": "Conj.comp",
|
30 |
+
"17": "Coord",
|
31 |
+
"18": "Dash",
|
32 |
+
"19": "Dot",
|
33 |
+
"20": "Ellipsis",
|
34 |
+
"21": "Fw",
|
35 |
+
"22": "Interj.",
|
36 |
+
"23": "Interrog.word",
|
37 |
+
"24": "Introduct",
|
38 |
+
"25": "Mark/excl",
|
39 |
+
"26": "Mark/quest",
|
40 |
+
"27": "Measure",
|
41 |
+
"28": "N",
|
42 |
+
"29": "Num",
|
43 |
+
"30": "Num/ordinal",
|
44 |
+
"31": "Part/dem",
|
45 |
+
"32": "Part/excl",
|
46 |
+
"33": "Part/limit",
|
47 |
+
"34": "Part/imp",
|
48 |
+
"35": "Part/intens",
|
49 |
+
"36": "Part/neg",
|
50 |
+
"37": "Part/quest",
|
51 |
+
"38": "Part/soft",
|
52 |
+
"39": "Prep",
|
53 |
+
"40": "Pron",
|
54 |
+
"41": "Pron/attr",
|
55 |
+
"42": "Pron/dem",
|
56 |
+
"43": "Pron/neg",
|
57 |
+
"44": "Pron/pos",
|
58 |
+
"45": "Pron/rel",
|
59 |
+
"46": "Particip/adj",
|
60 |
+
"47": "Particip/v",
|
61 |
+
"48": "Punct",
|
62 |
+
"49": "Quote",
|
63 |
+
"50": "Semicolon",
|
64 |
+
"51": "State",
|
65 |
+
"52": "Sub",
|
66 |
+
"53": "Vf",
|
67 |
+
"54": "Vinf",
|
68 |
+
"55": "Vm"
|
69 |
+
},
|
70 |
+
"initializer_range": 0.02,
|
71 |
+
"intermediate_size": 4096,
|
72 |
+
"label2id": {
|
73 |
+
"Abbr": 2,
|
74 |
+
"Adj": 3,
|
75 |
+
"Adv": 4,
|
76 |
+
"Adv/action_des\u0441": 5,
|
77 |
+
"Adv/action_time": 6,
|
78 |
+
"Adv/emph": 9,
|
79 |
+
"Adv/measure": 7,
|
80 |
+
"Adv/place": 8,
|
81 |
+
"Advt": 10,
|
82 |
+
"Advt1": 11,
|
83 |
+
"Aux": 12,
|
84 |
+
"Bracket": 13,
|
85 |
+
"Colon": 14,
|
86 |
+
"Comma": 15,
|
87 |
+
"Conj.comp": 16,
|
88 |
+
"Coord": 17,
|
89 |
+
"Dash": 18,
|
90 |
+
"Dot": 19,
|
91 |
+
"Ellipsis": 20,
|
92 |
+
"Fw": 21,
|
93 |
+
"Interj.": 22,
|
94 |
+
"Interrog.word": 23,
|
95 |
+
"Introduct": 24,
|
96 |
+
"Mark/excl": 25,
|
97 |
+
"Mark/quest": 26,
|
98 |
+
"Measure": 27,
|
99 |
+
"N": 28,
|
100 |
+
"Not": 1,
|
101 |
+
"Num": 29,
|
102 |
+
"Num/ordinal": 30,
|
103 |
+
"O": 0,
|
104 |
+
"Part/dem": 31,
|
105 |
+
"Part/excl": 32,
|
106 |
+
"Part/imp": 34,
|
107 |
+
"Part/intens": 35,
|
108 |
+
"Part/limit": 33,
|
109 |
+
"Part/neg": 36,
|
110 |
+
"Part/quest": 37,
|
111 |
+
"Part/soft": 38,
|
112 |
+
"Particip/adj": 46,
|
113 |
+
"Particip/v": 47,
|
114 |
+
"Prep": 39,
|
115 |
+
"Pron": 40,
|
116 |
+
"Pron/attr": 41,
|
117 |
+
"Pron/dem": 42,
|
118 |
+
"Pron/neg": 43,
|
119 |
+
"Pron/pos": 44,
|
120 |
+
"Pron/rel": 45,
|
121 |
+
"Punct": 48,
|
122 |
+
"Quote": 49,
|
123 |
+
"Semicolon": 50,
|
124 |
+
"State": 51,
|
125 |
+
"Sub": 52,
|
126 |
+
"Vf": 53,
|
127 |
+
"Vinf": 54,
|
128 |
+
"Vm": 55
|
129 |
+
},
|
130 |
+
"layer_norm_eps": 1e-12,
|
131 |
+
"max_position_embeddings": 512,
|
132 |
+
"model_type": "bert",
|
133 |
+
"num_attention_heads": 16,
|
134 |
+
"num_hidden_layers": 24,
|
135 |
+
"pad_token_id": 0,
|
136 |
+
"pooler_fc_size": 768,
|
137 |
+
"pooler_num_attention_heads": 12,
|
138 |
+
"pooler_num_fc_layers": 3,
|
139 |
+
"pooler_size_per_head": 128,
|
140 |
+
"pooler_type": "first_token_transform",
|
141 |
+
"position_embedding_type": "absolute",
|
142 |
+
"torch_dtype": "float32",
|
143 |
+
"transformers_version": "4.39.0",
|
144 |
+
"type_vocab_size": 2,
|
145 |
+
"use_cache": true,
|
146 |
+
"vocab_size": 120138
|
147 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0069ba49c1ebe2cc1b2eab8fa6852cd5765e27bdc9e8035aaef8b169ec3ab06
|
3 |
+
size 1703712944
|
runs/Mar22_09-58-05_91f1920f28f1/events.out.tfevents.1711101486.91f1920f28f1.2737.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ace1c8043aa5222f016bcae8793ed8264aca0824bb7391fc77122a1f189ba14d
|
3 |
+
size 7492
|
runs/Mar22_10-05-26_91f1920f28f1/events.out.tfevents.1711101928.91f1920f28f1.2737.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2caa2c27ddfbfeb955a9b33d6af28327f5199a96d0945c1c603222ece94cd0f1
|
3 |
+
size 7492
|
runs/Mar22_10-06-59_91f1920f28f1/events.out.tfevents.1711102020.91f1920f28f1.2737.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8ca9bfa7fa95e80ed79a967384b7f0ea562088c6504fdbdd58b709bf5dd9fa7
|
3 |
+
size 7028
|
runs/Mar22_10-10-03_91f1920f28f1/events.out.tfevents.1711102204.91f1920f28f1.2737.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1eef35971228f09d3329ee4f1a0780fbf1696d0c02426cb0b81c9755abff1bce
|
3 |
+
size 7028
|
runs/Mar22_10-14-29_91f1920f28f1/events.out.tfevents.1711102470.91f1920f28f1.2737.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e3a7211af2c6b2d7b0798f3685a03b66eceedef519a1089051ab123f7c69b70
|
3 |
+
size 7028
|
runs/Mar22_10-16-43_91f1920f28f1/events.out.tfevents.1711102604.91f1920f28f1.2737.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a6d4c3b783558d969f574bedfd6142564c237d231a2bbf5c444b83e4b252416
|
3 |
+
size 7028
|
runs/Mar22_10-27-18_91f1920f28f1/events.out.tfevents.1711103239.91f1920f28f1.2737.6
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbce295dbae89eb42c4be6ff0f4b4fbdc1e2b030049cc504d41c65fbdfa077ab
|
3 |
+
size 7028
|
runs/Mar22_10-27-49_91f1920f28f1/events.out.tfevents.1711103271.91f1920f28f1.2737.7
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62e3375e7ad807f115875a0794db7eaa6bf741331677b87e1b9df2813d26ab5f
|
3 |
+
size 7028
|
runs/Mar22_10-28-10_91f1920f28f1/events.out.tfevents.1711103291.91f1920f28f1.2737.8
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7cd7b41372d40361fb42ba2c02a8bef36feb4a9b256288084836787784d48117
|
3 |
+
size 7028
|
runs/Mar22_10-29-25_91f1920f28f1/events.out.tfevents.1711103368.91f1920f28f1.2737.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6080e115b63820b0b88eabdf887eae3c6e4776d940cff92c23ea7f5543d73d5c
|
3 |
+
size 10164
|
runs/Mar22_10-29-25_91f1920f28f1/events.out.tfevents.1711104948.91f1920f28f1.2737.10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90eeec390b0b8b458cf7152ed177554e135d13e462c38693cebf7ab5ab4b0480
|
3 |
+
size 560
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"max_length": 100,
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"padding": true,
|
54 |
+
"sep_token": "[SEP]",
|
55 |
+
"strip_accents": null,
|
56 |
+
"tokenize_chinese_chars": true,
|
57 |
+
"tokenizer_class": "BertTokenizer",
|
58 |
+
"truncation": true,
|
59 |
+
"unk_token": "[UNK]"
|
60 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07c3766f54af02eeda73147e68b03bbb23055780932f4d58fc8736d9901f590a
|
3 |
+
size 4920
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|