beneor commited on
Commit
61c1d3a
1 Parent(s): b1b190d

Model save

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: DeepPavlov/xlm-roberta-large-en-ru-mnli
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: output
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # output
16
+
17
+ This model is a fine-tuned version of [DeepPavlov/xlm-roberta-large-en-ru-mnli](https://huggingface.co/DeepPavlov/xlm-roberta-large-en-ru-mnli) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.3006
20
+ - Accuracy: 0.9677
21
+ - F1-score: 0.9674
22
+ - Mcc: 0.9558
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 1e-05
42
+ - train_batch_size: 4
43
+ - eval_batch_size: 4
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: cosine
47
+ - lr_scheduler_warmup_ratio: 0.1
48
+ - num_epochs: 10
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1-score | Mcc |
53
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:--------:|:------:|
54
+ | 0.3994 | 1.0 | 1894 | 0.3931 | 0.8814 | 0.8622 | 0.8397 |
55
+ | 0.2659 | 2.0 | 3788 | 0.2872 | 0.9590 | 0.9560 | 0.9440 |
56
+ | 0.2262 | 3.0 | 5682 | 0.2528 | 0.9600 | 0.9566 | 0.9453 |
57
+ | 0.1514 | 4.0 | 7576 | 0.2465 | 0.9569 | 0.9567 | 0.9413 |
58
+ | 0.1319 | 5.0 | 9470 | 0.2808 | 0.9621 | 0.9617 | 0.9482 |
59
+ | 0.0649 | 6.0 | 11364 | 0.2656 | 0.9661 | 0.9656 | 0.9536 |
60
+ | 0.0513 | 7.0 | 13258 | 0.2716 | 0.9664 | 0.9662 | 0.9541 |
61
+ | 0.0159 | 8.0 | 15152 | 0.2948 | 0.9667 | 0.9665 | 0.9545 |
62
+ | 0.0121 | 9.0 | 17046 | 0.2972 | 0.9664 | 0.9662 | 0.9541 |
63
+ | 0.009 | 10.0 | 18940 | 0.3006 | 0.9677 | 0.9674 | 0.9558 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.35.2
69
+ - Pytorch 2.1.0+cu121
70
+ - Datasets 2.15.0
71
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "DeepPavlov/xlm-roberta-large-en-ru-mnli",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2",
18
+ "3": "LABEL_3",
19
+ "4": "LABEL_4",
20
+ "5": "LABEL_5",
21
+ "6": "LABEL_6",
22
+ "7": "LABEL_7",
23
+ "8": "LABEL_8",
24
+ "9": "LABEL_9",
25
+ "10": "LABEL_10"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 4096,
29
+ "label2id": {
30
+ "LABEL_0": 0,
31
+ "LABEL_1": 1,
32
+ "LABEL_10": 10,
33
+ "LABEL_2": 2,
34
+ "LABEL_3": 3,
35
+ "LABEL_4": 4,
36
+ "LABEL_5": 5,
37
+ "LABEL_6": 6,
38
+ "LABEL_7": 7,
39
+ "LABEL_8": 8,
40
+ "LABEL_9": 9
41
+ },
42
+ "layer_norm_eps": 1e-05,
43
+ "max_position_embeddings": 514,
44
+ "model_type": "xlm-roberta",
45
+ "num_attention_heads": 16,
46
+ "num_hidden_layers": 24,
47
+ "output_past": true,
48
+ "pad_token_id": 1,
49
+ "position_embedding_type": "absolute",
50
+ "problem_type": "single_label_classification",
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.35.2",
53
+ "type_vocab_size": 1,
54
+ "use_cache": true,
55
+ "vocab_size": 35054
56
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4990a35b4c27cb32a45aad01a352f42bca9a08e3b563ed2f4199671355b42a98
3
+ size 1359228020
runs/Dec17_19-52-36_12f0ce24703b/events.out.tfevents.1702842813.12f0ce24703b.264.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29957a90e8e7f84867108cb498a1499f7166684c071ad8c176dd580b09677e6d
3
+ size 5357
runs/Dec17_20-12-04_12f0ce24703b/events.out.tfevents.1702843928.12f0ce24703b.264.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7c47a0a74dd251245f666da768643afab04bc7d2517b35fdf4846282c3962c0
3
+ size 88
runs/Dec17_20-12-20_12f0ce24703b/events.out.tfevents.1702843947.12f0ce24703b.264.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84d3f895b3a308c34310d9516c830d39ffdf493d8a3a2204c06fd4f11dd2dc8f
3
+ size 88
runs/Dec17_20-17-22_2774340f9fb3/events.out.tfevents.1702844253.2774340f9fb3.157.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54bf1bee74959ed668ca54e9e9e50023a44a5a44ba1b258f369c902b239376f9
3
+ size 4888
runs/Dec17_20-17-57_2774340f9fb3/events.out.tfevents.1702844282.2774340f9fb3.157.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c155810f10b9ec3cba10c32edea42db3947903c68279822236a18af8e8296841
3
+ size 4886
runs/Dec17_20-18-16_2774340f9fb3/events.out.tfevents.1702844301.2774340f9fb3.157.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b11f460683e40d680d8900251633635d82f4a5cdea1166cce728526684bdc5f
3
+ size 5200
runs/Dec17_20-24-25_2774340f9fb3/events.out.tfevents.1702844670.2774340f9fb3.157.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dad31c1f0837afd5f52ee24d753b6ddec363dddd85b8276c90511fce7c186454
3
+ size 15355
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "35053": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "mask_token": "<mask>",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "sp_model_kwargs": {},
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c0226ecdbd03af1c4b3332b6e30a18de66dbb7d1ab9390a5e73763c9c433eef
3
+ size 4664