Ngit commited on
Commit
8dd0c25
1 Parent(s): 681ecdf

first commit

Browse files
Files changed (6) hide show
  1. config.json +86 -0
  2. model.onnx +3 -0
  3. special_tokens_map.json +7 -0
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +61 -0
  6. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "../output/MiniLM-L6-H384-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "id2label": {
13
+ "0": "admiration",
14
+ "1": "amusement",
15
+ "2": "anger",
16
+ "3": "annoyance",
17
+ "4": "approval",
18
+ "5": "caring",
19
+ "6": "confusion",
20
+ "7": "curiosity",
21
+ "8": "desire",
22
+ "9": "disappointment",
23
+ "10": "disapproval",
24
+ "11": "disgust",
25
+ "12": "embarrassment",
26
+ "13": "excitement",
27
+ "14": "fear",
28
+ "15": "gratitude",
29
+ "16": "grief",
30
+ "17": "joy",
31
+ "18": "love",
32
+ "19": "nervousness",
33
+ "20": "optimism",
34
+ "21": "pride",
35
+ "22": "realization",
36
+ "23": "relief",
37
+ "24": "remorse",
38
+ "25": "sadness",
39
+ "26": "surprise",
40
+ "27": "neutral"
41
+ },
42
+ "initializer_range": 0.02,
43
+ "intermediate_size": 1536,
44
+ "label2id": {
45
+ "admiration": "0",
46
+ "amusement": "1",
47
+ "anger": "2",
48
+ "annoyance": "3",
49
+ "approval": "4",
50
+ "caring": "5",
51
+ "confusion": "6",
52
+ "curiosity": "7",
53
+ "desire": "8",
54
+ "disappointment": "9",
55
+ "disapproval": "10",
56
+ "disgust": "11",
57
+ "embarrassment": "12",
58
+ "excitement": "13",
59
+ "fear": "14",
60
+ "gratitude": "15",
61
+ "grief": "16",
62
+ "joy": "17",
63
+ "love": "18",
64
+ "nervousness": "19",
65
+ "neutral": "27",
66
+ "optimism": "20",
67
+ "pride": "21",
68
+ "realization": "22",
69
+ "relief": "23",
70
+ "remorse": "24",
71
+ "sadness": "25",
72
+ "surprise": "26"
73
+ },
74
+ "layer_norm_eps": 1e-12,
75
+ "max_position_embeddings": 512,
76
+ "model_type": "bert",
77
+ "num_attention_heads": 12,
78
+ "num_hidden_layers": 6,
79
+ "pad_token_id": 0,
80
+ "position_embedding_type": "absolute",
81
+ "problem_type": "multi_label_classification",
82
+ "transformers_version": "4.35.0",
83
+ "type_vocab_size": 2,
84
+ "use_cache": true,
85
+ "vocab_size": 30522
86
+ }
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:181183c419e6c7cf2b62ca1a9d158d8f1f17c9b7f2310dfbb2c50417f85b7b08
3
+ size 23048640
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 50,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "stride": 0,
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "BertTokenizer",
58
+ "truncation_side": "right",
59
+ "truncation_strategy": "longest_first",
60
+ "unk_token": "[UNK]"
61
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff