End of training
Browse files- .gitattributes +1 -0
- README.md +102 -0
- config.json +29 -0
- model.safetensors +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +3 -0
- tokenizer_config.json +54 -0
- training_args.bin +3 -0
.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,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: XMLRoberta_Dataset59KBoDuoi
|
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 |
+
# XMLRoberta_Dataset59KBoDuoi
|
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.4792
|
22 |
+
- Accuracy: 0.8964
|
23 |
+
- F1: 0.8969
|
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: 64
|
44 |
+
- eval_batch_size: 64
|
45 |
+
- seed: 42
|
46 |
+
- gradient_accumulation_steps: 2
|
47 |
+
- total_train_batch_size: 128
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- num_epochs: 20
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
55 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|:------:|
|
56 |
+
| No log | 0.5115 | 200 | 0.4025 | 0.8084 | 0.8111 |
|
57 |
+
| No log | 1.0230 | 400 | 0.3500 | 0.8424 | 0.8451 |
|
58 |
+
| No log | 1.5345 | 600 | 0.3312 | 0.8637 | 0.8612 |
|
59 |
+
| 0.4018 | 2.0460 | 800 | 0.3394 | 0.8580 | 0.8610 |
|
60 |
+
| 0.4018 | 2.5575 | 1000 | 0.2938 | 0.8747 | 0.8760 |
|
61 |
+
| 0.4018 | 3.0691 | 1200 | 0.2903 | 0.8829 | 0.8841 |
|
62 |
+
| 0.4018 | 3.5806 | 1400 | 0.2871 | 0.8854 | 0.8859 |
|
63 |
+
| 0.2576 | 4.0921 | 1600 | 0.2955 | 0.8864 | 0.8873 |
|
64 |
+
| 0.2576 | 4.6036 | 1800 | 0.2831 | 0.8887 | 0.8894 |
|
65 |
+
| 0.2576 | 5.1151 | 2000 | 0.2952 | 0.8885 | 0.8898 |
|
66 |
+
| 0.2576 | 5.6266 | 2200 | 0.2947 | 0.8872 | 0.8881 |
|
67 |
+
| 0.2036 | 6.1381 | 2400 | 0.3086 | 0.8887 | 0.8902 |
|
68 |
+
| 0.2036 | 6.6496 | 2600 | 0.2939 | 0.8924 | 0.8931 |
|
69 |
+
| 0.2036 | 7.1611 | 2800 | 0.3368 | 0.8879 | 0.8895 |
|
70 |
+
| 0.2036 | 7.6726 | 3000 | 0.3162 | 0.8924 | 0.8932 |
|
71 |
+
| 0.1616 | 8.1841 | 3200 | 0.3423 | 0.8909 | 0.8919 |
|
72 |
+
| 0.1616 | 8.6957 | 3400 | 0.3475 | 0.8940 | 0.8945 |
|
73 |
+
| 0.1616 | 9.2072 | 3600 | 0.3546 | 0.8914 | 0.8923 |
|
74 |
+
| 0.1616 | 9.7187 | 3800 | 0.3505 | 0.8941 | 0.8947 |
|
75 |
+
| 0.1291 | 10.2302 | 4000 | 0.3850 | 0.8934 | 0.8941 |
|
76 |
+
| 0.1291 | 10.7417 | 4200 | 0.3718 | 0.8957 | 0.8963 |
|
77 |
+
| 0.1291 | 11.2532 | 4400 | 0.3893 | 0.8916 | 0.8924 |
|
78 |
+
| 0.1291 | 11.7647 | 4600 | 0.3923 | 0.8949 | 0.8955 |
|
79 |
+
| 0.1047 | 12.2762 | 4800 | 0.4213 | 0.8959 | 0.8968 |
|
80 |
+
| 0.1047 | 12.7877 | 5000 | 0.3877 | 0.8951 | 0.8961 |
|
81 |
+
| 0.1047 | 13.2992 | 5200 | 0.3972 | 0.8990 | 0.8992 |
|
82 |
+
| 0.1047 | 13.8107 | 5400 | 0.3896 | 0.8928 | 0.8937 |
|
83 |
+
| 0.0865 | 14.3223 | 5600 | 0.4290 | 0.8961 | 0.8964 |
|
84 |
+
| 0.0865 | 14.8338 | 5800 | 0.4360 | 0.8977 | 0.8979 |
|
85 |
+
| 0.0865 | 15.3453 | 6000 | 0.4398 | 0.8958 | 0.8963 |
|
86 |
+
| 0.0865 | 15.8568 | 6200 | 0.4357 | 0.8951 | 0.8955 |
|
87 |
+
| 0.0726 | 16.3683 | 6400 | 0.4662 | 0.8952 | 0.8953 |
|
88 |
+
| 0.0726 | 16.8798 | 6600 | 0.4608 | 0.8945 | 0.8955 |
|
89 |
+
| 0.0726 | 17.3913 | 6800 | 0.4714 | 0.8952 | 0.8954 |
|
90 |
+
| 0.0726 | 17.9028 | 7000 | 0.4638 | 0.8967 | 0.8971 |
|
91 |
+
| 0.0612 | 18.4143 | 7200 | 0.4783 | 0.8969 | 0.8971 |
|
92 |
+
| 0.0612 | 18.9258 | 7400 | 0.4856 | 0.8962 | 0.8967 |
|
93 |
+
| 0.0612 | 19.4373 | 7600 | 0.4779 | 0.8958 | 0.8963 |
|
94 |
+
| 0.0612 | 19.9488 | 7800 | 0.4792 | 0.8964 | 0.8969 |
|
95 |
+
|
96 |
+
|
97 |
+
### Framework versions
|
98 |
+
|
99 |
+
- Transformers 4.41.2
|
100 |
+
- Pytorch 2.1.2
|
101 |
+
- Datasets 2.19.2
|
102 |
+
- 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:257f9895de92a8002f9c24b141fdd27ae59e2da2b84973ed2c9551268d038c0b
|
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:1742a608da1249ee2a11741fd2fdb9bc0c4ec18330f7ec4e863ba7cc6e4185ac
|
3 |
+
size 17082986
|
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:8ed465a09c095c743a37b4f465f0cc99f5560849cb6ea6b32b0ca1b7f17801cd
|
3 |
+
size 5048
|