sherelyn912 commited on
Commit
34b6f87
1 Parent(s): 0dc2805

End of training

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert/distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: emotional-distilbert
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # emotional-distilbert
20
+
21
+ This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 2.5849
24
+ - Accuracy: 0.3276
25
+ - F1: 0.3143
26
+ - Precision: 0.4031
27
+ - Recall: 0.3276
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 16
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 2
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
58
+ | 2.8647 | 1.0 | 276 | 2.8339 | 0.2405 | 0.2240 | 0.3474 | 0.2405 |
59
+ | 1.9393 | 2.0 | 552 | 2.5849 | 0.3276 | 0.3143 | 0.4031 | 0.3276 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.39.3
65
+ - Pytorch 2.2.1+cu121
66
+ - Datasets 2.18.0
67
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert/distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "serenity",
13
+ "1": "joy",
14
+ "10": "terror",
15
+ "11": "awe",
16
+ "12": "distraction",
17
+ "13": "surprise",
18
+ "14": "amazement",
19
+ "15": "disapproval",
20
+ "16": "pensiveness",
21
+ "17": "sadness",
22
+ "18": "grief",
23
+ "19": "remorse",
24
+ "2": "ecstasy",
25
+ "20": "boredom",
26
+ "21": "disgust",
27
+ "22": "loathing",
28
+ "23": "contempt",
29
+ "24": "annoyance",
30
+ "25": "anger",
31
+ "26": "rage",
32
+ "27": "aggressiveness",
33
+ "28": "interest",
34
+ "29": "anticipation",
35
+ "3": "love",
36
+ "30": "vigilance",
37
+ "31": "optimism",
38
+ "4": "acceptance",
39
+ "5": "trust",
40
+ "6": "admiration",
41
+ "7": "submission",
42
+ "8": "apprehension",
43
+ "9": "fear"
44
+ },
45
+ "initializer_range": 0.02,
46
+ "label2id": {
47
+ "acceptance": 4,
48
+ "admiration": 6,
49
+ "aggressiveness": 27,
50
+ "amazement": 14,
51
+ "anger": 25,
52
+ "annoyance": 24,
53
+ "anticipation": 29,
54
+ "apprehension": 8,
55
+ "awe": 11,
56
+ "boredom": 20,
57
+ "contempt": 23,
58
+ "disapproval": 15,
59
+ "disgust": 21,
60
+ "distraction": 12,
61
+ "ecstasy": 2,
62
+ "fear": 9,
63
+ "grief": 18,
64
+ "interest": 28,
65
+ "joy": 1,
66
+ "loathing": 22,
67
+ "love": 3,
68
+ "optimism": 31,
69
+ "pensiveness": 16,
70
+ "rage": 26,
71
+ "remorse": 19,
72
+ "sadness": 17,
73
+ "serenity": 0,
74
+ "submission": 7,
75
+ "surprise": 13,
76
+ "terror": 10,
77
+ "trust": 5,
78
+ "vigilance": 30
79
+ },
80
+ "max_position_embeddings": 512,
81
+ "model_type": "distilbert",
82
+ "n_heads": 12,
83
+ "n_layers": 6,
84
+ "pad_token_id": 0,
85
+ "problem_type": "single_label_classification",
86
+ "qa_dropout": 0.1,
87
+ "seq_classif_dropout": 0.2,
88
+ "sinusoidal_pos_embds": false,
89
+ "tie_weights_": true,
90
+ "torch_dtype": "float32",
91
+ "transformers_version": "4.39.3",
92
+ "vocab_size": 30522
93
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d78c1bf57f8a4b5f8b8d3be259ca63389162439c886b333965b4bffc5076de48
3
+ size 267924856
runs/Apr06_13-05-18_4d5b374fe2a6/events.out.tfevents.1712408718.4d5b374fe2a6.910.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02b7f4ac5e98bdb270073f22f87d15b763df56da5046fdf8643fb08b676c103b
3
+ size 7569
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,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 1000000000000000019884624838656,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04ba22af731be626a1d822a0833975b1e63daaf339b3f3a3779829192d2f86cb
3
+ size 4920
vocab.txt ADDED
The diff for this file is too large to render. See raw diff