Upload XLMRobertaForSequenceClassification
Browse files- config.json +55 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "emotion_model/xlm_multi_emo",
|
| 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": "anger",
|
| 15 |
+
"1": "anticipation",
|
| 16 |
+
"2": "disgust",
|
| 17 |
+
"3": "fear",
|
| 18 |
+
"4": "joy",
|
| 19 |
+
"5": "sadness",
|
| 20 |
+
"6": "surprise",
|
| 21 |
+
"7": "trust",
|
| 22 |
+
"8": "love",
|
| 23 |
+
"9": "optimism",
|
| 24 |
+
"10": "pessimism"
|
| 25 |
+
},
|
| 26 |
+
"initializer_range": 0.02,
|
| 27 |
+
"intermediate_size": 3072,
|
| 28 |
+
"label2id": {
|
| 29 |
+
"anger": 0,
|
| 30 |
+
"anticipation": 1,
|
| 31 |
+
"disgust": 2,
|
| 32 |
+
"fear": 3,
|
| 33 |
+
"joy": 4,
|
| 34 |
+
"love": 8,
|
| 35 |
+
"optimism": 9,
|
| 36 |
+
"pessimism": 10,
|
| 37 |
+
"sadness": 5,
|
| 38 |
+
"surprise": 6,
|
| 39 |
+
"trust": 7
|
| 40 |
+
},
|
| 41 |
+
"layer_norm_eps": 1e-05,
|
| 42 |
+
"max_position_embeddings": 514,
|
| 43 |
+
"model_type": "xlm-roberta",
|
| 44 |
+
"num_attention_heads": 12,
|
| 45 |
+
"num_hidden_layers": 12,
|
| 46 |
+
"output_past": true,
|
| 47 |
+
"pad_token_id": 1,
|
| 48 |
+
"position_embedding_type": "absolute",
|
| 49 |
+
"problem_type": "multi_label_classification",
|
| 50 |
+
"torch_dtype": "float32",
|
| 51 |
+
"transformers_version": "4.48.2",
|
| 52 |
+
"type_vocab_size": 1,
|
| 53 |
+
"use_cache": true,
|
| 54 |
+
"vocab_size": 250002
|
| 55 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93d4ecc9d600b930e92eb884ddc5591ec1c89ce379c6cf76c625c53c991da3fd
|
| 3 |
+
size 1112232692
|