SharonTudi commited on
Commit
cb9804d
·
verified ·
1 Parent(s): 709a715

End of training

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- base_model: bert-base-cased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
@@ -18,13 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  # DIALOGUE_one
20
 
21
- This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the None dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 1.2331
24
- - Precision: 0.7635
25
- - Recall: 0.7632
26
- - F1: 0.7625
27
- - Accuracy: 0.7632
28
 
29
  ## Model description
30
 
@@ -55,54 +55,54 @@ The following hyperparameters were used during training:
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
- | 1.229 | 0.62 | 30 | 1.0350 | 0.5533 | 0.5526 | 0.4885 | 0.5526 |
59
- | 0.865 | 1.25 | 60 | 0.7887 | 0.8236 | 0.7763 | 0.7723 | 0.7763 |
60
- | 0.6577 | 1.88 | 90 | 0.6786 | 0.8159 | 0.7632 | 0.7509 | 0.7632 |
61
- | 0.4934 | 2.5 | 120 | 0.5809 | 0.8732 | 0.8289 | 0.8263 | 0.8289 |
62
- | 0.4062 | 3.12 | 150 | 0.5829 | 0.7959 | 0.7895 | 0.7904 | 0.7895 |
63
- | 0.2879 | 3.75 | 180 | 0.6573 | 0.7914 | 0.7763 | 0.7767 | 0.7763 |
64
- | 0.3208 | 4.38 | 210 | 0.6510 | 0.7684 | 0.7632 | 0.7632 | 0.7632 |
65
- | 0.2356 | 5.0 | 240 | 0.7371 | 0.8324 | 0.8026 | 0.8035 | 0.8026 |
66
- | 0.1637 | 5.62 | 270 | 0.6212 | 0.8561 | 0.8553 | 0.8548 | 0.8553 |
67
- | 0.1117 | 6.25 | 300 | 0.6782 | 0.8318 | 0.8289 | 0.8295 | 0.8289 |
68
- | 0.0484 | 6.88 | 330 | 0.8347 | 0.8217 | 0.8158 | 0.8159 | 0.8158 |
69
- | 0.0563 | 7.5 | 360 | 0.8745 | 0.8017 | 0.7895 | 0.7922 | 0.7895 |
70
- | 0.0385 | 8.12 | 390 | 0.7141 | 0.8390 | 0.8158 | 0.8173 | 0.8158 |
71
- | 0.0418 | 8.75 | 420 | 1.0020 | 0.8341 | 0.8289 | 0.8293 | 0.8289 |
72
- | 0.0423 | 9.38 | 450 | 0.8778 | 0.7639 | 0.7632 | 0.7630 | 0.7632 |
73
- | 0.0193 | 10.0 | 480 | 0.9370 | 0.8255 | 0.8026 | 0.8048 | 0.8026 |
74
- | 0.0131 | 10.62 | 510 | 1.0443 | 0.8037 | 0.7895 | 0.7908 | 0.7895 |
75
- | 0.0143 | 11.25 | 540 | 0.9799 | 0.8390 | 0.8158 | 0.8173 | 0.8158 |
76
- | 0.0111 | 11.88 | 570 | 1.1469 | 0.7656 | 0.7632 | 0.7626 | 0.7632 |
77
- | 0.0033 | 12.5 | 600 | 0.9717 | 0.7477 | 0.75 | 0.7486 | 0.75 |
78
- | 0.0016 | 13.12 | 630 | 1.0248 | 0.7809 | 0.7763 | 0.7773 | 0.7763 |
79
- | 0.0028 | 13.75 | 660 | 1.4541 | 0.7514 | 0.75 | 0.7487 | 0.75 |
80
- | 0.0045 | 14.38 | 690 | 1.2292 | 0.7656 | 0.7632 | 0.7626 | 0.7632 |
81
- | 0.0013 | 15.0 | 720 | 1.2528 | 0.7484 | 0.75 | 0.7484 | 0.75 |
82
- | 0.0011 | 15.62 | 750 | 1.2332 | 0.7484 | 0.75 | 0.7484 | 0.75 |
83
- | 0.0011 | 16.25 | 780 | 1.2946 | 0.7484 | 0.75 | 0.7484 | 0.75 |
84
- | 0.001 | 16.88 | 810 | 1.2817 | 0.7484 | 0.75 | 0.7484 | 0.75 |
85
- | 0.001 | 17.5 | 840 | 1.2400 | 0.7484 | 0.75 | 0.7484 | 0.75 |
86
- | 0.0011 | 18.12 | 870 | 1.5933 | 0.7385 | 0.7368 | 0.7323 | 0.7368 |
87
- | 0.0009 | 18.75 | 900 | 1.4288 | 0.7385 | 0.7368 | 0.7323 | 0.7368 |
88
- | 0.0008 | 19.38 | 930 | 1.2843 | 0.7656 | 0.7632 | 0.7626 | 0.7632 |
89
- | 0.0008 | 20.0 | 960 | 1.2699 | 0.7656 | 0.7632 | 0.7626 | 0.7632 |
90
- | 0.0008 | 20.62 | 990 | 1.2718 | 0.7656 | 0.7632 | 0.7626 | 0.7632 |
91
- | 0.0008 | 21.25 | 1020 | 1.2456 | 0.7656 | 0.7632 | 0.7626 | 0.7632 |
92
- | 0.0007 | 21.88 | 1050 | 1.2366 | 0.7484 | 0.75 | 0.7484 | 0.75 |
93
- | 0.0007 | 22.5 | 1080 | 1.2430 | 0.7484 | 0.75 | 0.7484 | 0.75 |
94
- | 0.0007 | 23.12 | 1110 | 1.2353 | 0.7484 | 0.75 | 0.7484 | 0.75 |
95
- | 0.0007 | 23.75 | 1140 | 1.2345 | 0.7484 | 0.75 | 0.7484 | 0.75 |
96
- | 0.0007 | 24.38 | 1170 | 1.2325 | 0.7635 | 0.7632 | 0.7625 | 0.7632 |
97
- | 0.0007 | 25.0 | 1200 | 1.2283 | 0.7484 | 0.75 | 0.7484 | 0.75 |
98
- | 0.0007 | 25.62 | 1230 | 1.2236 | 0.7635 | 0.7632 | 0.7625 | 0.7632 |
99
- | 0.0006 | 26.25 | 1260 | 1.2247 | 0.7635 | 0.7632 | 0.7625 | 0.7632 |
100
- | 0.0006 | 26.88 | 1290 | 1.2263 | 0.7635 | 0.7632 | 0.7625 | 0.7632 |
101
- | 0.0006 | 27.5 | 1320 | 1.2286 | 0.7635 | 0.7632 | 0.7625 | 0.7632 |
102
- | 0.0006 | 28.12 | 1350 | 1.2307 | 0.7635 | 0.7632 | 0.7625 | 0.7632 |
103
- | 0.0006 | 28.75 | 1380 | 1.2322 | 0.7635 | 0.7632 | 0.7625 | 0.7632 |
104
- | 0.0006 | 29.38 | 1410 | 1.2330 | 0.7635 | 0.7632 | 0.7625 | 0.7632 |
105
- | 0.0006 | 30.0 | 1440 | 1.2331 | 0.7635 | 0.7632 | 0.7625 | 0.7632 |
106
 
