Upload folder using huggingface_hub
Browse files- config.json +117 -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,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"28": "worry",
|
| 42 |
+
"29": "happiness",
|
| 43 |
+
"30": "fun",
|
| 44 |
+
"31": "hate",
|
| 45 |
+
"32": "autonomy",
|
| 46 |
+
"33": "safety",
|
| 47 |
+
"34": "understanding",
|
| 48 |
+
"35": "empty",
|
| 49 |
+
"36": "enthusiasm",
|
| 50 |
+
"37": "recreation",
|
| 51 |
+
"38": "sense_of_belonging",
|
| 52 |
+
"39": "meaning",
|
| 53 |
+
"40": "sustenance",
|
| 54 |
+
"41": "creativity",
|
| 55 |
+
"42": "boredom"
|
| 56 |
+
},
|
| 57 |
+
"initializer_range": 0.02,
|
| 58 |
+
"intermediate_size": 3072,
|
| 59 |
+
"label2id": {
|
| 60 |
+
"admiration": 0,
|
| 61 |
+
"amusement": 1,
|
| 62 |
+
"anger": 2,
|
| 63 |
+
"annoyance": 3,
|
| 64 |
+
"approval": 4,
|
| 65 |
+
"autonomy": 32,
|
| 66 |
+
"boredom": 42,
|
| 67 |
+
"caring": 5,
|
| 68 |
+
"confusion": 6,
|
| 69 |
+
"creativity": 41,
|
| 70 |
+
"curiosity": 7,
|
| 71 |
+
"desire": 8,
|
| 72 |
+
"disappointment": 9,
|
| 73 |
+
"disapproval": 10,
|
| 74 |
+
"disgust": 11,
|
| 75 |
+
"embarrassment": 12,
|
| 76 |
+
"empty": 35,
|
| 77 |
+
"enthusiasm": 36,
|
| 78 |
+
"excitement": 13,
|
| 79 |
+
"fear": 14,
|
| 80 |
+
"fun": 30,
|
| 81 |
+
"gratitude": 15,
|
| 82 |
+
"grief": 16,
|
| 83 |
+
"happiness": 29,
|
| 84 |
+
"hate": 31,
|
| 85 |
+
"joy": 17,
|
| 86 |
+
"love": 18,
|
| 87 |
+
"meaning": 39,
|
| 88 |
+
"nervousness": 19,
|
| 89 |
+
"neutral": 27,
|
| 90 |
+
"optimism": 20,
|
| 91 |
+
"pride": 21,
|
| 92 |
+
"realization": 22,
|
| 93 |
+
"recreation": 37,
|
| 94 |
+
"relief": 23,
|
| 95 |
+
"remorse": 24,
|
| 96 |
+
"sadness": 25,
|
| 97 |
+
"safety": 33,
|
| 98 |
+
"sense_of_belonging": 38,
|
| 99 |
+
"surprise": 26,
|
| 100 |
+
"sustenance": 40,
|
| 101 |
+
"understanding": 34,
|
| 102 |
+
"worry": 28
|
| 103 |
+
},
|
| 104 |
+
"layer_norm_eps": 1e-12,
|
| 105 |
+
"max_position_embeddings": 512,
|
| 106 |
+
"model_type": "bert",
|
| 107 |
+
"num_attention_heads": 12,
|
| 108 |
+
"num_hidden_layers": 12,
|
| 109 |
+
"pad_token_id": 0,
|
| 110 |
+
"position_embedding_type": "absolute",
|
| 111 |
+
"problem_type": "single_label_classification",
|
| 112 |
+
"torch_dtype": "float32",
|
| 113 |
+
"transformers_version": "4.38.2",
|
| 114 |
+
"type_vocab_size": 2,
|
| 115 |
+
"use_cache": true,
|
| 116 |
+
"vocab_size": 30522
|
| 117 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d9dbbb57e061703973656aff58316ed931b06ff250ec5e11072ca0ba21d309b
|
| 3 |
+
size 438084764
|
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
|
|
|