palmyz000
commited on
Commit
•
444be2c
1
Parent(s):
edfd404
Add model and license
Browse files- README.md +8 -0
- config.json +20 -19
README.md
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-classification
|
4 |
+
---
|
5 |
+
|
6 |
+
# โมเดล XLM-RoBERTa สำหรับการจัดประเภทข้อความ
|
7 |
+
|
8 |
+
โมเดลนี้ถูกออกแบบมาเพื่อทำการจัดประเภทข้อความโดยใช้ XLM-RoBERTa
|
config.json
CHANGED
@@ -1,22 +1,23 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
"eos_token_id": 2,
|
6 |
-
"hidden_act": "gelu",
|
7 |
-
"hidden_dropout_prob": 0.1,
|
8 |
-
"hidden_size": 768,
|
9 |
-
"initializer_range": 0.02,
|
10 |
-
"intermediate_size": 3072,
|
11 |
-
"layer_norm_eps": 1e-12,
|
12 |
-
"max_position_embeddings": 512,
|
13 |
"model_type": "xlm-roberta",
|
14 |
-
"
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
}
|
|
|
1 |
{
|
2 |
+
"architectures": [
|
3 |
+
"XLMRobertaForSequenceClassification"
|
4 |
+
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"model_type": "xlm-roberta",
|
6 |
+
"task_specific_params": {
|
7 |
+
"text-classification": {
|
8 |
+
"label2id": {
|
9 |
+
"LABEL_0": 0,
|
10 |
+
"LABEL_1": 1,
|
11 |
+
"LABEL_2": 2,
|
12 |
+
"LABEL_3": 3
|
13 |
+
},
|
14 |
+
"id2label": {
|
15 |
+
"0": "LABEL_0",
|
16 |
+
"1": "LABEL_1",
|
17 |
+
"2": "LABEL_2",
|
18 |
+
"3": "LABEL_3"
|
19 |
+
}
|
20 |
+
}
|
21 |
+
},
|
22 |
+
"num_labels": 4
|
23 |
}
|