jjglilleberg
commited on
Commit
•
14acb93
1
Parent(s):
b624756
Training completed!
Browse files- README.md +12 -14
- config.json +1 -1
- model.safetensors +3 -0
- sentencepiece.bpe.model +3 -0
- tokenizer.json +2 -2
- tokenizer_config.json +44 -10
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
metrics:
|
@@ -16,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
|
18 |
It achieves the following results on the evaluation set:
|
19 |
-
- Loss: 0.
|
20 |
-
- F1: 0.
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -37,28 +38,25 @@ More information needed
|
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
- learning_rate: 5e-05
|
40 |
-
- train_batch_size:
|
41 |
-
- eval_batch_size:
|
42 |
- seed: 42
|
43 |
-
- gradient_accumulation_steps: 4
|
44 |
-
- total_train_batch_size: 16
|
45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
- lr_scheduler_type: linear
|
47 |
- num_epochs: 3
|
48 |
-
- mixed_precision_training: Native AMP
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
54 |
-
|
|
55 |
-
|
|
56 |
-
|
|
57 |
|
58 |
|
59 |
### Framework versions
|
60 |
|
61 |
-
- Transformers 4.
|
62 |
-
- Pytorch
|
63 |
-
- Datasets 2.
|
64 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
base_model: xlm-roberta-base
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
|
|
17 |
|
18 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1758
|
21 |
+
- F1: 0.8558
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 24
|
42 |
+
- eval_batch_size: 24
|
43 |
- seed: 42
|
|
|
|
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
- num_epochs: 3
|
|
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
52 |
+
| 0.299 | 1.0 | 835 | 0.2074 | 0.8078 |
|
53 |
+
| 0.1587 | 2.0 | 1670 | 0.1705 | 0.8461 |
|
54 |
+
| 0.1012 | 3.0 | 2505 | 0.1758 | 0.8558 |
|
55 |
|
56 |
|
57 |
### Framework versions
|
58 |
|
59 |
+
- Transformers 4.38.2
|
60 |
+
- Pytorch 2.2.1+cu121
|
61 |
+
- Datasets 2.18.0
|
62 |
+
- Tokenizers 0.15.2
|
config.json
CHANGED
@@ -40,7 +40,7 @@
|
|
40 |
"pad_token_id": 1,
|
41 |
"position_embedding_type": "absolute",
|
42 |
"torch_dtype": "float32",
|
43 |
-
"transformers_version": "4.
|
44 |
"type_vocab_size": 1,
|
45 |
"use_cache": true,
|
46 |
"vocab_size": 250002
|
|
|
40 |
"pad_token_id": 1,
|
41 |
"position_embedding_type": "absolute",
|
42 |
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.38.2",
|
44 |
"type_vocab_size": 1,
|
45 |
"use_cache": true,
|
46 |
"vocab_size": 250002
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b85f84cda32feb06821d204c12ff2c9dcd5bb4dfdbdb0f0ca45585e6e3b5e2fa
|
3 |
+
size 1109860880
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|
tokenizer.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a4661b2cb6b8a1007906509fe18cbfbc03062a086102bf7b80cfedb80f16c37
|
3 |
+
size 17082854
|
tokenizer_config.json
CHANGED
@@ -1,20 +1,54 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token": "<s>",
|
|
|
3 |
"cls_token": "<s>",
|
4 |
"eos_token": "</s>",
|
5 |
-
"mask_token":
|
6 |
-
"__type": "AddedToken",
|
7 |
-
"content": "<mask>",
|
8 |
-
"lstrip": true,
|
9 |
-
"normalized": true,
|
10 |
-
"rstrip": false,
|
11 |
-
"single_word": false
|
12 |
-
},
|
13 |
"model_max_length": 512,
|
14 |
-
"name_or_path": "xlm-roberta-base",
|
15 |
"pad_token": "<pad>",
|
16 |
"sep_token": "</s>",
|
17 |
-
"special_tokens_map_file": null,
|
18 |
"tokenizer_class": "XLMRobertaTokenizer",
|
19 |
"unk_token": "<unk>"
|
20 |
}
|
|
|
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
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:edbbfa0507913f4f4280dcc1f8c41be5fd6d1472c9738080e74a6fbefa521b10
|
3 |
+
size 4984
|