bodunok commited on
Commit
350270b
1 Parent(s): 6a91af1

bodunok/bert-finetuned-tags-rus

Browse files
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: DeepPavlov/rubert-base-cased
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: bert-finetuned-tags-rus
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # bert-finetuned-tags-rus
14
+
15
+ This model is a fine-tuned version of [DeepPavlov/rubert-base-cased](https://huggingface.co/DeepPavlov/rubert-base-cased) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.0065
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 2e-05
37
+ - train_batch_size: 128
38
+ - eval_batch_size: 128
39
+ - seed: 42
40
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
+ - lr_scheduler_type: linear
42
+ - num_epochs: 10
43
+
44
+ ### Training results
45
+
46
+ | Training Loss | Epoch | Step | Validation Loss |
47
+ |:-------------:|:-----:|:----:|:---------------:|
48
+ | No log | 1.0 | 92 | 0.0600 |
49
+ | No log | 2.0 | 184 | 0.0318 |
50
+ | No log | 3.0 | 276 | 0.0195 |
51
+ | No log | 4.0 | 368 | 0.0154 |
52
+ | No log | 5.0 | 460 | 0.0123 |
53
+ | 0.0598 | 6.0 | 552 | 0.0093 |
54
+ | 0.0598 | 7.0 | 644 | 0.0079 |
55
+ | 0.0598 | 8.0 | 736 | 0.0078 |
56
+ | 0.0598 | 9.0 | 828 | 0.0070 |
57
+ | 0.0598 | 10.0 | 920 | 0.0065 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.39.3
63
+ - Pytorch 2.0.1+cu118
64
+ - Datasets 2.18.0
65
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "DeepPavlov/rubert-base-cased",
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": 768,
12
+ "id2label": {
13
+ "0": "I-PER",
14
+ "1": "B-ORG",
15
+ "2": "O",
16
+ "3": "B-PER",
17
+ "4": "I-LOC",
18
+ "5": "I-ORG",
19
+ "6": "B-LOC",
20
+ "7": "<PAD>"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "B-LOC": 6,
26
+ "B-ORG": 1,
27
+ "B-PER": 3,
28
+ "I-LOC": 4,
29
+ "I-ORG": 5,
30
+ "I-PER": 0,
31
+ "O": 2
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "bert",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "output_past": true,
39
+ "pad_token_id": 0,
40
+ "pooler_fc_size": 768,
41
+ "pooler_num_attention_heads": 12,
42
+ "pooler_num_fc_layers": 3,
43
+ "pooler_size_per_head": 128,
44
+ "pooler_type": "first_token_transform",
45
+ "position_embedding_type": "absolute",
46
+ "problem_type": "multi_label_classification",
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.39.3",
49
+ "type_vocab_size": 2,
50
+ "use_cache": true,
51
+ "vocab_size": 119547
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc81fbc29a664e7927b4b2bfc6e8767eb46563bb6ab6a98f46c31f560ed22c35
3
+ size 709099360
runs/Apr18_04-17-51_l-214bfc42-59df-41e6-8d08-897075e7899d/events.out.tfevents.1713413872.l-214bfc42-59df-41e6-8d08-897075e7899d.14268.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5d5b7049530b61ce29a59061c3f65d131108eaf8b2d93e7715e9b092d683ec7
3
+ size 5159
runs/Apr18_04-18-08_l-214bfc42-59df-41e6-8d08-897075e7899d/events.out.tfevents.1713413895.l-214bfc42-59df-41e6-8d08-897075e7899d.14268.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f06d07993ffc4c1f303190708e2106e1f4db79c9c0debb899c111f128342a85
3
+ size 8426
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,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
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:ebe99ba91c8538f36d481ade5b61371414fa91a468a27535a9fecfb690fbb5d8
3
+ size 4539
vocab.txt ADDED
The diff for this file is too large to render. See raw diff