FrinzTheCoder commited on
Commit
bd7b128
·
verified ·
1 Parent(s): dfc611b

FrinzTheCoder/xlm-roberta-base-esp

Browse files
Files changed (6) hide show
  1. README.md +21 -17
  2. config.json +1 -8
  3. model.safetensors +2 -2
  4. tokenizer.json +2 -2
  5. tokenizer_config.json +2 -1
  6. training_args.bin +2 -2
README.md CHANGED
@@ -6,7 +6,8 @@ tags:
6
  - generated_from_trainer
7
  metrics:
8
  - accuracy
9
- - f1
 
10
  model-index:
11
  - name: xlm-roberta-base-esp
12
  results: []
@@ -19,9 +20,11 @@ should probably proofread and complete it, then remove this comment. -->
19
 
20
  This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 0.1709
23
- - Accuracy: 0.7821
24
- - F1: 0.6865
 
 
25
 
26
  ## Model description
27
 
@@ -40,27 +43,28 @@ More information needed
40
  ### Training hyperparameters
41
 
42
  The following hyperparameters were used during training:
43
- - learning_rate: 0.0003
44
- - train_batch_size: 16
45
  - eval_batch_size: 8
46
  - seed: 42
47
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
  - lr_scheduler_type: linear
 
49
  - num_epochs: 4
50
 
51
  ### Training results
52
 
53
- | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
- |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
- | No log | 1.0 | 499 | 0.2516 | 0.7821 | 0.6865 |
56
- | 0.2018 | 2.0 | 998 | 0.1724 | 0.7821 | 0.6865 |
57
- | 0.1828 | 3.0 | 1497 | 0.1733 | 0.7821 | 0.6865 |
58
- | 0.178 | 4.0 | 1996 | 0.1709 | 0.7821 | 0.6865 |
59
 
60
 
61
  ### Framework versions
62
 
63
- - Transformers 4.44.2
64
- - Pytorch 2.4.1+cu121
65
- - Datasets 3.2.0
66
- - Tokenizers 0.19.1
 
6
  - generated_from_trainer
7
  metrics:
8
  - accuracy
9
+ - precision
10
+ - recall
11
  model-index:
12
  - name: xlm-roberta-base-esp
13
  results: []
 
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.1720
24
+ - Accuracy: 0.6667
25
+ - F1 Binary: 0.2556
26
+ - Precision: 0.2701
27
+ - Recall: 0.2425
28
 
29
  ## Model description
30
 
 
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
+ - learning_rate: 3e-05
47
+ - train_batch_size: 32
48
  - eval_batch_size: 8
49
  - seed: 42
50
+ - optimizer: Use 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
+ - lr_scheduler_warmup_steps: 29
53
  - num_epochs: 4
54
 
55
  ### Training results
56
 
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Binary | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:---------:|:------:|
59
+ | No log | 1.0 | 299 | 0.1726 | 0.7641 | 0.0 | 0.0 | 0.0 |
60
+ | 0.175 | 2.0 | 598 | 0.1726 | 0.7641 | 0.0 | 0.0 | 0.0 |
61
+ | 0.175 | 3.0 | 897 | 0.1726 | 0.7641 | 0.0 | 0.0 | 0.0 |
62
+ | 0.1745 | 4.0 | 1196 | 0.1720 | 0.6667 | 0.2556 | 0.2701 | 0.2425 |
63
 
64
 
65
  ### Framework versions
66
 
67
+ - Transformers 4.48.0
68
+ - Pytorch 2.5.1+cu124
69
+ - Datasets 3.1.0
70
+ - Tokenizers 0.21.0
config.json CHANGED
@@ -10,14 +10,8 @@
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
- "id2label": {
14
- "0": "LABEL_0"
15
- },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
- "label2id": {
19
- "LABEL_0": 0
20
- },
21
  "layer_norm_eps": 1e-05,
22
  "max_position_embeddings": 514,
23
  "model_type": "xlm-roberta",
@@ -26,9 +20,8 @@
26
  "output_past": true,
27
  "pad_token_id": 1,
28
  "position_embedding_type": "absolute",
29
- "problem_type": "regression",
30
  "torch_dtype": "float32",
31
- "transformers_version": "4.44.2",
32
  "type_vocab_size": 1,
33
  "use_cache": true,
34
  "vocab_size": 250002
 
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",
 
20
  "output_past": true,
21
  "pad_token_id": 1,
22
  "position_embedding_type": "absolute",
 
23
  "torch_dtype": "float32",
24
+ "transformers_version": "4.48.0",
25
  "type_vocab_size": 1,
26
  "use_cache": true,
27
  "vocab_size": 250002
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd0de943a47805c0a9fbc061aa912ebf8d290a4298b0b450203e839c2af1a1fb
3
- size 1112201932
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49ecef36c552efd080424ee0ee9fcebe37dae545857bfb9621c8d86eef70daa9
3
+ size 1112205008
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3ffb37461c391f096759f4a9bbbc329da0f36952f88bab061fcf84940c022e98
3
- size 17082999
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:883b037111086fd4dfebbbc9b7cee11e1517b5e0c0514879478661440f137085
3
+ size 17082987
tokenizer_config.json CHANGED
@@ -42,9 +42,10 @@
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>",
 
42
  }
43
  },
44
  "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": false,
46
  "cls_token": "<s>",
47
  "eos_token": "</s>",
48
+ "extra_special_tokens": {},
49
  "mask_token": "<mask>",
50
  "model_max_length": 512,
51
  "pad_token": "<pad>",
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b7af00344fd04e7169948cdcb7269cf3de2d091800dd550dbf92b85784ac1637
3
- size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d49c9a44753b4919dd346e332f0a89acf0cb6c3fecb77673026d13ce027bff4
3
+ size 5368