SharonTudi commited on
Commit
c30f396
1 Parent(s): e87f45e

End of training

Browse files
README.md ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: DIALOGUE_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
+ # DIALOGUE_one
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.2117
24
+ - Precision: 0.9762
25
+ - Recall: 0.9737
26
+ - F1: 0.9736
27
+ - Accuracy: 0.9737
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: 3e-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
+ | 0.9949 | 0.62 | 30 | 0.4697 | 0.9659 | 0.9605 | 0.9603 | 0.9605 |
59
+ | 0.3831 | 1.25 | 60 | 0.1338 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
60
+ | 0.1135 | 1.88 | 90 | 0.1407 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
61
+ | 0.0256 | 2.5 | 120 | 0.1359 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
62
+ | 0.0126 | 3.12 | 150 | 0.1449 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
63
+ | 0.0227 | 3.75 | 180 | 0.1552 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
64
+ | 0.0051 | 4.38 | 210 | 0.1573 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
65
+ | 0.0037 | 5.0 | 240 | 0.1594 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
66
+ | 0.003 | 5.62 | 270 | 0.1626 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
67
+ | 0.0024 | 6.25 | 300 | 0.1645 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
68
+ | 0.0021 | 6.88 | 330 | 0.1737 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
69
+ | 0.0018 | 7.5 | 360 | 0.1759 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
70
+ | 0.0015 | 8.12 | 390 | 0.1774 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
71
+ | 0.0014 | 8.75 | 420 | 0.1801 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
72
+ | 0.0013 | 9.38 | 450 | 0.1837 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
73
+ | 0.0011 | 10.0 | 480 | 0.1852 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
74
+ | 0.001 | 10.62 | 510 | 0.1878 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
75
+ | 0.0009 | 11.25 | 540 | 0.1892 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
76
+ | 0.0009 | 11.88 | 570 | 0.1939 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
77
+ | 0.0008 | 12.5 | 600 | 0.1948 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
78
+ | 0.0008 | 13.12 | 630 | 0.1961 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
79
+ | 0.0007 | 13.75 | 660 | 0.1965 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
80
+ | 0.0007 | 14.38 | 690 | 0.1972 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
81
+ | 0.0006 | 15.0 | 720 | 0.1988 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
82
+ | 0.0006 | 15.62 | 750 | 0.1993 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
83
+ | 0.0005 | 16.25 | 780 | 0.2006 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
84
+ | 0.0005 | 16.88 | 810 | 0.2020 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
85
+ | 0.0005 | 17.5 | 840 | 0.2031 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
86
+ | 0.0005 | 18.12 | 870 | 0.2045 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
87
+ | 0.0005 | 18.75 | 900 | 0.2054 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
88
+ | 0.0004 | 19.38 | 930 | 0.2051 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
89
+ | 0.0004 | 20.0 | 960 | 0.2053 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
90
+ | 0.0004 | 20.62 | 990 | 0.2058 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
91
+ | 0.0004 | 21.25 | 1020 | 0.2069 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
92
+ | 0.0004 | 21.88 | 1050 | 0.2076 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
93
+ | 0.0004 | 22.5 | 1080 | 0.2079 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
94
+ | 0.0004 | 23.12 | 1110 | 0.2084 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
95
+ | 0.0004 | 23.75 | 1140 | 0.2092 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
96
+ | 0.0004 | 24.38 | 1170 | 0.2095 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
97
+ | 0.0004 | 25.0 | 1200 | 0.2100 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
98
+ | 0.0004 | 25.62 | 1230 | 0.2104 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
99
+ | 0.0003 | 26.25 | 1260 | 0.2109 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
100
+ | 0.0003 | 26.88 | 1290 | 0.2111 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
101
+ | 0.0003 | 27.5 | 1320 | 0.2113 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
102
+ | 0.0003 | 28.12 | 1350 | 0.2115 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
103
+ | 0.0003 | 28.75 | 1380 | 0.2116 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
104
+ | 0.0003 | 29.38 | 1410 | 0.2117 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
105
+ | 0.0004 | 30.0 | 1440 | 0.2117 | 0.9762 | 0.9737 | 0.9736 | 0.9737 |
106
+
107
+
108
+ ### Framework versions
109
+
110
+ - Transformers 4.36.2
111
+ - Pytorch 2.1.0+cu121
112
+ - Datasets 2.16.1
113
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "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
+ "pad_token_id": 0,
29
+ "problem_type": "single_label_classification",
30
+ "qa_dropout": 0.1,
31
+ "seq_classif_dropout": 0.2,
32
+ "sinusoidal_pos_embds": false,
33
+ "tie_weights_": true,
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.36.2",
36
+ "vocab_size": 30522
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8c2542f227b09948b08a109b7e9df104912a38d71129c457dca1e4222c213f9
3
+ size 267838720
runs/Jan18_11-05-29_3c59cc46f7a9/events.out.tfevents.1705575934.3c59cc46f7a9.1662.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e8a3ff55783e1b053fb55341c0d1e042477f32e51dcc92c2cafe26c5063d49e
3
+ size 4602
runs/Jan18_11-07-29_3c59cc46f7a9/events.out.tfevents.1705576051.3c59cc46f7a9.1662.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:538ac6738de7164cf474de2ea9affbaa6ebff58ca2873e350b8929435d0bdeae
3
+ size 34946
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:6d58b5206d1611160200b55f1a865681e96e5b5abd977e0792ff043a158d24d1
3
+ size 4664
vocab.txt ADDED
The diff for this file is too large to render. See raw diff