RowekBrah commited on
Commit
c6a6009
1 Parent(s): ec25389

End of training

Browse files
README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased-finetuned-sst-2-english
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ - accuracy
9
+ model-index:
10
+ - name: results
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
+ # results
18
+
19
+ This model is a fine-tuned version of [distilbert-base-uncased-finetuned-sst-2-english](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.3782
22
+ - F1: 0.9100
23
+ - Accuracy: 0.9231
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: 16
44
+ - eval_batch_size: 16
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_steps: 100
49
+ - num_epochs: 6
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|
55
+ | 1.2718 | 0.11 | 100 | 0.5156 | 0.7112 | 0.7683 |
56
+ | 0.4449 | 0.22 | 200 | 0.4094 | 0.7815 | 0.8252 |
57
+ | 0.4407 | 0.32 | 300 | 0.3970 | 0.7928 | 0.8311 |
58
+ | 0.4038 | 0.43 | 400 | 0.3991 | 0.8117 | 0.8379 |
59
+ | 0.3772 | 0.54 | 500 | 0.3750 | 0.8191 | 0.8514 |
60
+ | 0.3692 | 0.65 | 600 | 0.3737 | 0.8245 | 0.8547 |
61
+ | 0.3738 | 0.76 | 700 | 0.3595 | 0.8194 | 0.8590 |
62
+ | 0.3685 | 0.87 | 800 | 0.3409 | 0.8305 | 0.8631 |
63
+ | 0.3286 | 0.97 | 900 | 0.3504 | 0.8372 | 0.8696 |
64
+ | 0.3202 | 1.08 | 1000 | 0.3590 | 0.8344 | 0.8671 |
65
+ | 0.2702 | 1.19 | 1100 | 0.3706 | 0.8473 | 0.8701 |
66
+ | 0.2564 | 1.3 | 1200 | 0.3850 | 0.8449 | 0.8663 |
67
+ | 0.2742 | 1.41 | 1300 | 0.3205 | 0.8558 | 0.8828 |
68
+ | 0.2371 | 1.52 | 1400 | 0.3324 | 0.8646 | 0.8877 |
69
+ | 0.2459 | 1.62 | 1500 | 0.3327 | 0.8602 | 0.8863 |
70
+ | 0.2388 | 1.73 | 1600 | 0.3498 | 0.8679 | 0.8893 |
71
+ | 0.2327 | 1.84 | 1700 | 0.3387 | 0.8735 | 0.8915 |
72
+ | 0.244 | 1.95 | 1800 | 0.3381 | 0.8767 | 0.8953 |
73
+ | 0.2096 | 2.06 | 1900 | 0.3312 | 0.8831 | 0.9034 |
74
+ | 0.1719 | 2.16 | 2000 | 0.3358 | 0.8854 | 0.9039 |
75
+ | 0.1507 | 2.27 | 2100 | 0.3580 | 0.8811 | 0.9020 |
76
+ | 0.1704 | 2.38 | 2200 | 0.3440 | 0.8711 | 0.8861 |
77
+ | 0.1526 | 2.49 | 2300 | 0.3728 | 0.8920 | 0.9093 |
78
+ | 0.1913 | 2.6 | 2400 | 0.3450 | 0.8838 | 0.9034 |
79
+ | 0.1313 | 2.71 | 2500 | 0.3746 | 0.8937 | 0.9104 |
80
+ | 0.1719 | 2.81 | 2600 | 0.3204 | 0.8925 | 0.9093 |
81
+ | 0.1719 | 2.92 | 2700 | 0.3073 | 0.8967 | 0.9145 |
82
+ | 0.139 | 3.03 | 2800 | 0.3435 | 0.9035 | 0.9191 |
83
+ | 0.1035 | 3.14 | 2900 | 0.3613 | 0.8959 | 0.9104 |
84
+ | 0.1112 | 3.25 | 3000 | 0.3500 | 0.9038 | 0.9185 |
85
+ | 0.1134 | 3.35 | 3100 | 0.3263 | 0.9065 | 0.9210 |
86
+ | 0.1177 | 3.46 | 3200 | 0.3370 | 0.9050 | 0.9194 |
87
+ | 0.1022 | 3.57 | 3300 | 0.3668 | 0.9038 | 0.9194 |
88
+ | 0.1036 | 3.68 | 3400 | 0.3655 | 0.9034 | 0.9194 |
89
+ | 0.1165 | 3.79 | 3500 | 0.3422 | 0.9069 | 0.9215 |
90
+ | 0.1056 | 3.9 | 3600 | 0.3874 | 0.9082 | 0.9218 |
91
+ | 0.1006 | 4.0 | 3700 | 0.3852 | 0.8943 | 0.9074 |
92
+ | 0.0774 | 4.11 | 3800 | 0.3722 | 0.9086 | 0.9226 |
93
+ | 0.0755 | 4.22 | 3900 | 0.3772 | 0.9087 | 0.9229 |
94
+ | 0.0762 | 4.33 | 4000 | 0.3917 | 0.9059 | 0.9212 |
95
+ | 0.0891 | 4.44 | 4100 | 0.3657 | 0.9078 | 0.9231 |
96
+ | 0.0767 | 4.55 | 4200 | 0.3678 | 0.9101 | 0.9242 |
97
+ | 0.0755 | 4.65 | 4300 | 0.3850 | 0.9095 | 0.9231 |
98
+ | 0.0765 | 4.76 | 4400 | 0.3846 | 0.9084 | 0.9234 |
99
+ | 0.1069 | 4.87 | 4500 | 0.3706 | 0.9109 | 0.9250 |
100
+ | 0.0884 | 4.98 | 4600 | 0.3583 | 0.9067 | 0.9204 |
101
+ | 0.0751 | 5.09 | 4700 | 0.3770 | 0.9087 | 0.9231 |
102
+ | 0.0708 | 5.19 | 4800 | 0.3782 | 0.9100 | 0.9231 |
103
+
104
+
105
+ ### Framework versions
106
+
107
+ - Transformers 4.36.2
108
+ - Pytorch 2.1.0+cu121
109
+ - Datasets 2.16.1
110
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased-finetuned-sst-2-english",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "finetuning_task": "sst-2",
11
+ "hidden_dim": 3072,
12
+ "id2label": {
13
+ "0": "NEGATIVE",
14
+ "1": "POSITIVE"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "NEGATIVE": 0,
19
+ "POSITIVE": 1
20
+ },
21
+ "max_position_embeddings": 512,
22
+ "model_type": "distilbert",
23
+ "n_heads": 12,
24
+ "n_layers": 6,
25
+ "output_past": true,
26
+ "pad_token_id": 0,
27
+ "problem_type": "single_label_classification",
28
+ "qa_dropout": 0.1,
29
+ "seq_classif_dropout": 0.2,
30
+ "sinusoidal_pos_embds": false,
31
+ "tie_weights_": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.36.2",
34
+ "vocab_size": 30522
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d6b90b507a0140693fda7aebabf900e6772627e6593c348fd80f7bb220f2c44
3
+ size 267832560
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,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
+ "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
+ "truncation": true,
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebc137b24157c01a71b50d8d9cd6822d4d389c178034c614649b2bdb10add5d9
3
+ size 4600
vocab.txt ADDED
The diff for this file is too large to render. See raw diff