Upload folder using huggingface_hub
Browse files- config.json +87 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +57 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-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": 768,
|
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": 3072,
|
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": 12,
|
79 |
+
"pad_token_id": 0,
|
80 |
+
"position_embedding_type": "absolute",
|
81 |
+
"problem_type": "single_label_classification",
|
82 |
+
"torch_dtype": "float32",
|
83 |
+
"transformers_version": "4.38.2",
|
84 |
+
"type_vocab_size": 2,
|
85 |
+
"use_cache": true,
|
86 |
+
"vocab_size": 30522
|
87 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea2fc195a380a0f019a39e070e7c151fe1598bfa06a6ac28c04e75d32c66d776
|
3 |
+
size 438038624
|
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_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"model_max_length": 512,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": null,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|