add model
Browse files- config.json +88 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./emo_roberta",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "admiration",
|
16 |
+
"1": "amusement",
|
17 |
+
"2": "anger",
|
18 |
+
"3": "annoyance",
|
19 |
+
"4": "approval",
|
20 |
+
"5": "caring",
|
21 |
+
"6": "confusion",
|
22 |
+
"7": "curiosity",
|
23 |
+
"8": "desire",
|
24 |
+
"9": "disappointment",
|
25 |
+
"10": "disapproval",
|
26 |
+
"11": "disgust",
|
27 |
+
"12": "embarrassment",
|
28 |
+
"13": "excitement",
|
29 |
+
"14": "fear",
|
30 |
+
"15": "gratitude",
|
31 |
+
"16": "grief",
|
32 |
+
"17": "joy",
|
33 |
+
"18": "love",
|
34 |
+
"19": "nervousness",
|
35 |
+
"20": "optimism",
|
36 |
+
"21": "pride",
|
37 |
+
"22": "realization",
|
38 |
+
"23": "relief",
|
39 |
+
"24": "remorse",
|
40 |
+
"25": "sadness",
|
41 |
+
"26": "surprise",
|
42 |
+
"27": "neutral"
|
43 |
+
},
|
44 |
+
"initializer_range": 0.02,
|
45 |
+
"intermediate_size": 3072,
|
46 |
+
"label2id": {
|
47 |
+
"admiration": 0,
|
48 |
+
"amusement": 1,
|
49 |
+
"anger": 2,
|
50 |
+
"annoyance": 3,
|
51 |
+
"approval": 4,
|
52 |
+
"caring": 5,
|
53 |
+
"confusion": 6,
|
54 |
+
"curiosity": 7,
|
55 |
+
"desire": 8,
|
56 |
+
"disappointment": 9,
|
57 |
+
"disapproval": 10,
|
58 |
+
"disgust": 11,
|
59 |
+
"embarrassment": 12,
|
60 |
+
"excitement": 13,
|
61 |
+
"fear": 14,
|
62 |
+
"gratitude": 15,
|
63 |
+
"grief": 16,
|
64 |
+
"joy": 17,
|
65 |
+
"love": 18,
|
66 |
+
"nervousness": 19,
|
67 |
+
"neutral": 27,
|
68 |
+
"optimism": 20,
|
69 |
+
"pride": 21,
|
70 |
+
"realization": 22,
|
71 |
+
"relief": 23,
|
72 |
+
"remorse": 24,
|
73 |
+
"sadness": 25,
|
74 |
+
"surprise": 26
|
75 |
+
},
|
76 |
+
"layer_norm_eps": 1e-05,
|
77 |
+
"max_position_embeddings": 514,
|
78 |
+
"model_type": "roberta",
|
79 |
+
"num_attention_heads": 12,
|
80 |
+
"num_hidden_layers": 12,
|
81 |
+
"pad_token_id": 1,
|
82 |
+
"position_embedding_type": "absolute",
|
83 |
+
"torch_dtype": "float32",
|
84 |
+
"transformers_version": "4.18.0",
|
85 |
+
"type_vocab_size": 1,
|
86 |
+
"use_cache": true,
|
87 |
+
"vocab_size": 50265
|
88 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d3cd8a450ccdacade558fde5dce0936cb2cb0d1867adeeb33c55fdbdaccd990
|
3 |
+
size 498737453
|