albertmartinez
commited on
Model save
Browse files- README.md +19 -17
- all_results.json +9 -9
- config.json +1 -1
- eval_results.json +5 -5
- model.safetensors +1 -1
- tokenizer.json +2 -2
- tokenizer_config.json +2 -1
- train_results.json +4 -4
- trainer_state.json +66 -66
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
---
|
|
|
2 |
license: mit
|
3 |
base_model: FacebookAI/xlm-roberta-large
|
4 |
tags:
|
@@ -17,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
This model is a fine-tuned version of [FacebookAI/xlm-roberta-large](https://huggingface.co/FacebookAI/xlm-roberta-large) on an unknown dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
-
|
21 |
-
-
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -37,29 +38,30 @@ More information needed
|
|
37 |
### Training hyperparameters
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
-
- learning_rate:
|
41 |
-
- train_batch_size:
|
42 |
-
- eval_batch_size:
|
43 |
- seed: 42
|
44 |
-
- optimizer:
|
45 |
- lr_scheduler_type: linear
|
46 |
- lr_scheduler_warmup_steps: 600
|
47 |
- num_epochs: 5.0
|
|
|
48 |
|
49 |
### Training results
|
50 |
|
51 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
-
|
53 |
-
| 1.
|
54 |
-
| 0.
|
55 |
-
| 0.
|
56 |
-
| 0.
|
57 |
-
| 0.
|
58 |
|
59 |
|
60 |
### Framework versions
|
61 |
|
62 |
-
- Transformers 4.
|
63 |
-
- Pytorch 2.
|
64 |
-
- Datasets 2.
|
65 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
+
library_name: transformers
|
3 |
license: mit
|
4 |
base_model: FacebookAI/xlm-roberta-large
|
5 |
tags:
|
|
|
18 |
|
19 |
This model is a fine-tuned version of [FacebookAI/xlm-roberta-large](https://huggingface.co/FacebookAI/xlm-roberta-large) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- F1: 0.8154
|
22 |
+
- Loss: 0.6651
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
38 |
### Training hyperparameters
|
39 |
|
40 |
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 1e-05
|
42 |
+
- train_batch_size: 64
|
43 |
+
- eval_batch_size: 64
|
44 |
- seed: 42
|
45 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
46 |
- lr_scheduler_type: linear
|
47 |
- lr_scheduler_warmup_steps: 600
|
48 |
- num_epochs: 5.0
|
49 |
+
- mixed_precision_training: Native AMP
|
50 |
|
51 |
### Training results
|
52 |
|
53 |
+
| Training Loss | Epoch | Step | F1 | Validation Loss |
|
54 |
+
|:-------------:|:-----:|:----:|:------:|:---------------:|
|
55 |
+
| 1.7444 | 1.0 | 538 | 0.7686 | 0.8148 |
|
56 |
+
| 0.7749 | 2.0 | 1076 | 0.8000 | 0.7104 |
|
57 |
+
| 0.6165 | 3.0 | 1614 | 0.8114 | 0.6536 |
|
58 |
+
| 0.5044 | 4.0 | 2152 | 0.8140 | 0.6571 |
|
59 |
+
| 0.4217 | 5.0 | 2690 | 0.8154 | 0.6651 |
|
60 |
|
61 |
|
62 |
### Framework versions
|
63 |
|
64 |
+
- Transformers 4.49.0.dev0
|
65 |
+
- Pytorch 2.1.2.post304
|
66 |
+
- Datasets 3.2.0
|
67 |
+
- Tokenizers 0.21.0
|
all_results.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
{
|
2 |
"epoch": 5.0,
|
3 |
-
"eval_f1": 0.
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime":
|
6 |
"eval_samples": 8605,
|
7 |
-
"eval_samples_per_second":
|
8 |
-
"eval_steps_per_second":
|
9 |
"total_flos": 1.603929743474688e+17,
|
10 |
-
"train_loss": 0.
|
11 |
-
"train_runtime":
|
12 |
"train_samples": 34420,
|
13 |
-
"train_samples_per_second":
|
14 |
-
"train_steps_per_second":
|
15 |
}
|
|
|
1 |
{
|
2 |
"epoch": 5.0,
|
3 |
+
"eval_f1": 0.8113637968918935,
|
4 |
+
"eval_loss": 0.6536160707473755,
|
5 |
+
"eval_runtime": 21.9128,
|
6 |
"eval_samples": 8605,
|
7 |
+
"eval_samples_per_second": 392.692,
|
8 |
+
"eval_steps_per_second": 6.161,
|
9 |
"total_flos": 1.603929743474688e+17,
|
10 |
+
"train_loss": 0.7819821552716223,
|
11 |
+
"train_runtime": 1776.2036,
|
12 |
"train_samples": 34420,
|
13 |
+
"train_samples_per_second": 96.892,
|
14 |
+
"train_steps_per_second": 1.514
|
15 |
}
|
config.json
CHANGED
@@ -59,7 +59,7 @@
|
|
59 |
"position_embedding_type": "absolute",
|
60 |
"problem_type": "single_label_classification",
|
61 |
"torch_dtype": "float32",
|
62 |
-
"transformers_version": "4.
|
63 |
"type_vocab_size": 1,
|
64 |
"use_cache": true,
|
65 |
"vocab_size": 250002
|
|
|
59 |
"position_embedding_type": "absolute",
|
60 |
"problem_type": "single_label_classification",
|
61 |
"torch_dtype": "float32",
|
62 |
+
"transformers_version": "4.49.0.dev0",
|
63 |
"type_vocab_size": 1,
|
64 |
"use_cache": true,
|
65 |
"vocab_size": 250002
|
eval_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"epoch": 5.0,
|
3 |
-
"eval_f1": 0.
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime":
|
6 |
"eval_samples": 8605,
|
7 |
-
"eval_samples_per_second":
|
8 |
-
"eval_steps_per_second":
|
9 |
}
|
|
|
1 |
{
|
2 |
"epoch": 5.0,
|
3 |
+
"eval_f1": 0.8113637968918935,
|
4 |
+
"eval_loss": 0.6536160707473755,
|
5 |
+
"eval_runtime": 21.9128,
|
6 |
"eval_samples": 8605,
|
7 |
+
"eval_samples_per_second": 392.692,
|
8 |
+
"eval_steps_per_second": 6.161
|
9 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2239676072
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5cb6f50bd2fb5332a437a955993eaf0bec472eb9b113867fb1081317267532a
|
3 |
size 2239676072
|
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:3a56def25aa40facc030ea8b0b87f3688e4b3c39eb8b45d5702b3a1300fe2a20
|
3 |
+
size 17082734
|
tokenizer_config.json
CHANGED
@@ -42,9 +42,10 @@
|
|
42 |
}
|
43 |
},
|
44 |
"bos_token": "<s>",
|
45 |
-
"clean_up_tokenization_spaces":
|
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>",
|
train_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"epoch": 5.0,
|
3 |
"total_flos": 1.603929743474688e+17,
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 34420,
|
7 |
-
"train_samples_per_second":
|
8 |
-
"train_steps_per_second":
|
9 |
}
|
|
|
1 |
{
|
2 |
"epoch": 5.0,
|
3 |
"total_flos": 1.603929743474688e+17,
|
4 |
+
"train_loss": 0.7819821552716223,
|
5 |
+
"train_runtime": 1776.2036,
|
6 |
"train_samples": 34420,
|
7 |
+
"train_samples_per_second": 96.892,
|
8 |
+
"train_steps_per_second": 1.514
|
9 |
}
|
trainer_state.json
CHANGED
@@ -1,105 +1,105 @@
|
|
1 |
{
|
2 |
-
"best_metric":
|
3 |
-
"best_model_checkpoint":
|
4 |
"epoch": 5.0,
|
5 |
-
"eval_steps": 500
|
6 |
-
"global_step":
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
-
"epoch":
|
13 |
-
"grad_norm":
|
14 |
-
"learning_rate":
|
15 |
-
"loss": 1.
|
16 |
-
"step":
|
17 |
},
|
18 |
{
|
19 |
"epoch": 1.0,
|
20 |
-
"eval_f1": 0.
|
21 |
-
"eval_loss": 0.
|
22 |
-
"eval_runtime":
|
23 |
-
"eval_samples_per_second":
|
24 |
-
"eval_steps_per_second":
|
25 |
-
"step":
|
26 |
},
|
27 |
{
|
28 |
-
"epoch":
|
29 |
-
"grad_norm":
|
30 |
-
"learning_rate":
|
31 |
-
"loss": 0.
|
32 |
-
"step":
|
33 |
},
|
34 |
{
|
35 |
"epoch": 2.0,
|
36 |
-
"eval_f1": 0.
|
37 |
-
"eval_loss": 0.
|
38 |
-
"eval_runtime":
|
39 |
-
"eval_samples_per_second":
|
40 |
-
"eval_steps_per_second":
|
41 |
-
"step":
|
42 |
},
|
43 |
{
|
44 |
-
"epoch":
|
45 |
-
"grad_norm":
|
46 |
-
"learning_rate":
|
47 |
-
"loss": 0.
|
48 |
-
"step":
|
49 |
},
|
50 |
{
|
51 |
"epoch": 3.0,
|
52 |
-
"eval_f1": 0.
|
53 |
-
"eval_loss": 0.
|
54 |
-
"eval_runtime":
|
55 |
-
"eval_samples_per_second":
|
56 |
-
"eval_steps_per_second":
|
57 |
-
"step":
|
58 |
},
|
59 |
{
|
60 |
-
"epoch":
|
61 |
-
"grad_norm":
|
62 |
-
"learning_rate":
|
63 |
-
"loss": 0.
|
64 |
-
"step":
|
65 |
},
|
66 |
{
|
67 |
"epoch": 4.0,
|
68 |
-
"eval_f1": 0.
|
69 |
-
"eval_loss": 0.
|
70 |
-
"eval_runtime":
|
71 |
-
"eval_samples_per_second":
|
72 |
-
"eval_steps_per_second":
|
73 |
-
"step":
|
74 |
},
|
75 |
{
|
76 |
-
"epoch":
|
77 |
-
"grad_norm":
|
78 |
-
"learning_rate":
|
79 |
-
"loss": 0.
|
80 |
-
"step":
|
81 |
},
|
82 |
{
|
83 |
"epoch": 5.0,
|
84 |
-
"eval_f1": 0.
|
85 |
-
"eval_loss": 0.
|
86 |
-
"eval_runtime":
|
87 |
-
"eval_samples_per_second":
|
88 |
-
"eval_steps_per_second":
|
89 |
-
"step":
|
90 |
},
|
91 |
{
|
92 |
"epoch": 5.0,
|
93 |
-
"step":
|
94 |
"total_flos": 1.603929743474688e+17,
|
95 |
-
"train_loss": 0.
|
96 |
-
"train_runtime":
|
97 |
-
"train_samples_per_second":
|
98 |
-
"train_steps_per_second":
|
99 |
}
|
100 |
],
|
101 |
"logging_steps": 500,
|
102 |
-
"max_steps":
|
103 |
"num_input_tokens_seen": 0,
|
104 |
"num_train_epochs": 5,
|
105 |
"save_steps": 500,
|
@@ -116,7 +116,7 @@
|
|
116 |
}
|
117 |
},
|
118 |
"total_flos": 1.603929743474688e+17,
|
119 |
-
"train_batch_size":
|
120 |
"trial_name": null,
|
121 |
"trial_params": null
|
122 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.6536160707473755,
|
3 |
+
"best_model_checkpoint": "./SDG/checkpoint-1614",
|
4 |
"epoch": 5.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2690,
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
+
"epoch": 0.929368029739777,
|
13 |
+
"grad_norm": 26.18483543395996,
|
14 |
+
"learning_rate": 8.266666666666667e-06,
|
15 |
+
"loss": 1.7444,
|
16 |
+
"step": 500
|
17 |
},
|
18 |
{
|
19 |
"epoch": 1.0,
|
20 |
+
"eval_f1": 0.7685770625858339,
|
21 |
+
"eval_loss": 0.8148266077041626,
|
22 |
+
"eval_runtime": 22.0031,
|
23 |
+
"eval_samples_per_second": 391.081,
|
24 |
+
"eval_steps_per_second": 6.136,
|
25 |
+
"step": 538
|
26 |
},
|
27 |
{
|
28 |
+
"epoch": 1.858736059479554,
|
29 |
+
"grad_norm": 14.726641654968262,
|
30 |
+
"learning_rate": 8.105263157894736e-06,
|
31 |
+
"loss": 0.7749,
|
32 |
+
"step": 1000
|
33 |
},
|
34 |
{
|
35 |
"epoch": 2.0,
|
36 |
+
"eval_f1": 0.7999964392111495,
|
37 |
+
"eval_loss": 0.7103919982910156,
|
38 |
+
"eval_runtime": 22.0431,
|
39 |
+
"eval_samples_per_second": 390.371,
|
40 |
+
"eval_steps_per_second": 6.124,
|
41 |
+
"step": 1076
|
42 |
},
|
43 |
{
|
44 |
+
"epoch": 2.7881040892193307,
|
45 |
+
"grad_norm": 18.681787490844727,
|
46 |
+
"learning_rate": 5.717703349282297e-06,
|
47 |
+
"loss": 0.6165,
|
48 |
+
"step": 1500
|
49 |
},
|
50 |
{
|
51 |
"epoch": 3.0,
|
52 |
+
"eval_f1": 0.8113637968918935,
|
53 |
+
"eval_loss": 0.6536160707473755,
|
54 |
+
"eval_runtime": 22.0131,
|
55 |
+
"eval_samples_per_second": 390.904,
|
56 |
+
"eval_steps_per_second": 6.133,
|
57 |
+
"step": 1614
|
58 |
},
|
59 |
{
|
60 |
+
"epoch": 3.717472118959108,
|
61 |
+
"grad_norm": 15.741679191589355,
|
62 |
+
"learning_rate": 3.3253588516746417e-06,
|
63 |
+
"loss": 0.5044,
|
64 |
+
"step": 2000
|
65 |
},
|
66 |
{
|
67 |
"epoch": 4.0,
|
68 |
+
"eval_f1": 0.8140234226099499,
|
69 |
+
"eval_loss": 0.6571179628372192,
|
70 |
+
"eval_runtime": 22.0192,
|
71 |
+
"eval_samples_per_second": 390.795,
|
72 |
+
"eval_steps_per_second": 6.131,
|
73 |
+
"step": 2152
|
74 |
},
|
75 |
{
|
76 |
+
"epoch": 4.646840148698884,
|
77 |
+
"grad_norm": 12.586956024169922,
|
78 |
+
"learning_rate": 9.330143540669858e-07,
|
79 |
+
"loss": 0.4217,
|
80 |
+
"step": 2500
|
81 |
},
|
82 |
{
|
83 |
"epoch": 5.0,
|
84 |
+
"eval_f1": 0.8154414212199751,
|
85 |
+
"eval_loss": 0.6651344299316406,
|
86 |
+
"eval_runtime": 21.8841,
|
87 |
+
"eval_samples_per_second": 393.209,
|
88 |
+
"eval_steps_per_second": 6.169,
|
89 |
+
"step": 2690
|
90 |
},
|
91 |
{
|
92 |
"epoch": 5.0,
|
93 |
+
"step": 2690,
|
94 |
"total_flos": 1.603929743474688e+17,
|
95 |
+
"train_loss": 0.7819821552716223,
|
96 |
+
"train_runtime": 1776.2036,
|
97 |
+
"train_samples_per_second": 96.892,
|
98 |
+
"train_steps_per_second": 1.514
|
99 |
}
|
100 |
],
|
101 |
"logging_steps": 500,
|
102 |
+
"max_steps": 2690,
|
103 |
"num_input_tokens_seen": 0,
|
104 |
"num_train_epochs": 5,
|
105 |
"save_steps": 500,
|
|
|
116 |
}
|
117 |
},
|
118 |
"total_flos": 1.603929743474688e+17,
|
119 |
+
"train_batch_size": 64,
|
120 |
"trial_name": null,
|
121 |
"trial_params": null
|
122 |
}
|
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:4199969cd5b4951b886fe0bcbeb67c79f95f400afb8f77bdfd4e0aa0554a1896
|
3 |
+
size 5368
|