107
 
108
  ### Framework versions
 
1
  ---
2
  license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
 
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: 1.0122
24
+ - Precision: 0.8231
25
+ - Recall: 0.8158
26
+ - F1: 0.8165
27
+ - Accuracy: 0.8158
28
 
29
  ## Model description
30
 
 
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 1.319 | 0.62 | 30 | 1.2219 | 0.6364 | 0.4868 | 0.4265 | 0.4868 |
59
+ | 0.9623 | 1.25 | 60 | 0.9164 | 0.6857 | 0.6842 | 0.6804 | 0.6842 |
60
+ | 0.6629 | 1.88 | 90 | 0.6595 | 0.7604 | 0.7237 | 0.7224 | 0.7237 |
61
+ | 0.5046 | 2.5 | 120 | 0.5740 | 0.7927 | 0.7763 | 0.7760 | 0.7763 |
62
+ | 0.3602 | 3.12 | 150 | 0.6172 | 0.7636 | 0.7632 | 0.7621 | 0.7632 |
63
+ | 0.2774 | 3.75 | 180 | 0.6772 | 0.7717 | 0.7632 | 0.7645 | 0.7632 |
64
+ | 0.3058 | 4.38 | 210 | 0.6732 | 0.7974 | 0.7632 | 0.7632 | 0.7632 |
65
+ | 0.2064 | 5.0 | 240 | 0.7566 | 0.7947 | 0.7632 | 0.7534 | 0.7632 |
66
+ | 0.1447 | 5.62 | 270 | 0.6615 | 0.7908 | 0.7895 | 0.7892 | 0.7895 |
67
+ | 0.1764 | 6.25 | 300 | 0.6646 | 0.7908 | 0.7895 | 0.7892 | 0.7895 |
68
+ | 0.1059 | 6.88 | 330 | 0.6377 | 0.8522 | 0.8421 | 0.8417 | 0.8421 |
69
+ | 0.0871 | 7.5 | 360 | 0.6075 | 0.8311 | 0.8289 | 0.8286 | 0.8289 |
70
+ | 0.0861 | 8.12 | 390 | 0.6845 | 0.8484 | 0.8421 | 0.8410 | 0.8421 |
71
+ | 0.0693 | 8.75 | 420 | 0.6484 | 0.8598 | 0.8553 | 0.8553 | 0.8553 |
72
+ | 0.0481 | 9.38 | 450 | 0.6957 | 0.8469 | 0.8421 | 0.8419 | 0.8421 |
73
+ | 0.0405 | 10.0 | 480 | 0.7195 | 0.8598 | 0.8553 | 0.8553 | 0.8553 |
74
+ | 0.039 | 10.62 | 510 | 0.8293 | 0.8548 | 0.8421 | 0.8442 | 0.8421 |
75
+ | 0.0441 | 11.25 | 540 | 0.7293 | 0.8598 | 0.8553 | 0.8553 | 0.8553 |
76
+ | 0.0203 | 11.88 | 570 | 0.8127 | 0.8530 | 0.8421 | 0.8437 | 0.8421 |
77
+ | 0.0207 | 12.5 | 600 | 0.8381 | 0.8482 | 0.8421 | 0.8415 | 0.8421 |
78
+ | 0.0183 | 13.12 | 630 | 0.7808 | 0.8598 | 0.8553 | 0.8553 | 0.8553 |
79
+ | 0.0184 | 13.75 | 660 | 0.8203 | 0.8486 | 0.8421 | 0.8414 | 0.8421 |
80
+ | 0.0178 | 14.38 | 690 | 0.8099 | 0.8598 | 0.8553 | 0.8553 | 0.8553 |
81
+ | 0.009 | 15.0 | 720 | 0.8476 | 0.8469 | 0.8421 | 0.8425 | 0.8421 |
82
+ | 0.0029 | 15.62 | 750 | 0.8834 | 0.8375 | 0.8289 | 0.8291 | 0.8289 |
83
+ | 0.0126 | 16.25 | 780 | 0.9205 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
84
+ | 0.0026 | 16.88 | 810 | 0.9224 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
85
+ | 0.0024 | 17.5 | 840 | 0.8937 | 0.8469 | 0.8421 | 0.8425 | 0.8421 |
86
+ | 0.0029 | 18.12 | 870 | 1.0012 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
87
+ | 0.0021 | 18.75 | 900 | 0.9384 | 0.7969 | 0.7895 | 0.7912 | 0.7895 |
88
+ | 0.0019 | 19.38 | 930 | 0.9420 | 0.8097 | 0.8026 | 0.8039 | 0.8026 |
89
+ | 0.0019 | 20.0 | 960 | 0.9681 | 0.7969 | 0.7895 | 0.7912 | 0.7895 |
90
+ | 0.0018 | 20.62 | 990 | 0.9838 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
91
+ | 0.0016 | 21.25 | 1020 | 0.9798 | 0.7969 | 0.7895 | 0.7912 | 0.7895 |
92
+ | 0.0016 | 21.88 | 1050 | 0.9765 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
93
+ | 0.0014 | 22.5 | 1080 | 0.9906 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
94
+ | 0.0014 | 23.12 | 1110 | 0.9857 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
95
+ | 0.0015 | 23.75 | 1140 | 1.0050 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
96
+ | 0.0013 | 24.38 | 1170 | 1.0049 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
97
+ | 0.0013 | 25.0 | 1200 | 1.0078 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
98
+ | 0.0013 | 25.62 | 1230 | 1.0083 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
99
+ | 0.0012 | 26.25 | 1260 | 1.0051 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
100
+ | 0.0013 | 26.88 | 1290 | 1.0121 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
101
+ | 0.0012 | 27.5 | 1320 | 1.0127 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
102
+ | 0.0012 | 28.12 | 1350 | 1.0134 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
103
+ | 0.0012 | 28.75 | 1380 | 1.0119 | 0.8347 | 0.8289 | 0.8296 | 0.8289 |
104
+ | 0.0012 | 29.38 | 1410 | 1.0122 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
105
+ | 0.0012 | 30.0 | 1440 | 1.0122 | 0.8231 | 0.8158 | 0.8165 | 0.8158 |
106
 
