Porameht commited on
Commit
a28bc62
·
verified ·
1 Parent(s): 7183511

Training in progress, epoch 1

Browse files
Files changed (4) hide show
  1. README.md +28 -19
  2. config.json +20 -20
  3. model.safetensors +1 -1
  4. training_args.bin +1 -1
README.md CHANGED
@@ -1,7 +1,6 @@
1
  ---
2
  library_name: transformers
3
- license: apache-2.0
4
- base_model: google-bert/bert-base-uncased
5
  tags:
6
  - generated_from_trainer
7
  metrics:
@@ -10,21 +9,21 @@ metrics:
10
  - precision
11
  - recall
12
  model-index:
13
- - name: bert-base-uncased-intent-booking
14
  results: []
15
  ---
16
 
17
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
  should probably proofread and complete it, then remove this comment. -->
19
 
20
- # bert-base-uncased-intent-booking
21
 
22
- This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
23
  It achieves the following results on the evaluation set:
24
- - Loss: 2.1507
25
  - Accuracy: 0.1937
26
- - F1: 0.1640
27
- - Precision: 0.2456
28
  - Recall: 0.1937
29
 
30
  ## Model description
@@ -51,22 +50,32 @@ The following hyperparameters were used during training:
51
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
  - lr_scheduler_type: linear
53
  - lr_scheduler_warmup_steps: 64
54
- - num_epochs: 10
55
 
56
  ### Training results
57
 
58
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
- | 2.3281 | 1.0 | 65 | 2.2466 | 0.1532 | 0.0892 | 0.0818 | 0.1532 |
61
- | 2.2842 | 2.0 | 130 | 2.2080 | 0.1757 | 0.1264 | 0.1989 | 0.1757 |
62
- | 2.241 | 3.0 | 195 | 2.1896 | 0.1847 | 0.1334 | 0.1353 | 0.1847 |
63
- | 2.2074 | 4.0 | 260 | 2.1692 | 0.1577 | 0.1349 | 0.3182 | 0.1577 |
64
- | 2.1731 | 5.0 | 325 | 2.1473 | 0.1847 | 0.1354 | 0.1976 | 0.1847 |
65
- | 2.1499 | 6.0 | 390 | 2.1371 | 0.1847 | 0.1455 | 0.2236 | 0.1847 |
66
- | 2.111 | 7.0 | 455 | 2.1510 | 0.1757 | 0.1511 | 0.2523 | 0.1757 |
67
- | 2.0868 | 8.0 | 520 | 2.1421 | 0.1892 | 0.1549 | 0.3178 | 0.1892 |
68
- | 2.0654 | 9.0 | 585 | 2.1348 | 0.2027 | 0.1896 | 0.4106 | 0.2027 |
69
- | 2.0593 | 10.0 | 650 | 2.1305 | 0.1982 | 0.1814 | 0.3549 | 0.1982 |
 
 
 
 
 
 
 
 
 
 
70
 
71
 
72
  ### Framework versions
 
1
  ---
2
  library_name: transformers
3
+ base_model: monsoon-nlp/bert-base-thai
 
4
  tags:
5
  - generated_from_trainer
6
  metrics:
 
9
  - precision
10
  - recall
11
  model-index:
12
+ - name: bert-base-thai-intent-booking
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
+ # bert-base-thai-intent-booking
20
 
