Priyanka-Balivada commited on
Commit
4dd6cb4
·
verified ·
1 Parent(s): 95292ef

bert-russian

Browse files
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
  library_name: transformers
3
  license: apache-2.0
4
- base_model: Priyanka-Balivada/bert-3-epoch-sentiment
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 [Priyanka-Balivada/bert-3-epoch-sentiment](https://huggingface.co/Priyanka-Balivada/bert-3-epoch-sentiment) on the None dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 1.0910
24
- - Accuracy: 0.869
25
- - Precision: 0.8687
26
- - Recall: 0.869
27
- - Micro-avg-recall: 0.869
28
- - Micro-avg-precision: 0.869
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.1014 | 1.0 | 750 | 0.8994 | 0.845 | 0.8457 | 0.845 | 0.845 | 0.845 |
60
- | 0.1351 | 2.0 | 1500 | 1.0207 | 0.858 | 0.8629 | 0.858 | 0.858 | 0.858 |
61
- | 0.0001 | 3.0 | 2250 | 1.1304 | 0.8563 | 0.8566 | 0.8563 | 0.8563 | 0.8563 |
62
- | 0.0733 | 4.0 | 3000 | 1.0855 | 0.862 | 0.8624 | 0.862 | 0.862 | 0.862 |
63
- | 0.0005 | 5.0 | 3750 | 1.0910 | 0.869 | 0.8687 | 0.869 | 0.869 | 0.869 |
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": "Priyanka-Balivada/bert-3-epoch-sentiment",
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:29d2de9b23217763abe94c7f93a9041878b44e17d77fc84948104053fe6d070e
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
- "content": "[CLS]",
4
- "lstrip": false,
5
- "normalized": false,
6
- "rstrip": false,
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
  }