SharonTudi commited on
Commit
a87ae4a
·
verified ·
1 Parent(s): b08b62f

End of training

Browse files
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
  license: apache-2.0
3
- base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
7
  - accuracy
 
 
 
8
  model-index:
9
  - name: DIALOGUE_four_model
10
  results: []
@@ -15,10 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # DIALOGUE_four_model
17
 
18
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.0457
21
- - Accuracy: 0.9902
 
 
 
22
 
23
  ## Model description
24
 
@@ -47,17 +53,17 @@ The following hyperparameters were used during training:
47
 
48
  ### Training results
49
 
50
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
- | 0.083 | 0.31 | 15 | 0.0933 | 0.9706 |
53
- | 0.0508 | 0.62 | 30 | 0.0409 | 0.9902 |
54
- | 0.0158 | 0.94 | 45 | 0.0600 | 0.9902 |
55
- | 0.013 | 1.25 | 60 | 0.0626 | 0.9902 |
56
- | 0.0052 | 1.56 | 75 | 0.0451 | 0.9804 |
57
- | 0.0045 | 1.88 | 90 | 0.0422 | 0.9902 |
58
- | 0.0035 | 2.19 | 105 | 0.0446 | 0.9902 |
59
- | 0.0031 | 2.5 | 120 | 0.0457 | 0.9902 |
60
- | 0.0034 | 2.81 | 135 | 0.0457 | 0.9902 |
61
 
62
 
63
  ### Framework versions
 
1
  ---
2
  license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
7
  - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
  model-index:
12
  - name: DIALOGUE_four_model
13
  results: []
 
18
 
19
  # DIALOGUE_four_model
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.1237
24
+ - Accuracy: 0.9737
25
+ - Precision: 0.9762
26
+ - Recall: 0.9737
27
+ - F1: 0.9736
28
 
29
  ## Model description
30
 
 
53
 
54
  ### Training results
55
 
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
+ | 1.2597 | 0.31 | 15 | 1.0370 | 0.7105 | 0.6143 | 0.7105 | 0.6481 |
59
+ | 0.857 | 0.62 | 30 | 0.5686 | 0.9474 | 0.9565 | 0.9474 | 0.9468 |
60
+ | 0.5836 | 0.94 | 45 | 0.3401 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
61
+ | 0.317 | 1.25 | 60 | 0.2230 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
62
+ | 0.2482 | 1.56 | 75 | 0.1819 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
63
+ | 0.1655 | 1.88 | 90 | 0.1573 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
64
+ | 0.0814 | 2.19 | 105 | 0.1175 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
65
+ | 0.1098 | 2.5 | 120 | 0.1131 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
66
+ | 0.0862 | 2.81 | 135 | 0.1237 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
67
 
68
 
69
  ### Framework versions
config.json CHANGED
@@ -1,39 +1,37 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
 
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": "LABEL_0",
14
- "1": "LABEL_1",
15
- "2": "LABEL_2",
16
- "3": "LABEL_3"
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": 30522
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",
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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce3d990347a3a3b76974b4a5ecff762ff7d74d6a31074464047477bddef4b140
3
- size 437964800
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97bc6eaa84364625f9a016297d4e47d705a9a4f10b0f4207ca4004a216b1895e
3
+ size 267838720
runs/Jan16_10-40-30_745092e66db7/events.out.tfevents.1705401659.745092e66db7.965.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:305c1476400cd2b718d59e38ac5df69ad6421848568da2605212760470752134
3
+ size 10387
tokenizer_config.json CHANGED
@@ -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
  }
 
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:dcb8880fed2ed269f7a447835df2416331cecaa81f998f2b9229b2b7340067bd
3
  size 4728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6899d300faa8743b4a2db69a82f724ab41309451bbe52accba9e4002c63cb129
3
  size 4728