MichaelOnly
commited on
Commit
•
0791ca8
1
Parent(s):
39ecfdc
Upload ElectraForSequenceClassification
Browse files- config.json +69 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bhadresh-savani/electra-base-emotion",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 768,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 256,
|
12 |
+
"id2label": {
|
13 |
+
"0": "Attack",
|
14 |
+
"1": "Complete quest",
|
15 |
+
"2": "Deliver",
|
16 |
+
"3": "Drival",
|
17 |
+
"4": "Exchange",
|
18 |
+
"5": "Farewell",
|
19 |
+
"6": "Follow",
|
20 |
+
"7": "General",
|
21 |
+
"8": "Greeting",
|
22 |
+
"9": "Join",
|
23 |
+
"10": "Joke",
|
24 |
+
"11": "Knowledge",
|
25 |
+
"12": "Move",
|
26 |
+
"13": "Protect",
|
27 |
+
"14": "Recieve quest",
|
28 |
+
"15": "Message",
|
29 |
+
"16": "Threat"
|
30 |
+
},
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 1024,
|
33 |
+
"label2id": {
|
34 |
+
"Attack": 0,
|
35 |
+
"Complete quest": 1,
|
36 |
+
"Deliver": 2,
|
37 |
+
"Drival": 3,
|
38 |
+
"Exchange": 4,
|
39 |
+
"Farewell": 5,
|
40 |
+
"Follow": 6,
|
41 |
+
"General": 7,
|
42 |
+
"Greeting": 8,
|
43 |
+
"Join": 9,
|
44 |
+
"Joke": 10,
|
45 |
+
"Knowledge": 11,
|
46 |
+
"Message": 15,
|
47 |
+
"Move": 12,
|
48 |
+
"Protect": 13,
|
49 |
+
"Recieve quest": 14,
|
50 |
+
"Threat": 16
|
51 |
+
},
|
52 |
+
"layer_norm_eps": 1e-12,
|
53 |
+
"max_position_embeddings": 512,
|
54 |
+
"model_type": "electra",
|
55 |
+
"num_attention_heads": 4,
|
56 |
+
"num_hidden_layers": 12,
|
57 |
+
"pad_token_id": 0,
|
58 |
+
"position_embedding_type": "absolute",
|
59 |
+
"problem_type": "single_label_classification",
|
60 |
+
"summary_activation": "gelu",
|
61 |
+
"summary_last_dropout": 0.1,
|
62 |
+
"summary_type": "first",
|
63 |
+
"summary_use_proj": true,
|
64 |
+
"torch_dtype": "float32",
|
65 |
+
"transformers_version": "4.29.1",
|
66 |
+
"type_vocab_size": 2,
|
67 |
+
"use_cache": true,
|
68 |
+
"vocab_size": 30522
|
69 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2647772eda3589c38b443d64e8dbb0a531e77f4ef6872ca5da34473701168e9
|
3 |
+
size 134399421
|