End of training
Browse files- README.md +110 -0
- config.json +25 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert-base-uncased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- matthews_correlation
|
9 |
+
model-index:
|
10 |
+
- name: distilbert-base-uncased-finetuned-cola
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# distilbert-base-uncased-finetuned-cola
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.6117
|
22 |
+
- Matthews Correlation: 0.5489
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 2e-05
|
42 |
+
- train_batch_size: 16
|
43 |
+
- eval_batch_size: 16
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 50
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
|
52 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------------------:|
|
53 |
+
| 0.5247 | 1.0 | 535 | 0.4696 | 0.4358 |
|
54 |
+
| 0.3581 | 2.0 | 1070 | 0.4678 | 0.5081 |
|
55 |
+
| 0.2448 | 3.0 | 1605 | 0.5805 | 0.5089 |
|
56 |
+
| 0.1893 | 4.0 | 2140 | 0.7913 | 0.5332 |
|
57 |
+
| 0.1452 | 5.0 | 2675 | 0.8406 | 0.5127 |
|
58 |
+
| 0.1244 | 6.0 | 3210 | 0.9495 | 0.5406 |
|
59 |
+
| 0.1044 | 7.0 | 3745 | 0.9900 | 0.5089 |
|
60 |
+
| 0.0767 | 8.0 | 4280 | 1.1411 | 0.5235 |
|
61 |
+
| 0.0618 | 9.0 | 4815 | 1.1395 | 0.5181 |
|
62 |
+
| 0.0607 | 10.0 | 5350 | 1.2811 | 0.5081 |
|
63 |
+
| 0.0617 | 11.0 | 5885 | 1.2854 | 0.5207 |
|
64 |
+
| 0.0455 | 12.0 | 6420 | 1.3853 | 0.5174 |
|
65 |
+
| 0.0377 | 13.0 | 6955 | 1.5257 | 0.5242 |
|
66 |
+
| 0.0308 | 14.0 | 7490 | 1.6128 | 0.5159 |
|
67 |
+
| 0.0214 | 15.0 | 8025 | 1.6524 | 0.4882 |
|
68 |
+
| 0.0292 | 16.0 | 8560 | 1.4723 | 0.5331 |
|
69 |
+
| 0.0269 | 17.0 | 9095 | 1.5875 | 0.5154 |
|
70 |
+
| 0.0232 | 18.0 | 9630 | 1.6217 | 0.5171 |
|
71 |
+
| 0.0334 | 19.0 | 10165 | 1.5183 | 0.5282 |
|
72 |
+
| 0.0247 | 20.0 | 10700 | 1.6117 | 0.5489 |
|
73 |
+
| 0.0168 | 21.0 | 11235 | 1.6357 | 0.5452 |
|
74 |
+
| 0.0172 | 22.0 | 11770 | 1.7956 | 0.5378 |
|
75 |
+
| 0.0187 | 23.0 | 12305 | 1.5658 | 0.5260 |
|
76 |
+
| 0.0206 | 24.0 | 12840 | 1.6623 | 0.5246 |
|
77 |
+
| 0.0188 | 25.0 | 13375 | 1.8499 | 0.5195 |
|
78 |
+
| 0.0096 | 26.0 | 13910 | 1.8293 | 0.5229 |
|
79 |
+
| 0.0083 | 27.0 | 14445 | 1.5991 | 0.5403 |
|
80 |
+
| 0.0218 | 28.0 | 14980 | 1.8168 | 0.4840 |
|
81 |
+
| 0.0096 | 29.0 | 15515 | 1.7009 | 0.5215 |
|
82 |
+
| 0.0114 | 30.0 | 16050 | 1.7343 | 0.5426 |
|
83 |
+
| 0.0095 | 31.0 | 16585 | 1.8909 | 0.5073 |
|
84 |
+
| 0.0094 | 32.0 | 17120 | 1.7644 | 0.5328 |
|
85 |
+
| 0.0106 | 33.0 | 17655 | 1.6923 | 0.5348 |
|
86 |
+
| 0.0089 | 34.0 | 18190 | 1.9452 | 0.5097 |
|
87 |
+
| 0.0075 | 35.0 | 18725 | 1.7923 | 0.5343 |
|
88 |
+
| 0.0078 | 36.0 | 19260 | 1.7430 | 0.5365 |
|
89 |
+
| 0.0097 | 37.0 | 19795 | 1.8556 | 0.5147 |
|
90 |
+
| 0.0058 | 38.0 | 20330 | 1.9414 | 0.5084 |
|
91 |
+
| 0.0055 | 39.0 | 20865 | 1.8769 | 0.5400 |
|
92 |
+
| 0.0037 | 40.0 | 21400 | 1.9577 | 0.5288 |
|
93 |
+
| 0.0035 | 41.0 | 21935 | 2.0144 | 0.5227 |
|
94 |
+
| 0.0034 | 42.0 | 22470 | 2.0151 | 0.5150 |
|
95 |
+
| 0.0033 | 43.0 | 23005 | 2.0254 | 0.5238 |
|
96 |
+
| 0.002 | 44.0 | 23540 | 2.0601 | 0.5262 |
|
97 |
+
| 0.0048 | 45.0 | 24075 | 1.9922 | 0.5392 |
|
98 |
+
| 0.0054 | 46.0 | 24610 | 2.0499 | 0.5285 |
|
99 |
+
| 0.0055 | 47.0 | 25145 | 2.0038 | 0.5466 |
|
100 |
+
| 0.0044 | 48.0 | 25680 | 2.0758 | 0.5206 |
|
101 |
+
| 0.0033 | 49.0 | 26215 | 2.0514 | 0.5219 |
|
102 |
+
| 0.0042 | 50.0 | 26750 | 2.0506 | 0.5245 |
|
103 |
+
|
104 |
+
|
105 |
+
### Framework versions
|
106 |
+
|
107 |
+
- Transformers 4.46.3
|
108 |
+
- Pytorch 2.4.1+cu121
|
109 |
+
- Datasets 3.1.0
|
110 |
+
- Tokenizers 0.20.3
|
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"initializer_range": 0.02,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "distilbert",
|
14 |
+
"n_heads": 12,
|
15 |
+
"n_layers": 6,
|
16 |
+
"pad_token_id": 0,
|
17 |
+
"problem_type": "single_label_classification",
|
18 |
+
"qa_dropout": 0.1,
|
19 |
+
"seq_classif_dropout": 0.2,
|
20 |
+
"sinusoidal_pos_embds": false,
|
21 |
+
"tie_weights_": true,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.46.3",
|
24 |
+
"vocab_size": 30522
|
25 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbb9e1012c5f8a9b6db4bbc26e9a37645a62a6d27a1f305560215b48cf0492c5
|
3 |
+
size 267832560
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"clean_up_tokenization_spaces": false,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "DistilBertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:013c83847a196d63623f8b83a65aad197246d89b09d192d772a7977245a1b8a5
|
3 |
+
size 5368
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|