DimasikKurd
commited on
Commit
•
4f3fb44
1
Parent(s):
389202c
Training complete
Browse files- README.md +115 -0
- config.json +42 -0
- model.safetensors +3 -0
- runs/May07_07-20-43_cc926814451a/events.out.tfevents.1715066445.cc926814451a.35.0 +3 -0
- runs/May07_07-20-43_cc926814451a/events.out.tfevents.1715068880.cc926814451a.35.1 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: ai-forever/sbert_large_nlu_ru
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- f1
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: sbert_large_nlu_ru_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 |
+
# sbert_large_nlu_ru_pos
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [ai-forever/sbert_large_nlu_ru](https://huggingface.co/ai-forever/sbert_large_nlu_ru) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.4870
|
23 |
+
- Precision: 0.5717
|
24 |
+
- Recall: 0.605
|
25 |
+
- F1: 0.5879
|
26 |
+
- Accuracy: 0.9001
|
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.09 | 50 | 0.6457 | 0.0 | 0.0 | 0.0 | 0.7571 |
|
58 |
+
| No log | 2.17 | 100 | 0.5343 | 0.0458 | 0.0463 | 0.0461 | 0.7998 |
|
59 |
+
| No log | 3.26 | 150 | 0.3732 | 0.1121 | 0.1486 | 0.1278 | 0.8512 |
|
60 |
+
| No log | 4.35 | 200 | 0.3237 | 0.2713 | 0.3436 | 0.3032 | 0.8778 |
|
61 |
+
| No log | 5.43 | 250 | 0.2921 | 0.3412 | 0.4189 | 0.3761 | 0.8935 |
|
62 |
+
| No log | 6.52 | 300 | 0.2778 | 0.4079 | 0.5386 | 0.4642 | 0.9011 |
|
63 |
+
| No log | 7.61 | 350 | 0.2989 | 0.4301 | 0.4807 | 0.4540 | 0.9012 |
|
64 |
+
| No log | 8.7 | 400 | 0.2617 | 0.4489 | 0.5676 | 0.5013 | 0.9083 |
|
65 |
+
| No log | 9.78 | 450 | 0.3645 | 0.4661 | 0.5174 | 0.4904 | 0.9050 |
|
66 |
+
| 0.3288 | 10.87 | 500 | 0.3305 | 0.5297 | 0.6023 | 0.5637 | 0.9126 |
|
67 |
+
| 0.3288 | 11.96 | 550 | 0.3256 | 0.5544 | 0.6004 | 0.5765 | 0.9093 |
|
68 |
+
| 0.3288 | 13.04 | 600 | 0.3275 | 0.4330 | 0.5927 | 0.5004 | 0.9093 |
|
69 |
+
| 0.3288 | 14.13 | 650 | 0.4194 | 0.5017 | 0.5618 | 0.5301 | 0.9123 |
|
70 |
+
| 0.3288 | 15.22 | 700 | 0.3667 | 0.5275 | 0.6100 | 0.5658 | 0.9138 |
|
71 |
+
| 0.3288 | 16.3 | 750 | 0.4694 | 0.5117 | 0.6351 | 0.5668 | 0.9087 |
|
72 |
+
| 0.3288 | 17.39 | 800 | 0.4007 | 0.5381 | 0.6139 | 0.5735 | 0.9098 |
|
73 |
+
| 0.3288 | 18.48 | 850 | 0.3834 | 0.5264 | 0.5965 | 0.5593 | 0.9103 |
|
74 |
+
| 0.3288 | 19.57 | 900 | 0.4039 | 0.5061 | 0.6371 | 0.5641 | 0.9078 |
|
75 |
+
| 0.3288 | 20.65 | 950 | 0.5111 | 0.5850 | 0.6042 | 0.5945 | 0.9107 |
|
76 |
+
| 0.0507 | 21.74 | 1000 | 0.5454 | 0.5699 | 0.5985 | 0.5838 | 0.9124 |
|
77 |
+
| 0.0507 | 22.83 | 1050 | 0.4575 | 0.5668 | 0.6139 | 0.5894 | 0.9148 |
|
78 |
+
| 0.0507 | 23.91 | 1100 | 0.3752 | 0.5281 | 0.6178 | 0.5694 | 0.9126 |
|
79 |
+
| 0.0507 | 25.0 | 1150 | 0.5141 | 0.6074 | 0.6332 | 0.6200 | 0.9159 |
|
80 |
+
| 0.0507 | 26.09 | 1200 | 0.4203 | 0.5464 | 0.6371 | 0.5882 | 0.9134 |
|
81 |
+
| 0.0507 | 27.17 | 1250 | 0.4810 | 0.5150 | 0.6313 | 0.5672 | 0.9115 |
|
82 |
+
| 0.0507 | 28.26 | 1300 | 0.4972 | 0.5560 | 0.5753 | 0.5655 | 0.9116 |
|
83 |
+
| 0.0507 | 29.35 | 1350 | 0.6118 | 0.5439 | 0.6216 | 0.5802 | 0.9127 |
|
84 |
+
| 0.0507 | 30.43 | 1400 | 0.5298 | 0.4354 | 0.6371 | 0.5172 | 0.8847 |
|
85 |
+
| 0.0507 | 31.52 | 1450 | 0.5129 | 0.5771 | 0.6216 | 0.5985 | 0.9132 |
|
86 |
+
| 0.0234 | 32.61 | 1500 | 0.5165 | 0.5395 | 0.6332 | 0.5826 | 0.9068 |
|
87 |
+
| 0.0234 | 33.7 | 1550 | 0.4776 | 0.5110 | 0.6255 | 0.5625 | 0.9095 |
|
88 |
+
| 0.0234 | 34.78 | 1600 | 0.3794 | 0.5156 | 0.6699 | 0.5827 | 0.9117 |
|
89 |
+
| 0.0234 | 35.87 | 1650 | 0.4895 | 0.6074 | 0.6332 | 0.6200 | 0.9165 |
|
90 |
+
| 0.0234 | 36.96 | 1700 | 0.5130 | 0.6317 | 0.6158 | 0.6237 | 0.9137 |
|
91 |
+
| 0.0234 | 38.04 | 1750 | 0.5138 | 0.6143 | 0.6120 | 0.6132 | 0.9103 |
|
92 |
+
| 0.0234 | 39.13 | 1800 | 0.5555 | 0.5579 | 0.6602 | 0.6048 | 0.9044 |
|
93 |
+
| 0.0234 | 40.22 | 1850 | 0.3895 | 0.5055 | 0.6197 | 0.5568 | 0.9107 |
|
94 |
+
| 0.0234 | 41.3 | 1900 | 0.4607 | 0.5936 | 0.6429 | 0.6172 | 0.9101 |
|
95 |
+
| 0.0234 | 42.39 | 1950 | 0.3913 | 0.5654 | 0.6429 | 0.6016 | 0.9091 |
|
96 |
+
| 0.0259 | 43.48 | 2000 | 0.3646 | 0.5797 | 0.6602 | 0.6173 | 0.9091 |
|
97 |
+
| 0.0259 | 44.57 | 2050 | 0.5094 | 0.6579 | 0.6274 | 0.6423 | 0.9191 |
|
98 |
+
| 0.0259 | 45.65 | 2100 | 0.4718 | 0.5996 | 0.6158 | 0.6076 | 0.9124 |
|
99 |
+
| 0.0259 | 46.74 | 2150 | 0.5557 | 0.5855 | 0.6409 | 0.6120 | 0.9056 |
|
100 |
+
| 0.0259 | 47.83 | 2200 | 0.5481 | 0.6018 | 0.6332 | 0.6171 | 0.9106 |
|
101 |
+
| 0.0259 | 48.91 | 2250 | 0.5198 | 0.5535 | 0.6486 | 0.5973 | 0.9104 |
|
102 |
+
| 0.0259 | 50.0 | 2300 | 0.4876 | 0.6282 | 0.6197 | 0.6239 | 0.9098 |
|
103 |
+
| 0.0259 | 51.09 | 2350 | 0.4904 | 0.5352 | 0.5135 | 0.5241 | 0.8984 |
|
104 |
+
| 0.0259 | 52.17 | 2400 | 0.4268 | 0.5639 | 0.6390 | 0.5991 | 0.9080 |
|
105 |
+
| 0.0259 | 53.26 | 2450 | 0.4759 | 0.5695 | 0.5772 | 0.5733 | 0.9057 |
|
106 |
+
| 0.0221 | 54.35 | 2500 | 0.5927 | 0.6129 | 0.5869 | 0.5996 | 0.9017 |
|
107 |
+
| 0.0221 | 55.43 | 2550 | 0.4404 | 0.4917 | 0.6274 | 0.5513 | 0.8964 |
|
108 |
+
|
109 |
+
|
110 |
+
### Framework versions
|
111 |
+
|
112 |
+
- Transformers 4.38.2
|
113 |
+
- Pytorch 2.1.2
|
114 |
+
- Datasets 2.1.0
|
115 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ai-forever/sbert_large_nlu_ru",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"id2label": {
|
14 |
+
"0": "O",
|
15 |
+
"1": "B-symp",
|
16 |
+
"2": "I-symp"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 4096,
|
20 |
+
"label2id": {
|
21 |
+
"0": "O",
|
22 |
+
"1": "B-symp",
|
23 |
+
"2": "I-symp"
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-12,
|
26 |
+
"max_position_embeddings": 512,
|
27 |
+
"model_type": "bert",
|
28 |
+
"num_attention_heads": 16,
|
29 |
+
"num_hidden_layers": 24,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"pooler_fc_size": 768,
|
32 |
+
"pooler_num_attention_heads": 12,
|
33 |
+
"pooler_num_fc_layers": 3,
|
34 |
+
"pooler_size_per_head": 128,
|
35 |
+
"pooler_type": "first_token_transform",
|
36 |
+
"position_embedding_type": "absolute",
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.38.2",
|
39 |
+
"type_vocab_size": 2,
|
40 |
+
"use_cache": true,
|
41 |
+
"vocab_size": 120138
|
42 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc8eac6b5c1d50794ffbefd3760ae4c7d87b1bba1032b6b57b6bac7d714d242c
|
3 |
+
size 1703495636
|
runs/May07_07-20-43_cc926814451a/events.out.tfevents.1715066445.cc926814451a.35.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c8ec29a203064a4b97ebba454f5497357a1350ee45fd5a32ca829a42d1bcdcc
|
3 |
+
size 30387
|
runs/May07_07-20-43_cc926814451a/events.out.tfevents.1715068880.cc926814451a.35.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4526d29026385766ce864a95dde4bbb3cea0a7d03e54b6f0ce82c1351f155d8b
|
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,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "[PAD]",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"100": {
|
13 |
+
"content": "[UNK]",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"101": {
|
21 |
+
"content": "[CLS]",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"102": {
|
29 |
+
"content": "[SEP]",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"103": {
|
37 |
+
"content": "[MASK]",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "[CLS]",
|
47 |
+
"do_basic_tokenize": true,
|
48 |
+
"do_lower_case": true,
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"strip_accents": null,
|
55 |
+
"tokenize_chinese_chars": true,
|
56 |
+
"tokenizer_class": "BertTokenizer",
|
57 |
+
"unk_token": "[UNK]"
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3059ffff252517bd3173806ccdc8aac0bf87d0b7938bb58a31538770afd2f7c4
|
3 |
+
size 4920
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|