Emotion Model
Browse files- .gitattributes +1 -0
- __huggingface_repos__.json +1 -0
- __results___files/__results___0_18.png +0 -0
- emotion_model/best/config.json +43 -0
- emotion_model/best/model.safetensors +3 -0
- emotion_model/best/tokenizer.json +0 -0
- emotion_model/best/tokenizer_config.json +14 -0
- emotion_model/final/config.json +43 -0
- emotion_model/final/model.safetensors +3 -0
- emotion_model/final/tokenizer.json +0 -0
- emotion_model/final/tokenizer_config.json +14 -0
- training_results.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
training_results.png filter=lfs diff=lfs merge=lfs -text
|
__huggingface_repos__.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"repos": [{"repoId": "distilbert-base-uncased", "repoType": "model", "commitHash": "12040accade4e8a0f71eabdb258fecc2e7e948be", "filePaths": ["tokenizer.json", "vocab.txt", "config.json", "model.safetensors", "tokenizer_config.json"]}]}
|
__results___files/__results___0_18.png
ADDED
|
emotion_model/best/config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation": "gelu",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"DistilBertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"dtype": "float32",
|
| 11 |
+
"eos_token_id": null,
|
| 12 |
+
"hidden_dim": 3072,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "sadness",
|
| 15 |
+
"1": "anger",
|
| 16 |
+
"2": "love",
|
| 17 |
+
"3": "surprise",
|
| 18 |
+
"4": "fear",
|
| 19 |
+
"5": "joy"
|
| 20 |
+
},
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"label2id": {
|
| 23 |
+
"anger": 1,
|
| 24 |
+
"fear": 4,
|
| 25 |
+
"joy": 5,
|
| 26 |
+
"love": 2,
|
| 27 |
+
"sadness": 0,
|
| 28 |
+
"surprise": 3
|
| 29 |
+
},
|
| 30 |
+
"max_position_embeddings": 512,
|
| 31 |
+
"model_type": "distilbert",
|
| 32 |
+
"n_heads": 12,
|
| 33 |
+
"n_layers": 6,
|
| 34 |
+
"pad_token_id": 0,
|
| 35 |
+
"problem_type": "single_label_classification",
|
| 36 |
+
"qa_dropout": 0.1,
|
| 37 |
+
"seq_classif_dropout": 0.2,
|
| 38 |
+
"sinusoidal_pos_embds": false,
|
| 39 |
+
"tie_weights_": true,
|
| 40 |
+
"tie_word_embeddings": true,
|
| 41 |
+
"transformers_version": "5.0.0",
|
| 42 |
+
"vocab_size": 30522
|
| 43 |
+
}
|
emotion_model/best/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d95c8a624339d2a70c1fd2228b7f594d2d7720e694565c5f3d4a22760730b27c
|
| 3 |
+
size 267844872
|
emotion_model/best/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
emotion_model/best/tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
+
"is_local": false,
|
| 6 |
+
"mask_token": "[MASK]",
|
| 7 |
+
"model_max_length": 512,
|
| 8 |
+
"pad_token": "[PAD]",
|
| 9 |
+
"sep_token": "[SEP]",
|
| 10 |
+
"strip_accents": null,
|
| 11 |
+
"tokenize_chinese_chars": true,
|
| 12 |
+
"tokenizer_class": "DistilBertTokenizer",
|
| 13 |
+
"unk_token": "[UNK]"
|
| 14 |
+
}
|
emotion_model/final/config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation": "gelu",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"DistilBertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.1,
|
| 7 |
+
"bos_token_id": null,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"dtype": "float32",
|
| 11 |
+
"eos_token_id": null,
|
| 12 |
+
"hidden_dim": 3072,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "sadness",
|
| 15 |
+
"1": "anger",
|
| 16 |
+
"2": "love",
|
| 17 |
+
"3": "surprise",
|
| 18 |
+
"4": "fear",
|
| 19 |
+
"5": "joy"
|
| 20 |
+
},
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"label2id": {
|
| 23 |
+
"anger": 1,
|
| 24 |
+
"fear": 4,
|
| 25 |
+
"joy": 5,
|
| 26 |
+
"love": 2,
|
| 27 |
+
"sadness": 0,
|
| 28 |
+
"surprise": 3
|
| 29 |
+
},
|
| 30 |
+
"max_position_embeddings": 512,
|
| 31 |
+
"model_type": "distilbert",
|
| 32 |
+
"n_heads": 12,
|
| 33 |
+
"n_layers": 6,
|
| 34 |
+
"pad_token_id": 0,
|
| 35 |
+
"problem_type": "single_label_classification",
|
| 36 |
+
"qa_dropout": 0.1,
|
| 37 |
+
"seq_classif_dropout": 0.2,
|
| 38 |
+
"sinusoidal_pos_embds": false,
|
| 39 |
+
"tie_weights_": true,
|
| 40 |
+
"tie_word_embeddings": true,
|
| 41 |
+
"transformers_version": "5.0.0",
|
| 42 |
+
"vocab_size": 30522
|
| 43 |
+
}
|
emotion_model/final/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d95c8a624339d2a70c1fd2228b7f594d2d7720e694565c5f3d4a22760730b27c
|
| 3 |
+
size 267844872
|
emotion_model/final/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
emotion_model/final/tokenizer_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
+
"is_local": false,
|
| 6 |
+
"mask_token": "[MASK]",
|
| 7 |
+
"model_max_length": 512,
|
| 8 |
+
"pad_token": "[PAD]",
|
| 9 |
+
"sep_token": "[SEP]",
|
| 10 |
+
"strip_accents": null,
|
| 11 |
+
"tokenize_chinese_chars": true,
|
| 12 |
+
"tokenizer_class": "DistilBertTokenizer",
|
| 13 |
+
"unk_token": "[UNK]"
|
| 14 |
+
}
|
training_results.png
ADDED
|
Git LFS Details
|