MatteoFasulo commited on
Commit
9bb22d2
·
verified ·
1 Parent(s): b623c2e

End of training

Browse files
Files changed (4) hide show
  1. README.md +71 -0
  2. config.json +37 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: xlm-roberta-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: xlm-roberta-base_42
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # xlm-roberta-base_42
20
+
21
+ This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3930
24
+ - F1-score: 0.8657
25
+ - Accuracy: 0.8657
26
+ - Precision: 0.8658
27
+ - Recall: 0.8659
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-06
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 16
49
+ - seed: 42
50
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 6
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | F1-score | Accuracy | Precision | Recall |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:---------:|:------:|
58
+ | No log | 1.0 | 379 | 0.4004 | 0.8284 | 0.8287 | 0.8299 | 0.8282 |
59
+ | 0.5426 | 2.0 | 758 | 0.3531 | 0.8502 | 0.8503 | 0.8508 | 0.8500 |
60
+ | 0.4202 | 3.0 | 1137 | 0.3569 | 0.8564 | 0.8565 | 0.8566 | 0.8563 |
61
+ | 0.3646 | 4.0 | 1516 | 0.3520 | 0.8688 | 0.8688 | 0.8689 | 0.8687 |
62
+ | 0.3646 | 5.0 | 1895 | 0.4078 | 0.8564 | 0.8565 | 0.8577 | 0.8569 |
63
+ | 0.3229 | 6.0 | 2274 | 0.3930 | 0.8657 | 0.8657 | 0.8658 | 0.8659 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.47.1
69
+ - Pytorch 2.5.1+cu124
70
+ - Datasets 3.2.0
71
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "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
+ "id2label": {
14
+ "0": "NEG",
15
+ "1": "POS"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "NEG": 0,
21
+ "POS": 1
22
+ },
23
+ "layer_norm_eps": 1e-05,
24
+ "max_position_embeddings": 514,
25
+ "model_type": "xlm-roberta",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "output_past": true,
29
+ "pad_token_id": 1,
30
+ "position_embedding_type": "absolute",
31
+ "problem_type": "single_label_classification",
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.47.1",
34
+ "type_vocab_size": 1,
35
+ "use_cache": true,
36
+ "vocab_size": 250002
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e730a1824cb3eaadaf37c69cd7e25a94efa34407b3e034846dfe6ef69756d929
3
+ size 1112205008
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45b7a83d9cb4b80eb8ac053dd09d3375d95c386bbdb548484f10cdb0ffd4fdaf
3
+ size 5304