finiteautomata
commited on
Commit
•
ee39061
1
Parent(s):
7d61d41
Upload RobertaForSequenceClassification
Browse files- config.json +90 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "vinai/bertweet-base",
|
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": 130,
|
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 |
+
"problem_type": "multi_label_classification",
|
84 |
+
"tokenizer_class": "BertweetTokenizer",
|
85 |
+
"torch_dtype": "float32",
|
86 |
+
"transformers_version": "4.33.1",
|
87 |
+
"type_vocab_size": 1,
|
88 |
+
"use_cache": true,
|
89 |
+
"vocab_size": 64001
|
90 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6bbae31184a4227668a6e28d761b9ba8b24948c5691f2d47b77b05cf9b65827
|
3 |
+
size 539754929
|