SimoneJLaudani commited on
Commit
4499814
1 Parent(s): 8bca75f

End of training

Browse files
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: trainer_2f
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
+ # trainer_2f
20
+
21
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.6931
24
+ - Precision: 0.8208
25
+ - Recall: 0.8151
26
+ - F1: 0.8155
27
+ - Accuracy: 0.8151
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: 5e-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: 5
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 1.9137 | 0.27 | 30 | 1.7834 | 0.3695 | 0.3249 | 0.2790 | 0.3249 |
59
+ | 1.512 | 0.54 | 60 | 1.2428 | 0.5385 | 0.5350 | 0.4896 | 0.5350 |
60
+ | 1.1807 | 0.81 | 90 | 0.9631 | 0.7011 | 0.6947 | 0.6928 | 0.6947 |
61
+ | 0.8497 | 1.08 | 120 | 0.7969 | 0.7606 | 0.7507 | 0.7473 | 0.7507 |
62
+ | 0.5711 | 1.35 | 150 | 0.7019 | 0.7893 | 0.7787 | 0.7765 | 0.7787 |
63
+ | 0.4998 | 1.62 | 180 | 0.6403 | 0.7888 | 0.7731 | 0.7725 | 0.7731 |
64
+ | 0.3884 | 1.89 | 210 | 0.5716 | 0.8176 | 0.8067 | 0.8066 | 0.8067 |
65
+ | 0.2752 | 2.16 | 240 | 0.6101 | 0.8224 | 0.8123 | 0.8132 | 0.8123 |
66
+ | 0.2079 | 2.43 | 270 | 0.6416 | 0.8133 | 0.8011 | 0.7992 | 0.8011 |
67
+ | 0.2261 | 2.7 | 300 | 0.6838 | 0.8186 | 0.8067 | 0.8051 | 0.8067 |
68
+ | 0.1803 | 2.97 | 330 | 0.6147 | 0.8077 | 0.7983 | 0.7979 | 0.7983 |
69
+ | 0.1032 | 3.24 | 360 | 0.6488 | 0.8265 | 0.8179 | 0.8174 | 0.8179 |
70
+ | 0.0926 | 3.51 | 390 | 0.6014 | 0.8246 | 0.8207 | 0.8212 | 0.8207 |
71
+ | 0.0869 | 3.78 | 420 | 0.6537 | 0.8406 | 0.8347 | 0.8352 | 0.8347 |
72
+ | 0.0581 | 4.05 | 450 | 0.6726 | 0.8152 | 0.8095 | 0.8101 | 0.8095 |
73
+ | 0.0353 | 4.32 | 480 | 0.6954 | 0.8022 | 0.7983 | 0.7979 | 0.7983 |
74
+ | 0.0492 | 4.59 | 510 | 0.6907 | 0.8203 | 0.8151 | 0.8153 | 0.8151 |
75
+ | 0.0275 | 4.86 | 540 | 0.6936 | 0.8141 | 0.8095 | 0.8096 | 0.8095 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.39.3
81
+ - Pytorch 2.2.1+cu121
82
+ - Datasets 2.18.0
83
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "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": "anger",
13
+ "1": "fear",
14
+ "2": "joy",
15
+ "3": "love",
16
+ "4": "neutral",
17
+ "5": "sadness",
18
+ "6": "surprise"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2,
25
+ "LABEL_3": 3,
26
+ "LABEL_4": 4,
27
+ "LABEL_5": 5,
28
+ "LABEL_6": 6
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
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.39.3",
42
+ "vocab_size": 30522
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4146bfd93a375673df4533e17b40b57dd742d79a8983ad0de1460ac3302782c
3
+ size 267847948
runs/Apr04_21-24-24_db8afe16531b/events.out.tfevents.1712265877.db8afe16531b.1028.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55538c86fa1373c7c20503b66302d334416fba8b3e97af6206981859374cac8e
3
+ size 17359
runs/Apr04_21-24-24_db8afe16531b/events.out.tfevents.1712270997.db8afe16531b.1028.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22627a484c20f55ec6dc91649b39685becc1307b63269efb3ad8f45546baacec
3
+ size 560
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": "DistilBertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c44bae8ba46bea43870e9696ef872b1435fd01e29cc0ebded188025be591c85e
3
+ size 4920
vocab.txt ADDED
The diff for this file is too large to render. See raw diff