RonTon05 commited on
Commit
cae3978
·
verified ·
1 Parent(s): 804baa8

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: FacebookAI/xlm-roberta-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: xlm-roberta-base-finetuned
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # xlm-roberta-base-finetuned
18
+
19
+ This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.2266
22
+ - Accuracy: 0.9541
23
+ - F1: 0.9542
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 32
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 2
47
+ - total_train_batch_size: 64
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 10
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
56
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:------:|
57
+ | No log | 0.2327 | 200 | 0.2630 | 0.8904 | 0.8872 |
58
+ | No log | 0.4654 | 400 | 0.2128 | 0.9117 | 0.9129 |
59
+ | No log | 0.6981 | 600 | 0.1844 | 0.9308 | 0.9311 |
60
+ | No log | 0.9308 | 800 | 0.1673 | 0.9346 | 0.9346 |
61
+ | No log | 1.1635 | 1000 | 0.1735 | 0.9346 | 0.9338 |
62
+ | No log | 1.3962 | 1200 | 0.1440 | 0.9433 | 0.9429 |
63
+ | No log | 1.6289 | 1400 | 0.1443 | 0.9467 | 0.9469 |
64
+ | No log | 1.8615 | 1600 | 0.1357 | 0.9504 | 0.9507 |
65
+ | 0.2197 | 2.0942 | 1800 | 0.1532 | 0.9469 | 0.9473 |
66
+ | 0.2197 | 2.3269 | 2000 | 0.1478 | 0.9496 | 0.9500 |
67
+ | 0.2197 | 2.5596 | 2200 | 0.1379 | 0.9501 | 0.9504 |
68
+ | 0.2197 | 2.7923 | 2400 | 0.1381 | 0.9511 | 0.9514 |
69
+ | 0.2197 | 3.0250 | 2600 | 0.1627 | 0.9493 | 0.9496 |
70
+ | 0.2197 | 3.2577 | 2800 | 0.1596 | 0.9546 | 0.9546 |
71
+ | 0.2197 | 3.4904 | 3000 | 0.1421 | 0.9526 | 0.9527 |
72
+ | 0.2197 | 3.7231 | 3200 | 0.1459 | 0.9539 | 0.9539 |
73
+ | 0.2197 | 3.9558 | 3400 | 0.1348 | 0.9495 | 0.9499 |
74
+ | 0.1176 | 4.1885 | 3600 | 0.1519 | 0.9501 | 0.9507 |
75
+ | 0.1176 | 4.4212 | 3800 | 0.1570 | 0.9525 | 0.9529 |
76
+ | 0.1176 | 4.6539 | 4000 | 0.1367 | 0.9511 | 0.9514 |
77
+ | 0.1176 | 4.8866 | 4200 | 0.1409 | 0.954 | 0.9541 |
78
+ | 0.1176 | 5.1193 | 4400 | 0.1690 | 0.9539 | 0.9541 |
79
+ | 0.1176 | 5.3519 | 4600 | 0.1757 | 0.9544 | 0.9545 |
80
+ | 0.1176 | 5.5846 | 4800 | 0.1508 | 0.9513 | 0.9518 |
81
+ | 0.1176 | 5.8173 | 5000 | 0.1537 | 0.9545 | 0.9546 |
82
+ | 0.0849 | 6.0500 | 5200 | 0.1814 | 0.954 | 0.9540 |
83
+ | 0.0849 | 6.2827 | 5400 | 0.1674 | 0.9543 | 0.9546 |
84
+ | 0.0849 | 6.5154 | 5600 | 0.1923 | 0.9538 | 0.9539 |
85
+ | 0.0849 | 6.7481 | 5800 | 0.1750 | 0.9543 | 0.9545 |
86
+ | 0.0849 | 6.9808 | 6000 | 0.1890 | 0.9527 | 0.9529 |
87
+ | 0.0849 | 7.2135 | 6200 | 0.1999 | 0.9547 | 0.9548 |
88
+ | 0.0849 | 7.4462 | 6400 | 0.1722 | 0.9547 | 0.9549 |
89
+ | 0.0849 | 7.6789 | 6600 | 0.1693 | 0.9524 | 0.9528 |
90
+ | 0.0849 | 7.9116 | 6800 | 0.1848 | 0.9548 | 0.9549 |
91
+ | 0.0614 | 8.1443 | 7000 | 0.2067 | 0.9554 | 0.9554 |
92
+ | 0.0614 | 8.3770 | 7200 | 0.2073 | 0.9544 | 0.9546 |
93
+ | 0.0614 | 8.6097 | 7400 | 0.1929 | 0.9547 | 0.9548 |
94
+ | 0.0614 | 8.8424 | 7600 | 0.2081 | 0.9544 | 0.9545 |
95
+ | 0.0614 | 9.0750 | 7800 | 0.2031 | 0.9541 | 0.9542 |
96
+ | 0.0614 | 9.3077 | 8000 | 0.2232 | 0.9549 | 0.9552 |
97
+ | 0.0614 | 9.5404 | 8200 | 0.2238 | 0.9544 | 0.9545 |
98
+ | 0.0614 | 9.7731 | 8400 | 0.2266 | 0.9541 | 0.9542 |
99
+
100
+
101
+ ### Framework versions
102
+
103
+ - Transformers 4.41.2
104
+ - Pytorch 2.3.0+cu121
105
+ - Datasets 2.19.1
106
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "FacebookAI/xlm-roberta-base",
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
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "problem_type": "single_label_classification",
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.41.2",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 250002
29
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bafc29e289cc0cee37d40154a12a765637a28d5ca550cbf455a57a2fc1555377
3
+ size 1112205008
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
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": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:883b037111086fd4dfebbbc9b7cee11e1517b5e0c0514879478661440f137085
3
+ size 17082987
tokenizer_config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
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": 512,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "tokenizer_class": "XLMRobertaTokenizer",
53
+ "unk_token": "<unk>"
54
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3df08d836c43b32f09ed99b729ec0e57f3b784b94ccf1ecddb8912137af8393
3
+ size 5048