monologg commited on
Commit
9185ea0
1 Parent(s): b8da597

update model

Browse files
Files changed (5) hide show
  1. config.json +78 -80
  2. pytorch_model.bin +2 -2
  3. special_tokens_map.json +8 -8
  4. tokenizer_config.json +10 -10
  5. vocab.txt +0 -0
config.json CHANGED
@@ -1,80 +1,78 @@
1
- {
2
- "architectures": [
3
- "BertForMultiLabelClassification"
4
- ],
5
- "attention_probs_dropout_prob": 0.1,
6
- "finetuning_task": "goemotions",
7
- "hidden_act": "gelu",
8
- "hidden_dropout_prob": 0.1,
9
- "hidden_size": 768,
10
- "id2label": {
11
- "0": "admiration",
12
- "1": "amusement",
13
- "10": "disapproval",
14
- "11": "disgust",
15
- "12": "embarrassment",
16
- "13": "excitement",
17
- "14": "fear",
18
- "15": "gratitude",
19
- "16": "grief",
20
- "17": "joy",
21
- "18": "love",
22
- "19": "nervousness",
23
- "2": "anger",
24
- "20": "optimism",
25
- "21": "pride",
26
- "22": "realization",
27
- "23": "relief",
28
- "24": "remorse",
29
- "25": "sadness",
30
- "26": "surprise",
31
- "27": "neutral",
32
- "3": "annoyance",
33
- "4": "approval",
34
- "5": "caring",
35
- "6": "confusion",
36
- "7": "curiosity",
37
- "8": "desire",
38
- "9": "disappointment"
39
- },
40
- "initializer_range": 0.02,
41
- "intermediate_size": 3072,
42
- "label2id": {
43
- "admiration": 0,
44
- "amusement": 1,
45
- "anger": 2,
46
- "annoyance": 3,
47
- "approval": 4,
48
- "caring": 5,
49
- "confusion": 6,
50
- "curiosity": 7,
51
- "desire": 8,
52
- "disappointment": 9,
53
- "disapproval": 10,
54
- "disgust": 11,
55
- "embarrassment": 12,
56
- "excitement": 13,
57
- "fear": 14,
58
- "gratitude": 15,
59
- "grief": 16,
60
- "joy": 17,
61
- "love": 18,
62
- "nervousness": 19,
63
- "neutral": 27,
64
- "optimism": 20,
65
- "pride": 21,
66
- "realization": 22,
67
- "relief": 23,
68
- "remorse": 24,
69
- "sadness": 25,
70
- "surprise": 26
71
- },
72
- "layer_norm_eps": 1e-12,
73
- "max_position_embeddings": 512,
74
- "model_type": "bert",
75
- "num_attention_heads": 12,
76
- "num_hidden_layers": 12,
77
- "pad_token_id": 0,
78
- "type_vocab_size": 2,
79
- "vocab_size": 28996
80
- }
1
+ {
2
+ "architectures": ["BertForMultiLabelClassification"],
3
+ "attention_probs_dropout_prob": 0.1,
4
+ "finetuning_task": "goemotions",
5
+ "hidden_act": "gelu",
6
+ "hidden_dropout_prob": 0.1,
7
+ "hidden_size": 768,
8
+ "id2label": {
9
+ "0": "admiration",
10
+ "1": "amusement",
11
+ "10": "disapproval",
12
+ "11": "disgust",
13
+ "12": "embarrassment",
14
+ "13": "excitement",
15
+ "14": "fear",
16
+ "15": "gratitude",
17
+ "16": "grief",
18
+ "17": "joy",
19
+ "18": "love",
20
+ "19": "nervousness",
21
+ "2": "anger",
22
+ "20": "optimism",
23
+ "21": "pride",
24
+ "22": "realization",
25
+ "23": "relief",
26
+ "24": "remorse",
27
+ "25": "sadness",
28
+ "26": "surprise",
29
+ "27": "neutral",
30
+ "3": "annoyance",
31
+ "4": "approval",
32
+ "5": "caring",
33
+ "6": "confusion",
34
+ "7": "curiosity",
35
+ "8": "desire",
36
+ "9": "disappointment"
37
+ },
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": 3072,
40
+ "label2id": {
41
+ "admiration": 0,
42
+ "amusement": 1,
43
+ "anger": 2,
44
+ "annoyance": 3,
45
+ "approval": 4,
46
+ "caring": 5,
47
+ "confusion": 6,
48
+ "curiosity": 7,
49
+ "desire": 8,
50
+ "disappointment": 9,
51
+ "disapproval": 10,
52
+ "disgust": 11,
53
+ "embarrassment": 12,
54
+ "excitement": 13,
55
+ "fear": 14,
56
+ "gratitude": 15,
57
+ "grief": 16,
58
+ "joy": 17,
59
+ "love": 18,
60
+ "nervousness": 19,
61
+ "neutral": 27,
62
+ "optimism": 20,
63
+ "pride": 21,
64
+ "realization": 22,
65
+ "relief": 23,
66
+ "remorse": 24,
67
+ "sadness": 25,
68
+ "surprise": 26
69
+ },
70
+ "layer_norm_eps": 1e-12,
71
+ "max_position_embeddings": 512,
72
+ "model_type": "bert",
73
+ "num_attention_heads": 12,
74
+ "num_hidden_layers": 12,
75
+ "pad_token_id": 0,
76
+ "type_vocab_size": 2,
77
+ "vocab_size": 28996
78
+ }
 
 
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:66fcb64feb5001e00d7407dd109e1e74c5fa8e7ff701eadb6403ee8a1a33f599
3
- size 433377121
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab2b94588c862d96c040024c8a92e248b37445a2ac62f5b010a65e36806c3024
3
+ size 433412096
special_tokens_map.json CHANGED
@@ -1,8 +1,8 @@
1
- {
2
- "unk_token": "[UNK]",
3
- "sep_token": "[SEP]",
4
- "pad_token": "[PAD]",
5
- "cls_token": "[CLS]",
6
- "mask_token": "[MASK]",
7
- "additional_special_tokens": ["[NAME]", "[RELIGION]"]
8
- }
1
+ {
2
+ "unk_token": "[UNK]",
3
+ "sep_token": "[SEP]",
4
+ "pad_token": "[PAD]",
5
+ "cls_token": "[CLS]",
6
+ "mask_token": "[MASK]",
7
+ "additional_special_tokens": ["[NAME]", "[RELIGION]"]
8
+ }
tokenizer_config.json CHANGED
@@ -1,10 +1,10 @@
1
- {
2
- "do_lower_case": false,
3
- "model_max_length": 512,
4
- "unk_token": "[UNK]",
5
- "sep_token": "[SEP]",
6
- "pad_token": "[PAD]",
7
- "cls_token": "[CLS]",
8
- "mask_token": "[MASK]",
9
- "additional_special_tokens": ["[NAME]", "[RELIGION]"]
10
- }
1
+ {
2
+ "do_lower_case": false,
3
+ "model_max_length": 512,
4
+ "unk_token": "[UNK]",
5
+ "sep_token": "[SEP]",
6
+ "pad_token": "[PAD]",
7
+ "cls_token": "[CLS]",
8
+ "mask_token": "[MASK]",
9
+ "additional_special_tokens": ["[NAME]", "[RELIGION]"]
10
+ }
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff