SimoneJLaudani commited on
Commit
893d47f
·
verified ·
1 Parent(s): e88dfc2

End of training

Browse files
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: trainer2
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # trainer2
18
+
19
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0234
22
+ - Accuracy: 1.0
23
+ - F1: 1.0
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 30
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
54
+ | 2.0054 | 1.2 | 30 | 1.9498 | 0.1429 | 0.0381 |
55
+ | 1.9675 | 2.4 | 60 | 1.9430 | 0.1429 | 0.0357 |
56
+ | 1.8674 | 3.6 | 90 | 1.8505 | 0.2619 | 0.1697 |
57
+ | 1.6168 | 4.8 | 120 | 1.5603 | 0.2857 | 0.1653 |
58
+ | 1.4081 | 6.0 | 150 | 1.4562 | 0.4762 | 0.3593 |
59
+ | 1.0441 | 7.2 | 180 | 1.0784 | 0.7143 | 0.6980 |
60
+ | 0.647 | 8.4 | 210 | 0.7278 | 0.7857 | 0.7618 |
61
+ | 0.4592 | 9.6 | 240 | 0.4725 | 0.9048 | 0.9018 |
62
+ | 0.2154 | 10.8 | 270 | 0.3315 | 0.9048 | 0.9032 |
63
+ | 0.1011 | 12.0 | 300 | 0.3818 | 0.8095 | 0.7946 |
64
+ | 0.0543 | 13.2 | 330 | 0.1302 | 1.0 | 1.0 |
65
+ | 0.0265 | 14.4 | 360 | 0.1574 | 0.9524 | 0.9536 |
66
+ | 0.0154 | 15.6 | 390 | 0.0577 | 1.0 | 1.0 |
67
+ | 0.0106 | 16.8 | 420 | 0.0895 | 0.9762 | 0.9760 |
68
+ | 0.0073 | 18.0 | 450 | 0.0355 | 1.0 | 1.0 |
69
+ | 0.0058 | 19.2 | 480 | 0.0256 | 1.0 | 1.0 |
70
+ | 0.005 | 20.4 | 510 | 0.0259 | 1.0 | 1.0 |
71
+ | 0.0041 | 21.6 | 540 | 0.0258 | 1.0 | 1.0 |
72
+ | 0.0039 | 22.8 | 570 | 0.0260 | 1.0 | 1.0 |
73
+ | 0.0039 | 24.0 | 600 | 0.0260 | 1.0 | 1.0 |
74
+ | 0.0037 | 25.2 | 630 | 0.0253 | 1.0 | 1.0 |
75
+ | 0.0034 | 26.4 | 660 | 0.0254 | 1.0 | 1.0 |
76
+ | 0.0033 | 27.6 | 690 | 0.0258 | 1.0 | 1.0 |
77
+ | 0.0034 | 28.8 | 720 | 0.0239 | 1.0 | 1.0 |
78
+ | 0.0032 | 30.0 | 750 | 0.0234 | 1.0 | 1.0 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.38.2
84
+ - Pytorch 2.1.0+cu121
85
+ - Datasets 2.18.0
86
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "attention_probs_dropout_prob": 0.1,
9
+ "dim": 768,
10
+ "dropout": 0.1,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dim": 3072,
14
+ "hidden_dropout_prob": 0.1,
15
+ "id2label": {
16
+ "0": "anger",
17
+ "1": "fear",
18
+ "2": "joy",
19
+ "3": "love",
20
+ "4": "neutral",
21
+ "5": "sadness",
22
+ "6": "surprise"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2,
30
+ "LABEL_3": 3,
31
+ "LABEL_4": 4,
32
+ "LABEL_5": 5,
33
+ "LABEL_6": 6
34
+ },
35
+ "layer_norm_eps": 1e-12,
36
+ "max_position_embeddings": 512,
37
+ "model_type": "distilbert",
38
+ "n_heads": 12,
39
+ "n_layers": 12,
40
+ "pad_token_id": 0,
41
+ "position_embedding_type": "absolute",
42
+ "problem_type": "single_label_classification",
43
+ "qa_dropout": 0.1,
44
+ "seq_classif_dropout": 0.2,
45
+ "sinusoidal_pos_embds": false,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.38.2",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 30522
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5390cacf65ac2d3a5d92f57aece923d6fc3a1264776a5a2e288afd269cd05a37
3
+ size 437968636
runs/Mar11_14-24-05_fd75b22569e8/events.out.tfevents.1710167058.fd75b22569e8.296.9 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:052a60b21607e2d884a9883ee206dbed25e6f09504036c4b11109c152f21a1df
3
+ size 19769
runs/Mar11_14-24-05_fd75b22569e8/events.out.tfevents.1710173630.fd75b22569e8.296.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66f8fc10b612dfd92a1511b8060bfacc94ae36aca3db44a4016264b5a010ed5b
3
+ size 457
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:a3c0e526ec375f78412c93ec997e21c05241ce4686c1be9f21de2d516e1fc3e7
3
+ size 4856
vocab.txt ADDED
The diff for this file is too large to render. See raw diff