FrinzTheCoder commited on
Commit
308cf13
·
verified ·
1 Parent(s): 3d841ff

FrinzTheCoder/xlm-roberta-base-amh

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-amh
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.1320
23
- - Accuracy: 0.8439
24
- - F1: 0.7725
 
 
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
- | 0.1515 | 1.0 | 888 | 0.1611 | 0.8439 | 0.7725 |
56
- | 0.1378 | 2.0 | 1776 | 0.1318 | 0.8439 | 0.7725 |
57
- | 0.133 | 3.0 | 2664 | 0.1378 | 0.8439 | 0.7725 |
58
- | 0.134 | 4.0 | 3552 | 0.1320 | 0.8439 | 0.7725 |
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-amh
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.1441
24
+ - Accuracy: 0.7585
25
+ - F1 Binary: 0.4666
26
+ - Precision: 0.4014
27
+ - Recall: 0.5569
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: 53
53
  - num_epochs: 4
54
 
55
  ### Training results
56
 
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Binary | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:---------:|:------:|
59
+ | 0.1629 | 1.0 | 533 | 0.1619 | 0.6829 | 0.4559 | 0.3379 | 0.7005 |
60
+ | 0.1525 | 2.0 | 1066 | 0.1641 | 0.4427 | 0.3290 | 0.2132 | 0.7203 |
61
+ | 0.1487 | 3.0 | 1599 | 0.1486 | 0.7272 | 0.4498 | 0.3643 | 0.5879 |
62
+ | 0.137 | 4.0 | 2132 | 0.1441 | 0.7585 | 0.4666 | 0.4014 | 0.5569 |
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:253ed2b0803236062ae91ad953b2e4d2a8fa2ee85518d417ae0ade4ac81ba8f7
3
- size 1112201932
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46407421dd6ca77ac739026c7631a84ced3f27c92a93f16f08affff16c59fb12
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:499a08f269325310e077d7e1e2b716147b503685ff73c31b1b80162dfce0097b
3
- size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a1c4c0e2b5dcf67c43deb92d3fb57f7798b4aa9cf6ff02812a808834fbc5ce0
3
+ size 5368