Priyanka-Balivada
commited on
bert-russian
Browse files- README.md +13 -13
- config.json +1 -1
- model.safetensors +1 -1
- special_tokens_map.json +5 -35
- tokenizer_config.json +0 -4
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
-
base_model:
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
@@ -18,14 +18,14 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# russian-BERT
|
20 |
|
21 |
-
This model is a fine-tuned version of [
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
- Loss:
|
24 |
-
- Accuracy: 0.
|
25 |
-
- Precision: 0.
|
26 |
-
- Recall: 0.
|
27 |
-
- Micro-avg-recall: 0.
|
28 |
-
- Micro-avg-precision: 0.
|
29 |
|
30 |
## Model description
|
31 |
|
@@ -56,11 +56,11 @@ The following hyperparameters were used during training:
|
|
56 |
|
57 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | Micro-avg-recall | Micro-avg-precision |
|
58 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:----------------:|:-------------------:|
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
|
65 |
|
66 |
### Framework versions
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
license: apache-2.0
|
4 |
+
base_model: bert-base-uncased
|
5 |
tags:
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
|
|
18 |
|
19 |
# russian-BERT
|
20 |
|
21 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.8570
|
24 |
+
- Accuracy: 0.8753
|
25 |
+
- Precision: 0.8754
|
26 |
+
- Recall: 0.8753
|
27 |
+
- Micro-avg-recall: 0.8753
|
28 |
+
- Micro-avg-precision: 0.8753
|
29 |
|
30 |
## Model description
|
31 |
|
|
|
56 |
|
57 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | Micro-avg-recall | Micro-avg-precision |
|
58 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:----------------:|:-------------------:|
|
59 |
+
| 0.0736 | 1.0 | 750 | 0.6635 | 0.8743 | 0.8750 | 0.8743 | 0.8743 | 0.8743 |
|
60 |
+
| 0.1031 | 2.0 | 1500 | 0.7665 | 0.8753 | 0.8761 | 0.8753 | 0.8753 | 0.8753 |
|
61 |
+
| 0.0008 | 3.0 | 2250 | 0.7654 | 0.8813 | 0.8817 | 0.8813 | 0.8813 | 0.8813 |
|
62 |
+
| 0.0007 | 4.0 | 3000 | 0.8571 | 0.8737 | 0.8742 | 0.8737 | 0.8737 | 0.8737 |
|
63 |
+
| 0.079 | 5.0 | 3750 | 0.8570 | 0.8753 | 0.8754 | 0.8753 | 0.8753 | 0.8753 |
|
64 |
|
65 |
|
66 |
### Framework versions
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 437961724
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:411d98db74587ed4ec6e8071bfe5d73b8861c7ec84fc1f0747958f419ba4bcf2
|
3 |
size 437961724
|
special_tokens_map.json
CHANGED
@@ -1,37 +1,7 @@
|
|
1 |
{
|
2 |
-
"cls_token":
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"mask_token": {
|
10 |
-
"content": "[MASK]",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"pad_token": {
|
17 |
-
"content": "[PAD]",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": false,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
},
|
23 |
-
"sep_token": {
|
24 |
-
"content": "[SEP]",
|
25 |
-
"lstrip": false,
|
26 |
-
"normalized": false,
|
27 |
-
"rstrip": false,
|
28 |
-
"single_word": false
|
29 |
-
},
|
30 |
-
"unk_token": {
|
31 |
-
"content": "[UNK]",
|
32 |
-
"lstrip": false,
|
33 |
-
"normalized": false,
|
34 |
-
"rstrip": false,
|
35 |
-
"single_word": false
|
36 |
-
}
|
37 |
}
|
|
|
1 |
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
tokenizer_config.json
CHANGED
@@ -45,15 +45,11 @@
|
|
45 |
"cls_token": "[CLS]",
|
46 |
"do_lower_case": true,
|
47 |
"mask_token": "[MASK]",
|
48 |
-
"max_length": 512,
|
49 |
"model_max_length": 512,
|
50 |
"pad_token": "[PAD]",
|
51 |
"sep_token": "[SEP]",
|
52 |
-
"stride": 0,
|
53 |
"strip_accents": null,
|
54 |
"tokenize_chinese_chars": true,
|
55 |
"tokenizer_class": "BertTokenizer",
|
56 |
-
"truncation_side": "right",
|
57 |
-
"truncation_strategy": "longest_first",
|
58 |
"unk_token": "[UNK]"
|
59 |
}
|
|
|
45 |
"cls_token": "[CLS]",
|
46 |
"do_lower_case": true,
|
47 |
"mask_token": "[MASK]",
|
|
|
48 |
"model_max_length": 512,
|
49 |
"pad_token": "[PAD]",
|
50 |
"sep_token": "[SEP]",
|
|
|
51 |
"strip_accents": null,
|
52 |
"tokenize_chinese_chars": true,
|
53 |
"tokenizer_class": "BertTokenizer",
|
|
|
|
|
54 |
"unk_token": "[UNK]"
|
55 |
}
|