palmyz000 commited on
Commit
444be2c
1 Parent(s): edfd404

Add model and license

Browse files
Files changed (2) hide show
  1. README.md +8 -0
  2. 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
- "attention_probs_dropout_prob": 0.1,
3
- "bos_token_id": 0,
4
- "classifier_dropout": null,
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
- "num_attention_heads": 12,
15
- "num_hidden_layers": 12,
16
- "pad_token_id": 1,
17
- "position_embedding_type": "absolute",
18
- "transformers_version": "4.41.2",
19
- "type_vocab_size": 2,
20
- "use_cache": true,
21
- "vocab_size": 30522
 
 
 
 
 
 
 
 
 
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
  }