Text Classification
Transformers
Safetensors
English
bert
emotion
classification
neurobert
emojis
emotions
v1.0
sentiment-analysis
nlp
lightweight
chatbot
social-media
mental-health
short-text
emotion-detection
real-time
expressive
ai
machine-learning
english
inference
edge-ai
smart-replies
tone-analysis
contextual-ai
wearable-ai
Upload 5 files
Browse files- config.json +81 -0
- model.safetensors +3 -0
- special_tokens_map.json +37 -0
- tokenizer_config.json +58 -0
- vocab.txt +0 -0
config.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForSequenceClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"classifier_dropout": null,
|
| 7 |
+
"hidden_act": "gelu",
|
| 8 |
+
"hidden_dropout_prob": 0.1,
|
| 9 |
+
"hidden_size": 256,
|
| 10 |
+
"id2label": {
|
| 11 |
+
"0": "Anger",
|
| 12 |
+
"1": "Confusion",
|
| 13 |
+
"2": "Desire",
|
| 14 |
+
"3": "Disgust",
|
| 15 |
+
"4": "Fear",
|
| 16 |
+
"5": "Guilt",
|
| 17 |
+
"6": "Happiness",
|
| 18 |
+
"7": "Love",
|
| 19 |
+
"8": "Neutral",
|
| 20 |
+
"9": "Sadness",
|
| 21 |
+
"10": "Sarcasm",
|
| 22 |
+
"11": "Shame",
|
| 23 |
+
"12": "Surprise",
|
| 24 |
+
"13": "anger",
|
| 25 |
+
"14": "confusion",
|
| 26 |
+
"15": "desire",
|
| 27 |
+
"16": "disgust",
|
| 28 |
+
"17": "fear",
|
| 29 |
+
"18": "guilt",
|
| 30 |
+
"19": "happiness",
|
| 31 |
+
"20": "love",
|
| 32 |
+
"21": "neutral",
|
| 33 |
+
"22": "sadness",
|
| 34 |
+
"23": "sarcasm",
|
| 35 |
+
"24": "shame",
|
| 36 |
+
"25": "surprise"
|
| 37 |
+
},
|
| 38 |
+
"initializer_range": 0.02,
|
| 39 |
+
"intermediate_size": 1024,
|
| 40 |
+
"label2id": {
|
| 41 |
+
"Anger": 0,
|
| 42 |
+
"Confusion": 1,
|
| 43 |
+
"Desire": 2,
|
| 44 |
+
"Disgust": 3,
|
| 45 |
+
"Fear": 4,
|
| 46 |
+
"Guilt": 5,
|
| 47 |
+
"Happiness": 6,
|
| 48 |
+
"Love": 7,
|
| 49 |
+
"Neutral": 8,
|
| 50 |
+
"Sadness": 9,
|
| 51 |
+
"Sarcasm": 10,
|
| 52 |
+
"Shame": 11,
|
| 53 |
+
"Surprise": 12,
|
| 54 |
+
"anger": 13,
|
| 55 |
+
"confusion": 14,
|
| 56 |
+
"desire": 15,
|
| 57 |
+
"disgust": 16,
|
| 58 |
+
"fear": 17,
|
| 59 |
+
"guilt": 18,
|
| 60 |
+
"happiness": 19,
|
| 61 |
+
"love": 20,
|
| 62 |
+
"neutral": 21,
|
| 63 |
+
"sadness": 22,
|
| 64 |
+
"sarcasm": 23,
|
| 65 |
+
"shame": 24,
|
| 66 |
+
"surprise": 25
|
| 67 |
+
},
|
| 68 |
+
"layer_norm_eps": 1e-12,
|
| 69 |
+
"max_position_embeddings": 512,
|
| 70 |
+
"model_type": "bert",
|
| 71 |
+
"num_attention_heads": 4,
|
| 72 |
+
"num_hidden_layers": 8,
|
| 73 |
+
"pad_token_id": 0,
|
| 74 |
+
"position_embedding_type": "absolute",
|
| 75 |
+
"problem_type": "single_label_classification",
|
| 76 |
+
"torch_dtype": "float32",
|
| 77 |
+
"transformers_version": "4.51.3",
|
| 78 |
+
"type_vocab_size": 2,
|
| 79 |
+
"use_cache": true,
|
| 80 |
+
"vocab_size": 30522
|
| 81 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5cc51a9a00befbe6175c6f656b16581df3d465b955763bd2e32da8bb1a985b64
|
| 3 |
+
size 57360840
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": {
|
| 3 |
+
"content": "[CLS]",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"mask_token": {
|
| 10 |
+
"content": "[MASK]",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "[PAD]",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"sep_token": {
|
| 24 |
+
"content": "[SEP]",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"unk_token": {
|
| 31 |
+
"content": "[UNK]",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
}
|
| 37 |
+
}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
"extra_special_tokens": {},
|
| 49 |
+
"mask_token": "[MASK]",
|
| 50 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 51 |
+
"never_split": null,
|
| 52 |
+
"pad_token": "[PAD]",
|
| 53 |
+
"sep_token": "[SEP]",
|
| 54 |
+
"strip_accents": null,
|
| 55 |
+
"tokenize_chinese_chars": true,
|
| 56 |
+
"tokenizer_class": "BertTokenizer",
|
| 57 |
+
"unk_token": "[UNK]"
|
| 58 |
+
}
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|