rippertnt commited on
Commit
97b79ac
·
1 Parent(s): 8e17f57

add model

Browse files
Files changed (2) hide show
  1. config.json +49 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./ckpt/emotion",
3
+ "architectures": [
4
+ "ElectraForMultiLabelClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "embedding_size": 768,
9
+ "finetuning_task": "goemotions",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "neutral",
15
+ "1": "angry",
16
+ "2": "sadness",
17
+ "3": "disgust",
18
+ "4": "happiness",
19
+ "5": "fear",
20
+ "6": "surprise"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "angry": 1,
26
+ "disgust": 3,
27
+ "fear": 5,
28
+ "happiness": 4,
29
+ "neutral": 0,
30
+ "sadness": 2,
31
+ "surprise": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "electra",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "pad_token_id": 0,
39
+ "position_embedding_type": "absolute",
40
+ "summary_activation": "gelu",
41
+ "summary_last_dropout": 0.1,
42
+ "summary_type": "first",
43
+ "summary_use_proj": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.20.1",
46
+ "type_vocab_size": 2,
47
+ "use_cache": true,
48
+ "vocab_size": 35000
49
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab600b0ff8ecc2fd50d509540b46a102d2eda61f1174a1d269feb711e0c05c49
3
+ size 449412785