End of training
Browse files- README.md +106 -0
- config.json +46 -0
- model.safetensors +3 -0
- runs/Jul07_23-13-09_ubuntu-System-Product-Name/events.out.tfevents.1720365191.ubuntu-System-Product-Name.796245.1 +3 -0
- runs/Jul07_23-13-09_ubuntu-System-Product-Name/events.out.tfevents.1720366472.ubuntu-System-Product-Name.796245.2 +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,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-8-actions
|
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-8-actions
|
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.2141
|
21 |
+
- F1: 0.9107
|
22 |
+
- Jaccard: 0.5749
|
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: 0.0001
|
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 |
+
- lr_scheduler_warmup_steps: 150
|
48 |
+
- num_epochs: 45
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Jaccard |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|
|
54 |
+
| No log | 1.0 | 76 | 0.4054 | 0.8583 | 0.4115 |
|
55 |
+
| No log | 2.0 | 152 | 0.2956 | 0.8583 | 0.4115 |
|
56 |
+
| No log | 3.0 | 228 | 0.2885 | 0.8583 | 0.4115 |
|
57 |
+
| No log | 4.0 | 304 | 0.2807 | 0.8583 | 0.4115 |
|
58 |
+
| No log | 5.0 | 380 | 0.2735 | 0.8583 | 0.4115 |
|
59 |
+
| No log | 6.0 | 456 | 0.2668 | 0.8583 | 0.4115 |
|
60 |
+
| 0.3504 | 7.0 | 532 | 0.2608 | 0.8709 | 0.4159 |
|
61 |
+
| 0.3504 | 8.0 | 608 | 0.2550 | 0.8822 | 0.4226 |
|
62 |
+
| 0.3504 | 9.0 | 684 | 0.2501 | 0.8930 | 0.4403 |
|
63 |
+
| 0.3504 | 10.0 | 760 | 0.2462 | 0.8941 | 0.4779 |
|
64 |
+
| 0.3504 | 11.0 | 836 | 0.2424 | 0.8907 | 0.4712 |
|
65 |
+
| 0.3504 | 12.0 | 912 | 0.2385 | 0.8899 | 0.4757 |
|
66 |
+
| 0.3504 | 13.0 | 988 | 0.2360 | 0.8930 | 0.5144 |
|
67 |
+
| 0.2673 | 14.0 | 1064 | 0.2335 | 0.8931 | 0.5081 |
|
68 |
+
| 0.2673 | 15.0 | 1140 | 0.2321 | 0.8921 | 0.5081 |
|
69 |
+
| 0.2673 | 16.0 | 1216 | 0.2292 | 0.8964 | 0.5380 |
|
70 |
+
| 0.2673 | 17.0 | 1292 | 0.2269 | 0.8975 | 0.5291 |
|
71 |
+
| 0.2673 | 18.0 | 1368 | 0.2256 | 0.8962 | 0.5461 |
|
72 |
+
| 0.2673 | 19.0 | 1444 | 0.2240 | 0.8968 | 0.5439 |
|
73 |
+
| 0.2471 | 20.0 | 1520 | 0.2237 | 0.8973 | 0.5454 |
|
74 |
+
| 0.2471 | 21.0 | 1596 | 0.2224 | 0.8971 | 0.5350 |
|
75 |
+
| 0.2471 | 22.0 | 1672 | 0.2213 | 0.8985 | 0.5313 |
|
76 |
+
| 0.2471 | 23.0 | 1748 | 0.2191 | 0.8982 | 0.5549 |
|
77 |
+
| 0.2471 | 24.0 | 1824 | 0.2186 | 0.9072 | 0.5542 |
|
78 |
+
| 0.2471 | 25.0 | 1900 | 0.2182 | 0.8993 | 0.5542 |
|
79 |
+
| 0.2471 | 26.0 | 1976 | 0.2168 | 0.9071 | 0.5608 |
|
80 |
+
| 0.2374 | 27.0 | 2052 | 0.2162 | 0.9091 | 0.5608 |
|
81 |
+
| 0.2374 | 28.0 | 2128 | 0.2154 | 0.8998 | 0.5601 |
|
82 |
+
| 0.2374 | 29.0 | 2204 | 0.2146 | 0.9095 | 0.5608 |
|
83 |
+
| 0.2374 | 30.0 | 2280 | 0.2141 | 0.9083 | 0.5608 |
|
84 |
+
| 0.2374 | 31.0 | 2356 | 0.2141 | 0.9107 | 0.5749 |
|
85 |
+
| 0.2374 | 32.0 | 2432 | 0.2136 | 0.9103 | 0.5704 |
|
86 |
+
| 0.2325 | 33.0 | 2508 | 0.2140 | 0.9052 | 0.5542 |
|
87 |
+
| 0.2325 | 34.0 | 2584 | 0.2125 | 0.9084 | 0.5608 |
|
88 |
+
| 0.2325 | 35.0 | 2660 | 0.2118 | 0.9091 | 0.5623 |
|
89 |
+
| 0.2325 | 36.0 | 2736 | 0.2118 | 0.9092 | 0.5667 |
|
90 |
+
| 0.2325 | 37.0 | 2812 | 0.2115 | 0.9072 | 0.5608 |
|
91 |
+
| 0.2325 | 38.0 | 2888 | 0.2118 | 0.9081 | 0.5667 |
|
92 |
+
| 0.2325 | 39.0 | 2964 | 0.2110 | 0.9080 | 0.5623 |
|
93 |
+
| 0.2293 | 40.0 | 3040 | 0.2111 | 0.9092 | 0.5667 |
|
94 |
+
| 0.2293 | 41.0 | 3116 | 0.2110 | 0.9087 | 0.5667 |
|
95 |
+
| 0.2293 | 42.0 | 3192 | 0.2109 | 0.9085 | 0.5623 |
|
96 |
+
| 0.2293 | 43.0 | 3268 | 0.2108 | 0.9092 | 0.5667 |
|
97 |
+
| 0.2293 | 44.0 | 3344 | 0.2107 | 0.9085 | 0.5623 |
|
98 |
+
| 0.2293 | 45.0 | 3420 | 0.2107 | 0.9085 | 0.5623 |
|
99 |
+
|
100 |
+
|
101 |
+
### Framework versions
|
102 |
+
|
103 |
+
- Transformers 4.41.1
|
104 |
+
- Pytorch 2.3.0+cu121
|
105 |
+
- Datasets 2.19.1
|
106 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "marketing",
|
16 |
+
"4": "merger & acquisition and finance investments",
|
17 |
+
"5": "outsourcing and alliance",
|
18 |
+
"6": "pricing",
|
19 |
+
"7": "product introductions and improvements"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"label2id": {
|
23 |
+
"capacity expansion": 0,
|
24 |
+
"legal action": 1,
|
25 |
+
"market expansion": 2,
|
26 |
+
"marketing": 3,
|
27 |
+
"merger & acquisition and finance investments": 4,
|
28 |
+
"outsourcing and alliance": 5,
|
29 |
+
"pricing": 6,
|
30 |
+
"product introductions and improvements": 7
|
31 |
+
},
|
32 |
+
"max_position_embeddings": 512,
|
33 |
+
"model_type": "distilbert",
|
34 |
+
"n_heads": 12,
|
35 |
+
"n_layers": 6,
|
36 |
+
"output_past": true,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"problem_type": "multi_label_classification",
|
39 |
+
"qa_dropout": 0.1,
|
40 |
+
"seq_classif_dropout": 0.2,
|
41 |
+
"sinusoidal_pos_embds": false,
|
42 |
+
"tie_weights_": true,
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.41.1",
|
45 |
+
"vocab_size": 28996
|
46 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96a96d6b3a5e8baaaab2b9be0bf2aecd133259b8abf409fe251c2da9846762e8
|
3 |
+
size 263950776
|
runs/Jul07_23-13-09_ubuntu-System-Product-Name/events.out.tfevents.1720365191.ubuntu-System-Product-Name.796245.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:541f510e9bc801092d5aad6ef69731007daa95cc9bda9c18c6f3e93e8ac80e17
|
3 |
+
size 23681
|
runs/Jul07_23-13-09_ubuntu-System-Product-Name/events.out.tfevents.1720366472.ubuntu-System-Product-Name.796245.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:683bc105ed2d2ea9a26f5c58269d8717a2de73525dfcc51b72e1b79119e48764
|
3 |
+
size 456
|
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:20b59a7c531974ebc20aececa5ab897db93fa412f4a7f68cc3fe53e4671230aa
|
3 |
+
size 5240
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|