SharonTudi commited on
Commit
740914b
·
verified ·
1 Parent(s): 7a613b2

End of training

Browse files
README.md CHANGED
@@ -1,8 +1,13 @@
1
  ---
2
  license: apache-2.0
3
- base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
 
 
 
 
 
6
  model-index:
7
  - name: DIALOGUE_five_model
8
  results: []
@@ -13,15 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # DIALOGUE_five_model
15
 
16
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
17
  It achieves the following results on the evaluation set:
18
- - eval_loss: 0.1106
19
- - eval_accuracy: 0.9902
20
- - eval_runtime: 1.2371
21
- - eval_samples_per_second: 82.453
22
- - eval_steps_per_second: 10.509
23
- - epoch: 1.88
24
- - step: 90
25
 
26
  ## Model description
27
 
@@ -40,7 +43,7 @@ More information needed
40
  ### Training hyperparameters
41
 
42
  The following hyperparameters were used during training:
43
- - learning_rate: 3e-05
44
  - train_batch_size: 8
45
  - eval_batch_size: 8
46
  - seed: 42
@@ -48,6 +51,21 @@ The following hyperparameters were used during training:
48
  - lr_scheduler_type: linear
49
  - num_epochs: 3
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  ### Framework versions
52
 
53
  - Transformers 4.36.2
 
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_five_model
13
  results: []
 
18
 
19
  # DIALOGUE_five_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.4632
24
+ - Accuracy: 0.9342
25
+ - Precision: 0.9421
26
+ - Recall: 0.9342
27
+ - F1: 0.9313
 
 
28
 
29
  ## Model description
30
 
 
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
+ - learning_rate: 0.00012
47
  - train_batch_size: 8
48
  - eval_batch_size: 8
49
  - seed: 42
 
51
  - lr_scheduler_type: linear
52
  - num_epochs: 3
53
 
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
+ | 0.1351 | 0.31 | 15 | 0.1519 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
59
+ | 0.0519 | 0.62 | 30 | 0.2044 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
60
+ | 0.0728 | 0.94 | 45 | 0.1813 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
61
+ | 0.0017 | 1.25 | 60 | 0.0108 | 1.0 | 1.0 | 1.0 | 1.0 |
62
+ | 0.0492 | 1.56 | 75 | 0.3072 | 0.9342 | 0.9421 | 0.9342 | 0.9313 |
63
+ | 0.0881 | 1.88 | 90 | 0.1682 | 0.9737 | 0.9762 | 0.9737 | 0.9736 |
64
+ | 0.0018 | 2.19 | 105 | 0.3500 | 0.9342 | 0.9421 | 0.9342 | 0.9313 |
65
+ | 0.0008 | 2.5 | 120 | 0.4114 | 0.9342 | 0.9421 | 0.9342 | 0.9313 |
66
+ | 0.0011 | 2.81 | 135 | 0.4632 | 0.9342 | 0.9421 | 0.9342 | 0.9313 |
67
+
68
+
69
  ### Framework versions
70
 
71
  - Transformers 4.36.2
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:cf1b9d9bcd8bec5ca7b82c25c94976d1c495d55eac2a823e832d9689b4620256
3
- size 437964800
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03296576272917aad8f08c5cec875124527920671c9cd56fdefdc11b0b9a7633
3
+ size 267838720
runs/Jan16_10-57-54_745092e66db7/events.out.tfevents.1705402688.745092e66db7.965.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e9bfb90b2fade6818c470b34566c995f26c42a609b6ab42ae1b9489598b6674
3
+ size 10480
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:7ffd96bd074c020111a8f26f6fb5eaa5709f99dec8ba0d2e84b3f8e4508ad7fc
3
  size 4728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c00aed96eab2e103b39781b96d424bc72a596207866310fd884d8a175a71bdee
3
  size 4728