End of training
Browse files- README.md +100 -0
- config.json +42 -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,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert/distilbert-base-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- f1
|
8 |
+
model-index:
|
9 |
+
- name: distilbert-base-cased-airlines-news-multi-label
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# distilbert-base-cased-airlines-news-multi-label
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [distilbert/distilbert-base-cased](https://huggingface.co/distilbert/distilbert-base-cased) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.3172
|
21 |
+
- F1: 0.8338
|
22 |
+
- Roc Auc: 0.5031
|
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: 2.5e-05
|
42 |
+
- train_batch_size: 24
|
43 |
+
- eval_batch_size: 24
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 40
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|
|
53 |
+
| No log | 1.0 | 72 | 0.4599 | 0.8169 | 0.5 |
|
54 |
+
| No log | 2.0 | 144 | 0.3754 | 0.8169 | 0.5 |
|
55 |
+
| No log | 3.0 | 216 | 0.3603 | 0.8169 | 0.5 |
|
56 |
+
| No log | 4.0 | 288 | 0.3564 | 0.8169 | 0.5 |
|
57 |
+
| No log | 5.0 | 360 | 0.3539 | 0.8169 | 0.5 |
|
58 |
+
| No log | 6.0 | 432 | 0.3517 | 0.8169 | 0.5 |
|
59 |
+
| 0.391 | 7.0 | 504 | 0.3497 | 0.8169 | 0.5 |
|
60 |
+
| 0.391 | 8.0 | 576 | 0.3475 | 0.8169 | 0.5 |
|
61 |
+
| 0.391 | 9.0 | 648 | 0.3456 | 0.8169 | 0.5 |
|
62 |
+
| 0.391 | 10.0 | 720 | 0.3435 | 0.8169 | 0.5 |
|
63 |
+
| 0.391 | 11.0 | 792 | 0.3413 | 0.8169 | 0.5 |
|
64 |
+
| 0.391 | 12.0 | 864 | 0.3394 | 0.8169 | 0.5 |
|
65 |
+
| 0.391 | 13.0 | 936 | 0.3373 | 0.8169 | 0.5 |
|
66 |
+
| 0.3372 | 14.0 | 1008 | 0.3354 | 0.8169 | 0.5 |
|
67 |
+
| 0.3372 | 15.0 | 1080 | 0.3338 | 0.8169 | 0.5 |
|
68 |
+
| 0.3372 | 16.0 | 1152 | 0.3322 | 0.8169 | 0.5 |
|
69 |
+
| 0.3372 | 17.0 | 1224 | 0.3307 | 0.8169 | 0.5 |
|
70 |
+
| 0.3372 | 18.0 | 1296 | 0.3288 | 0.8169 | 0.5 |
|
71 |
+
| 0.3372 | 19.0 | 1368 | 0.3275 | 0.8169 | 0.5 |
|
72 |
+
| 0.3372 | 20.0 | 1440 | 0.3261 | 0.8169 | 0.5 |
|
73 |
+
| 0.3245 | 21.0 | 1512 | 0.3249 | 0.8169 | 0.5 |
|
74 |
+
| 0.3245 | 22.0 | 1584 | 0.3235 | 0.8169 | 0.5 |
|
75 |
+
| 0.3245 | 23.0 | 1656 | 0.3225 | 0.8169 | 0.5 |
|
76 |
+
| 0.3245 | 24.0 | 1728 | 0.3214 | 0.8169 | 0.5 |
|
77 |
+
| 0.3245 | 25.0 | 1800 | 0.3204 | 0.8169 | 0.5 |
|
78 |
+
| 0.3245 | 26.0 | 1872 | 0.3195 | 0.8169 | 0.5 |
|
79 |
+
| 0.3245 | 27.0 | 1944 | 0.3187 | 0.8169 | 0.5 |
|
80 |
+
| 0.3152 | 28.0 | 2016 | 0.3179 | 0.8169 | 0.5 |
|
81 |
+
| 0.3152 | 29.0 | 2088 | 0.3172 | 0.8338 | 0.5031 |
|
82 |
+
| 0.3152 | 30.0 | 2160 | 0.3165 | 0.8338 | 0.5031 |
|
83 |
+
| 0.3152 | 31.0 | 2232 | 0.3161 | 0.8338 | 0.5031 |
|
84 |
+
| 0.3152 | 32.0 | 2304 | 0.3155 | 0.8338 | 0.5031 |
|
85 |
+
| 0.3152 | 33.0 | 2376 | 0.3151 | 0.8338 | 0.5031 |
|
86 |
+
| 0.3152 | 34.0 | 2448 | 0.3146 | 0.8338 | 0.5031 |
|
87 |
+
| 0.3102 | 35.0 | 2520 | 0.3144 | 0.8338 | 0.5031 |
|
88 |
+
| 0.3102 | 36.0 | 2592 | 0.3142 | 0.8338 | 0.5031 |
|
89 |
+
| 0.3102 | 37.0 | 2664 | 0.3139 | 0.8338 | 0.5031 |
|
90 |
+
| 0.3102 | 38.0 | 2736 | 0.3138 | 0.8338 | 0.5031 |
|
91 |
+
| 0.3102 | 39.0 | 2808 | 0.3137 | 0.8338 | 0.5031 |
|
92 |
+
| 0.3102 | 40.0 | 2880 | 0.3137 | 0.8338 | 0.5031 |
|
93 |
+
|
94 |
+
|
95 |
+
### Framework versions
|
96 |
+
|
97 |
+
- Transformers 4.41.1
|
98 |
+
- Pytorch 2.3.0+cu121
|
99 |
+
- Datasets 2.19.1
|
100 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert/distilbert-base-cased",
|
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": "capacity expansion",
|
13 |
+
"1": "legal action",
|
14 |
+
"2": "market expansion",
|
15 |
+
"3": "merger & acquisition and finance investments",
|
16 |
+
"4": "outsourcing and alliance",
|
17 |
+
"5": "product introductions and improvements"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"label2id": {
|
21 |
+
"capacity expansion": 0,
|
22 |
+
"legal action": 1,
|
23 |
+
"market expansion": 2,
|
24 |
+
"merger & acquisition and finance investments": 3,
|
25 |
+
"outsourcing and alliance": 4,
|
26 |
+
"product introductions and improvements": 5
|
27 |
+
},
|
28 |
+
"max_position_embeddings": 512,
|
29 |
+
"model_type": "distilbert",
|
30 |
+
"n_heads": 12,
|
31 |
+
"n_layers": 6,
|
32 |
+
"output_past": true,
|
33 |
+
"pad_token_id": 0,
|
34 |
+
"problem_type": "multi_label_classification",
|
35 |
+
"qa_dropout": 0.1,
|
36 |
+
"seq_classif_dropout": 0.2,
|
37 |
+
"sinusoidal_pos_embds": false,
|
38 |
+
"tie_weights_": true,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.41.1",
|
41 |
+
"vocab_size": 28996
|
42 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ffd72379174b5f64fcb5068d79f9b8f2cf078ac266e2301456dd4f7eaa1fa6e
|
3 |
+
size 263156992
|
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": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
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:108d9af13dbf4172b06c98691e502a7c2c257d22222d2e922ea580f399542e36
|
3 |
+
size 5176
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|