SharonTudi commited on
Commit
0399e96
1 Parent(s): 969bf42

End of training

Browse files
README.md ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: CONTEXT_one
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
+ # CONTEXT_one
20
+
21
+ This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.1031
24
+ - Precision: 0.8202
25
+ - Recall: 0.8158
26
+ - F1: 0.8134
27
+ - Accuracy: 0.8158
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: 8
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 30
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 1.3141 | 0.62 | 30 | 1.1728 | 0.4060 | 0.4868 | 0.4214 | 0.4868 |
59
+ | 0.8655 | 1.25 | 60 | 0.8567 | 0.7238 | 0.7237 | 0.7207 | 0.7237 |
60
+ | 0.6189 | 1.88 | 90 | 0.6433 | 0.7395 | 0.7368 | 0.7361 | 0.7368 |
61
+ | 0.4575 | 2.5 | 120 | 0.6314 | 0.7661 | 0.7632 | 0.7625 | 0.7632 |
62
+ | 0.3123 | 3.12 | 150 | 0.6091 | 0.7636 | 0.7632 | 0.7621 | 0.7632 |
63
+ | 0.215 | 3.75 | 180 | 0.6095 | 0.7769 | 0.7763 | 0.7758 | 0.7763 |
64
+ | 0.2901 | 4.38 | 210 | 0.6833 | 0.7409 | 0.7368 | 0.7367 | 0.7368 |
65
+ | 0.2169 | 5.0 | 240 | 0.6651 | 0.8354 | 0.8289 | 0.8285 | 0.8289 |
66
+ | 0.1721 | 5.62 | 270 | 0.6578 | 0.8530 | 0.8421 | 0.8416 | 0.8421 |
67
+ | 0.2103 | 6.25 | 300 | 0.7525 | 0.7506 | 0.75 | 0.7481 | 0.75 |
68
+ | 0.1021 | 6.88 | 330 | 0.6357 | 0.8725 | 0.8684 | 0.8681 | 0.8684 |
69
+ | 0.1115 | 7.5 | 360 | 1.0796 | 0.7510 | 0.75 | 0.7452 | 0.75 |
70
+ | 0.05 | 8.12 | 390 | 0.6933 | 0.8444 | 0.8289 | 0.8264 | 0.8289 |
71
+ | 0.0419 | 8.75 | 420 | 0.7248 | 0.8295 | 0.8158 | 0.8135 | 0.8158 |
72
+ | 0.0521 | 9.38 | 450 | 1.0193 | 0.7867 | 0.7895 | 0.7848 | 0.7895 |
73
+ | 0.0197 | 10.0 | 480 | 0.7878 | 0.7867 | 0.7895 | 0.7848 | 0.7895 |
74
+ | 0.0165 | 10.62 | 510 | 1.3815 | 0.7232 | 0.7105 | 0.6969 | 0.7105 |
75
+ | 0.0321 | 11.25 | 540 | 0.9198 | 0.7867 | 0.7895 | 0.7848 | 0.7895 |
76
+ | 0.0202 | 11.88 | 570 | 0.9919 | 0.8044 | 0.8026 | 0.7993 | 0.8026 |
77
+ | 0.0046 | 12.5 | 600 | 1.1230 | 0.7622 | 0.7632 | 0.7528 | 0.7632 |
78
+ | 0.0044 | 13.12 | 630 | 0.8484 | 0.8579 | 0.8553 | 0.8551 | 0.8553 |
79
+ | 0.0019 | 13.75 | 660 | 1.0979 | 0.7925 | 0.7895 | 0.7855 | 0.7895 |
80
+ | 0.0018 | 14.38 | 690 | 1.3561 | 0.7480 | 0.75 | 0.7438 | 0.75 |
81
+ | 0.0021 | 15.0 | 720 | 1.0228 | 0.8006 | 0.8026 | 0.7991 | 0.8026 |
82
+ | 0.0014 | 15.62 | 750 | 0.9298 | 0.8422 | 0.8421 | 0.8413 | 0.8421 |
83
+ | 0.0014 | 16.25 | 780 | 0.9537 | 0.8276 | 0.8289 | 0.8274 | 0.8289 |
84
+ | 0.0012 | 16.88 | 810 | 0.9708 | 0.8276 | 0.8289 | 0.8274 | 0.8289 |
85
+ | 0.0013 | 17.5 | 840 | 1.0009 | 0.8276 | 0.8289 | 0.8274 | 0.8289 |
86
+ | 0.0011 | 18.12 | 870 | 0.9999 | 0.8037 | 0.8026 | 0.7997 | 0.8026 |
87
+ | 0.0011 | 18.75 | 900 | 0.9871 | 0.8037 | 0.8026 | 0.7997 | 0.8026 |
88
+ | 0.001 | 19.38 | 930 | 0.9885 | 0.8276 | 0.8289 | 0.8274 | 0.8289 |
89
+ | 0.001 | 20.0 | 960 | 1.0078 | 0.8276 | 0.8289 | 0.8274 | 0.8289 |
90
+ | 0.0009 | 20.62 | 990 | 1.0204 | 0.8037 | 0.8026 | 0.7997 | 0.8026 |
91
+ | 0.0008 | 21.25 | 1020 | 1.0312 | 0.8037 | 0.8026 | 0.7997 | 0.8026 |
92
+ | 0.0008 | 21.88 | 1050 | 1.0438 | 0.8037 | 0.8026 | 0.7997 | 0.8026 |
93
+ | 0.0008 | 22.5 | 1080 | 1.0647 | 0.8037 | 0.8026 | 0.7997 | 0.8026 |
94
+ | 0.0008 | 23.12 | 1110 | 1.0633 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
95
+ | 0.0007 | 23.75 | 1140 | 1.0661 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
96
+ | 0.0008 | 24.38 | 1170 | 1.0871 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
97
+ | 0.0007 | 25.0 | 1200 | 1.0965 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
98
+ | 0.0007 | 25.62 | 1230 | 1.0893 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
99
+ | 0.0007 | 26.25 | 1260 | 1.0935 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
100
+ | 0.0007 | 26.88 | 1290 | 1.0942 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
101
+ | 0.0007 | 27.5 | 1320 | 1.0949 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
102
+ | 0.0007 | 28.12 | 1350 | 1.0937 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
103
+ | 0.0007 | 28.75 | 1380 | 1.0986 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
104
+ | 0.0007 | 29.38 | 1410 | 1.1030 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
105
+ | 0.0007 | 30.0 | 1440 | 1.1031 | 0.8202 | 0.8158 | 0.8134 | 0.8158 |
106
+
107
+
108
+ ### Framework versions
109
+
110
+ - Transformers 4.37.1
111
+ - Pytorch 2.1.0+cu121
112
+ - Datasets 2.16.1
113
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-cased",
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": "Hospital-Inform",
13
+ "1": "Hospital-Request",
14
+ "2": "general-bye",
15
+ "3": "general-thank"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "label2id": {
19
+ "LABEL_0": 0,
20
+ "LABEL_1": 1,
21
+ "LABEL_2": 2,
22
+ "LABEL_3": 3
23
+ },
24
+ "max_position_embeddings": 512,
25
+ "model_type": "distilbert",
26
+ "n_heads": 12,
27
+ "n_layers": 6,
28
+ "output_past": true,
29
+ "pad_token_id": 0,
30
+ "problem_type": "single_label_classification",
31
+ "qa_dropout": 0.1,
32
+ "seq_classif_dropout": 0.2,
33
+ "sinusoidal_pos_embds": false,
34
+ "tie_weights_": true,
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.37.1",
37
+ "vocab_size": 28996
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0eb5dc4fa548153f953d6205d99d51713b4c07fb080ae568f30149cc266b2266
3
+ size 263150840
runs/Jan25_16-33-08_6162960f4225/events.out.tfevents.1706200394.6162960f4225.182.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13a198a1f0188962aaecac2b05bb09c6d086351c7cab221501a108fcf78f33cf
3
+ size 34965
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": false,
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:8bd737731b596c17a5e18419999c6482b9b8f65ed1b2b75e0eb71c2d8ad3d920
3
+ size 4664
vocab.txt ADDED
The diff for this file is too large to render. See raw diff