End of training
Browse files- .gitattributes +1 -0
- README.md +84 -0
- config.json +153 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +3 -0
- tokenizer_config.json +19 -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,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: xlm-roberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- massive
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: xlm-roberta-base-finetuned-massive
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Text Classification
|
16 |
+
type: text-classification
|
17 |
+
dataset:
|
18 |
+
name: massive
|
19 |
+
type: massive
|
20 |
+
config: ja-JP
|
21 |
+
split: validation
|
22 |
+
args: ja-JP
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.8327594687653713
|
27 |
+
- name: F1
|
28 |
+
type: f1
|
29 |
+
value: 0.8192120367052886
|
30 |
+
---
|
31 |
+
|
32 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
33 |
+
should probably proofread and complete it, then remove this comment. -->
|
34 |
+
|
35 |
+
# xlm-roberta-base-finetuned-massive
|
36 |
+
|
37 |
+
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the massive dataset.
|
38 |
+
It achieves the following results on the evaluation set:
|
39 |
+
- Loss: 0.7539
|
40 |
+
- Accuracy: 0.8328
|
41 |
+
- F1: 0.8192
|
42 |
+
|
43 |
+
## Model description
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Intended uses & limitations
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training and evaluation data
|
52 |
+
|
53 |
+
More information needed
|
54 |
+
|
55 |
+
## Training procedure
|
56 |
+
|
57 |
+
### Training hyperparameters
|
58 |
+
|
59 |
+
The following hyperparameters were used during training:
|
60 |
+
- learning_rate: 2e-05
|
61 |
+
- train_batch_size: 16
|
62 |
+
- eval_batch_size: 16
|
63 |
+
- seed: 42
|
64 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
65 |
+
- lr_scheduler_type: linear
|
66 |
+
- lr_scheduler_warmup_ratio: 0.06
|
67 |
+
- num_epochs: 3
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
72 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
73 |
+
| 2.9836 | 0.69 | 500 | 1.6188 | 0.6257 | 0.5524 |
|
74 |
+
| 1.4569 | 1.39 | 1000 | 1.0347 | 0.7575 | 0.7251 |
|
75 |
+
| 1.0211 | 2.08 | 1500 | 0.8186 | 0.8205 | 0.8024 |
|
76 |
+
| 0.7799 | 2.78 | 2000 | 0.7539 | 0.8328 | 0.8192 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.33.2
|
82 |
+
- Pytorch 2.0.1
|
83 |
+
- Datasets 2.14.5
|
84 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "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 |
+
"id2label": {
|
14 |
+
"0": "datetime_query",
|
15 |
+
"1": "iot_hue_lightchange",
|
16 |
+
"2": "transport_ticket",
|
17 |
+
"3": "takeaway_query",
|
18 |
+
"4": "qa_stock",
|
19 |
+
"5": "general_greet",
|
20 |
+
"6": "recommendation_events",
|
21 |
+
"7": "music_dislikeness",
|
22 |
+
"8": "iot_wemo_off",
|
23 |
+
"9": "cooking_recipe",
|
24 |
+
"10": "qa_currency",
|
25 |
+
"11": "transport_traffic",
|
26 |
+
"12": "general_quirky",
|
27 |
+
"13": "weather_query",
|
28 |
+
"14": "audio_volume_up",
|
29 |
+
"15": "email_addcontact",
|
30 |
+
"16": "takeaway_order",
|
31 |
+
"17": "email_querycontact",
|
32 |
+
"18": "iot_hue_lightup",
|
33 |
+
"19": "recommendation_locations",
|
34 |
+
"20": "play_audiobook",
|
35 |
+
"21": "lists_createoradd",
|
36 |
+
"22": "news_query",
|
37 |
+
"23": "alarm_query",
|
38 |
+
"24": "iot_wemo_on",
|
39 |
+
"25": "general_joke",
|
40 |
+
"26": "qa_definition",
|
41 |
+
"27": "social_query",
|
42 |
+
"28": "music_settings",
|
43 |
+
"29": "audio_volume_other",
|
44 |
+
"30": "calendar_remove",
|
45 |
+
"31": "iot_hue_lightdim",
|
46 |
+
"32": "calendar_query",
|
47 |
+
"33": "email_sendemail",
|
48 |
+
"34": "iot_cleaning",
|
49 |
+
"35": "audio_volume_down",
|
50 |
+
"36": "play_radio",
|
51 |
+
"37": "cooking_query",
|
52 |
+
"38": "datetime_convert",
|
53 |
+
"39": "qa_maths",
|
54 |
+
"40": "iot_hue_lightoff",
|
55 |
+
"41": "iot_hue_lighton",
|
56 |
+
"42": "transport_query",
|
57 |
+
"43": "music_likeness",
|
58 |
+
"44": "email_query",
|
59 |
+
"45": "play_music",
|
60 |
+
"46": "audio_volume_mute",
|
61 |
+
"47": "social_post",
|
62 |
+
"48": "alarm_set",
|
63 |
+
"49": "qa_factoid",
|
64 |
+
"50": "calendar_set",
|
65 |
+
"51": "play_game",
|
66 |
+
"52": "alarm_remove",
|
67 |
+
"53": "lists_remove",
|
68 |
+
"54": "transport_taxi",
|
69 |
+
"55": "recommendation_movies",
|
70 |
+
"56": "iot_coffee",
|
71 |
+
"57": "music_query",
|
72 |
+
"58": "play_podcasts",
|
73 |
+
"59": "lists_query"
|
74 |
+
},
|
75 |
+
"initializer_range": 0.02,
|
76 |
+
"intermediate_size": 3072,
|
77 |
+
"label2id": {
|
78 |
+
"alarm_query": 23,
|
79 |
+
"alarm_remove": 52,
|
80 |
+
"alarm_set": 48,
|
81 |
+
"audio_volume_down": 35,
|
82 |
+
"audio_volume_mute": 46,
|
83 |
+
"audio_volume_other": 29,
|
84 |
+
"audio_volume_up": 14,
|
85 |
+
"calendar_query": 32,
|
86 |
+
"calendar_remove": 30,
|
87 |
+
"calendar_set": 50,
|
88 |
+
"cooking_query": 37,
|
89 |
+
"cooking_recipe": 9,
|
90 |
+
"datetime_convert": 38,
|
91 |
+
"datetime_query": 0,
|
92 |
+
"email_addcontact": 15,
|
93 |
+
"email_query": 44,
|
94 |
+
"email_querycontact": 17,
|
95 |
+
"email_sendemail": 33,
|
96 |
+
"general_greet": 5,
|
97 |
+
"general_joke": 25,
|
98 |
+
"general_quirky": 12,
|
99 |
+
"iot_cleaning": 34,
|
100 |
+
"iot_coffee": 56,
|
101 |
+
"iot_hue_lightchange": 1,
|
102 |
+
"iot_hue_lightdim": 31,
|
103 |
+
"iot_hue_lightoff": 40,
|
104 |
+
"iot_hue_lighton": 41,
|
105 |
+
"iot_hue_lightup": 18,
|
106 |
+
"iot_wemo_off": 8,
|
107 |
+
"iot_wemo_on": 24,
|
108 |
+
"lists_createoradd": 21,
|
109 |
+
"lists_query": 59,
|
110 |
+
"lists_remove": 53,
|
111 |
+
"music_dislikeness": 7,
|
112 |
+
"music_likeness": 43,
|
113 |
+
"music_query": 57,
|
114 |
+
"music_settings": 28,
|
115 |
+
"news_query": 22,
|
116 |
+
"play_audiobook": 20,
|
117 |
+
"play_game": 51,
|
118 |
+
"play_music": 45,
|
119 |
+
"play_podcasts": 58,
|
120 |
+
"play_radio": 36,
|
121 |
+
"qa_currency": 10,
|
122 |
+
"qa_definition": 26,
|
123 |
+
"qa_factoid": 49,
|
124 |
+
"qa_maths": 39,
|
125 |
+
"qa_stock": 4,
|
126 |
+
"recommendation_events": 6,
|
127 |
+
"recommendation_locations": 19,
|
128 |
+
"recommendation_movies": 55,
|
129 |
+
"social_post": 47,
|
130 |
+
"social_query": 27,
|
131 |
+
"takeaway_order": 16,
|
132 |
+
"takeaway_query": 3,
|
133 |
+
"transport_query": 42,
|
134 |
+
"transport_taxi": 54,
|
135 |
+
"transport_ticket": 2,
|
136 |
+
"transport_traffic": 11,
|
137 |
+
"weather_query": 13
|
138 |
+
},
|
139 |
+
"layer_norm_eps": 1e-05,
|
140 |
+
"max_position_embeddings": 514,
|
141 |
+
"model_type": "xlm-roberta",
|
142 |
+
"num_attention_heads": 12,
|
143 |
+
"num_hidden_layers": 12,
|
144 |
+
"output_past": true,
|
145 |
+
"pad_token_id": 1,
|
146 |
+
"position_embedding_type": "absolute",
|
147 |
+
"problem_type": "single_label_classification",
|
148 |
+
"torch_dtype": "float32",
|
149 |
+
"transformers_version": "4.33.2",
|
150 |
+
"type_vocab_size": 1,
|
151 |
+
"use_cache": true,
|
152 |
+
"vocab_size": 250002
|
153 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:efbd6aa7df0dd20860717ac15f387bdc0792074565c3dcace55ffe04c10f33db
|
3 |
+
size 1112425265
|
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:62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626
|
3 |
+
size 17082660
|
tokenizer_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"cls_token": "<s>",
|
5 |
+
"eos_token": "</s>",
|
6 |
+
"mask_token": {
|
7 |
+
"__type": "AddedToken",
|
8 |
+
"content": "<mask>",
|
9 |
+
"lstrip": true,
|
10 |
+
"normalized": true,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false
|
13 |
+
},
|
14 |
+
"model_max_length": 256,
|
15 |
+
"pad_token": "<pad>",
|
16 |
+
"sep_token": "</s>",
|
17 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
18 |
+
"unk_token": "<unk>"
|
19 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55e603f6173090b5498f44ac768f33c93d8f991b5dbda7b4a0e7184aa1c936db
|
3 |
+
size 4027
|