107
 
108
  ### Framework versions
config.json CHANGED
@@ -1,14 +1,13 @@
1
  {
2
- "_name_or_path": "bert-base-cased",
 
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
  "id2label": {
13
  "0": "Hospital-Inform",
14
  "1": "Hospital-Request",
@@ -16,24 +15,23 @@
16
  "3": "general-thank"
17
  },
18
  "initializer_range": 0.02,
19
- "intermediate_size": 3072,
20
  "label2id": {
21
  "LABEL_0": 0,
22
  "LABEL_1": 1,
23
  "LABEL_2": 2,
24
  "LABEL_3": 3
25
  },
26
- "layer_norm_eps": 1e-12,
27
  "max_position_embeddings": 512,
28
- "model_type": "bert",
29
- "num_attention_heads": 12,
30
- "num_hidden_layers": 12,
31
  "pad_token_id": 0,
32
- "position_embedding_type": "absolute",
33
  "problem_type": "single_label_classification",
 
 
 
 
34
  "torch_dtype": "float32",
35
  "transformers_version": "4.36.2",
36
- "type_vocab_size": 2,
37
- "use_cache": true,
38
- "vocab_size": 28996
39
  }
 
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",
 
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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f289213bdf7cd4d47ef304341a3eedbae9d979a01cfb3a7f8903dd29ded6293a
3
- size 433276920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2757aaa3df86b4f95a544bb0d0fd3a1717cee110c447139a5b84272ce0de25c
3
+ size 267838720
runs/Jan22_11-04-37_e9a77ba5e600/events.out.tfevents.1705921485.e9a77ba5e600.245.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f891e93610c46d62b82aeea4089c50009dda7845a32a36e1c34d31479c56d684
3
+ size 34933
tokenizer_config.json CHANGED
@@ -44,7 +44,7 @@
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,
@@ -52,6 +52,6 @@
52
  "sep_token": "[SEP]",
53
  "strip_accents": null,
54
  "tokenize_chinese_chars": true,
55
- "tokenizer_class": "BertTokenizer",
56
  "unk_token": "[UNK]"
57
  }
 
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,
 
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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:88e2f7149f0d113e95e3b4cb9549c76b64e7d131377e2c6236f5b6794ea70371
3
  size 4664
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b24232bd4e67118b51e017ddf00d540d493c23deae8feb6183ca89139478a5b
3
  size 4664
vocab.txt CHANGED
The diff for this file is too large to render. See raw diff