Training complete
Browse files- README.md +19 -17
- added_tokens.json +7 -0
- config.json +1 -1
- pytorch_model.bin +1 -1
- tokenizer_config.json +44 -2
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
|
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
datasets:
|
@@ -21,7 +22,7 @@ model-index:
|
|
21 |
metrics:
|
22 |
- name: Accuracy
|
23 |
type: accuracy
|
24 |
-
value: 0.
|
25 |
---
|
26 |
|
27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -31,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
31 |
|
32 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the clinc_oos dataset.
|
33 |
It achieves the following results on the evaluation set:
|
34 |
-
- Loss: 0.
|
35 |
-
- Accuracy: 0.
|
36 |
|
37 |
## Model description
|
38 |
|
@@ -57,26 +58,27 @@ The following hyperparameters were used during training:
|
|
57 |
- seed: 42
|
58 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
59 |
- lr_scheduler_type: linear
|
60 |
-
- num_epochs:
|
61 |
|
62 |
### Training results
|
63 |
|
64 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
65 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
66 |
-
|
|
67 |
-
|
|
68 |
-
|
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
|
|
75 |
|
76 |
|
77 |
### Framework versions
|
78 |
|
79 |
-
- Transformers 4.
|
80 |
-
- Pytorch
|
81 |
-
- Datasets 2.
|
82 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.9341935483870968
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
32 |
|
33 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the clinc_oos dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.0586
|
36 |
+
- Accuracy: 0.9342
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
58 |
- seed: 42
|
59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 10
|
62 |
|
63 |
### Training results
|
64 |
|
65 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| 0.5748 | 1.0 | 318 | 0.3326 | 0.6881 |
|
68 |
+
| 0.2709 | 2.0 | 636 | 0.1687 | 0.8652 |
|
69 |
+
| 0.1649 | 3.0 | 954 | 0.1127 | 0.9152 |
|
70 |
+
| 0.1218 | 4.0 | 1272 | 0.0873 | 0.9219 |
|
71 |
+
| 0.1 | 5.0 | 1590 | 0.0744 | 0.9290 |
|
72 |
+
| 0.0879 | 6.0 | 1908 | 0.0673 | 0.9306 |
|
73 |
+
| 0.0805 | 7.0 | 2226 | 0.0631 | 0.9365 |
|
74 |
+
| 0.0757 | 8.0 | 2544 | 0.0607 | 0.9345 |
|
75 |
+
| 0.073 | 9.0 | 2862 | 0.0592 | 0.9342 |
|
76 |
+
| 0.0714 | 10.0 | 3180 | 0.0586 | 0.9342 |
|
77 |
|
78 |
|
79 |
### Framework versions
|
80 |
|
81 |
+
- Transformers 4.34.0
|
82 |
+
- Pytorch 2.0.1+cu118
|
83 |
+
- Datasets 2.14.5
|
84 |
+
- Tokenizers 0.14.1
|
added_tokens.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[CLS]": 101,
|
3 |
+
"[MASK]": 103,
|
4 |
+
"[PAD]": 0,
|
5 |
+
"[SEP]": 102,
|
6 |
+
"[UNK]": 100
|
7 |
+
}
|
config.json
CHANGED
@@ -326,6 +326,6 @@
|
|
326 |
"sinusoidal_pos_embds": false,
|
327 |
"tie_weights_": true,
|
328 |
"torch_dtype": "float32",
|
329 |
-
"transformers_version": "4.
|
330 |
"vocab_size": 30522
|
331 |
}
|
|
|
326 |
"sinusoidal_pos_embds": false,
|
327 |
"tie_weights_": true,
|
328 |
"torch_dtype": "float32",
|
329 |
+
"transformers_version": "4.34.0",
|
330 |
"vocab_size": 30522
|
331 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 268313837
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b980810b4a416dc40ed808c24604bf7e91f662fec49f5608b01dbd60d963f2f
|
3 |
size 268313837
|
tokenizer_config.json
CHANGED
@@ -1,12 +1,54 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"cls_token": "[CLS]",
|
3 |
"do_lower_case": true,
|
4 |
"mask_token": "[MASK]",
|
5 |
"model_max_length": 512,
|
6 |
-
"name_or_path": "distilbert-base-uncased",
|
7 |
"pad_token": "[PAD]",
|
8 |
"sep_token": "[SEP]",
|
9 |
-
"special_tokens_map_file": null,
|
10 |
"strip_accents": null,
|
11 |
"tokenize_chinese_chars": true,
|
12 |
"tokenizer_class": "DistilBertTokenizer",
|
|
|
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 |
+
"additional_special_tokens": [],
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
"cls_token": "[CLS]",
|
47 |
"do_lower_case": true,
|
48 |
"mask_token": "[MASK]",
|
49 |
"model_max_length": 512,
|
|
|
50 |
"pad_token": "[PAD]",
|
51 |
"sep_token": "[SEP]",
|
|
|
52 |
"strip_accents": null,
|
53 |
"tokenize_chinese_chars": true,
|
54 |
"tokenizer_class": "DistilBertTokenizer",
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:098e1ff64934b1fec3f5767aca9a4fa705657d2d7fce9cd74acf4df388985f9e
|
3 |
+
size 4219
|