21
+ This model is a fine-tuned version of [monsoon-nlp/bert-base-thai](https://huggingface.co/monsoon-nlp/bert-base-thai) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 2.1511
24
  - Accuracy: 0.1937
25
+ - F1: 0.1641
26
+ - Precision: 0.2236
27
  - Recall: 0.1937
28
 
29
  ## Model description
 
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
52
  - lr_scheduler_warmup_steps: 64
53
+ - num_epochs: 20
54
 
55
  ### Training results
56
 
57
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
58
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
59
+ | 2.368 | 1.0 | 65 | 2.3624 | 0.0901 | 0.0149 | 0.0081 | 0.0901 |
60
+ | 2.3586 | 2.0 | 130 | 2.2374 | 0.1577 | 0.0963 | 0.1107 | 0.1577 |
61
+ | 2.2987 | 3.0 | 195 | 2.2589 | 0.1216 | 0.0626 | 0.0890 | 0.1216 |
62
+ | 2.279 | 4.0 | 260 | 2.1771 | 0.1757 | 0.1329 | 0.2163 | 0.1757 |
63
+ | 2.2326 | 5.0 | 325 | 2.2099 | 0.2027 | 0.1548 | 0.1497 | 0.2027 |
64
+ | 2.2273 | 6.0 | 390 | 2.1809 | 0.1712 | 0.1245 | 0.1127 | 0.1712 |
65
+ | 2.2303 | 7.0 | 455 | 2.2168 | 0.1486 | 0.1030 | 0.1190 | 0.1486 |
66
+ | 2.196 | 8.0 | 520 | 2.1862 | 0.1937 | 0.1478 | 0.1615 | 0.1937 |
67
+ | 2.1848 | 9.0 | 585 | 2.1320 | 0.2162 | 0.1773 | 0.2192 | 0.2162 |
68
+ | 2.183 | 10.0 | 650 | 2.1771 | 0.1712 | 0.1240 | 0.1703 | 0.1712 |
69
+ | 2.1669 | 11.0 | 715 | 2.1672 | 0.2117 | 0.1849 | 0.2453 | 0.2117 |
70
+ | 2.1586 | 12.0 | 780 | 2.1237 | 0.2162 | 0.1939 | 0.3552 | 0.2162 |
71
+ | 2.1465 | 13.0 | 845 | 2.1269 | 0.2117 | 0.1834 | 0.2440 | 0.2117 |
72
+ | 2.1454 | 14.0 | 910 | 2.1160 | 0.2162 | 0.1939 | 0.3552 | 0.2162 |
73
+ | 2.1404 | 15.0 | 975 | 2.1089 | 0.2162 | 0.1936 | 0.3561 | 0.2162 |
74
+ | 2.1293 | 16.0 | 1040 | 2.1272 | 0.2162 | 0.1947 | 0.3584 | 0.2162 |
75
+ | 2.1193 | 17.0 | 1105 | 2.1043 | 0.2117 | 0.1836 | 0.2431 | 0.2117 |
76
+ | 2.1094 | 18.0 | 1170 | 2.1053 | 0.2117 | 0.1895 | 0.2977 | 0.2117 |
77
+ | 2.1063 | 19.0 | 1235 | 2.1055 | 0.2117 | 0.1901 | 0.2989 | 0.2117 |
78
+ | 2.0888 | 20.0 | 1300 | 2.1067 | 0.2117 | 0.1895 | 0.2977 | 0.2117 |
79
 
80
 
81
  ### Framework versions
config.json CHANGED
@@ -10,30 +10,30 @@
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
- "4": "LABEL_4",
18
- "5": "LABEL_5",
19
- "6": "LABEL_6",
20
- "7": "LABEL_7",
21
- "8": "LABEL_8",
22
- "9": "LABEL_9"
23
  },
24
  "initializer_range": 0.02,
25
  "intermediate_size": 3072,
26
  "label2id": {
27
- "LABEL_0": 0,
28
- "LABEL_1": 1,
29
- "LABEL_2": 2,
30
- "LABEL_3": 3,
31
- "LABEL_4": 4,
32
- "LABEL_5": 5,
33
- "LABEL_6": 6,
34
- "LABEL_7": 7,
35
- "LABEL_8": 8,
36
- "LABEL_9": 9
37
  },
38
  "layer_norm_eps": 1e-12,
39
  "max_position_embeddings": 512,
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "0": "Inquire Facilities",
14
+ "1": "Ask for Information",
15
+ "2": "Modify Reservation",
16
+ "3": "Request Special Service",
17
+ "4": "Cancel Reservation",
18
+ "5": "Check Availability",
19
+ "6": "Make Reservation",
20
+ "7": "Suggest Attractions",
21
+ "8": "Greeting",
22
+ "9": "Verify Reservation"
23
  },
24
  "initializer_range": 0.02,
25
  "intermediate_size": 3072,
26
  "label2id": {
27
+ "Ask for Information": 1,
28
+ "Cancel Reservation": 4,
29
+ "Check Availability": 5,
30
+ "Greeting": 8,
31
+ "Inquire Facilities": 0,
32
+ "Make Reservation": 6,
33
+ "Modify Reservation": 2,
34
+ "Request Special Service": 3,
35
+ "Suggest Attractions": 7,
36
+ "Verify Reservation": 9
37
  },
38
  "layer_norm_eps": 1e-12,
39
  "max_position_embeddings": 512,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2dd5bd0f170310033662aff3710fd18e9ecd438cad53b9ba5a6fa30e28b1b07e
3
  size 437983256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04d7bbaf57bf893df04fa7dd543e8920ac0485f037622ecb9d55a05f390f800a
3
  size 437983256
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f6ea6335f94568c251e66c6037937c32dc2d78e95a33c2aeacf121b19b1f403
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac7a48a4d68002d37b3ee10c79ad9d05e3135a17eba07104fa8497b126321698
3
  size 5240