dahe827 commited on
Commit
166f55a
1 Parent(s): b01732e

End of training

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: xlnet/xlnet-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ - accuracy
9
+ model-index:
10
+ - name: xlnet-base-cased-airlines-news-multi-label
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
+ # xlnet-base-cased-airlines-news-multi-label
18
+
19
+ This model is a fine-tuned version of [xlnet/xlnet-base-cased](https://huggingface.co/xlnet/xlnet-base-cased) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.2822
22
+ - F1: 0.6647
23
+ - Roc Auc: 0.8080
24
+ - Accuracy: 0.6116
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 12
45
+ - eval_batch_size: 12
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 15
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
55
+ | No log | 1.0 | 150 | 0.2088 | 0.5979 | 0.7399 | 0.6027 |
56
+ | No log | 2.0 | 300 | 0.1928 | 0.6596 | 0.7725 | 0.6562 |
57
+ | No log | 3.0 | 450 | 0.2049 | 0.6327 | 0.7653 | 0.5982 |
58
+ | 0.2167 | 4.0 | 600 | 0.2226 | 0.6506 | 0.8007 | 0.6027 |
59
+ | 0.2167 | 5.0 | 750 | 0.2280 | 0.6288 | 0.7666 | 0.5893 |
60
+ | 0.2167 | 6.0 | 900 | 0.2418 | 0.6295 | 0.7709 | 0.5938 |
61
+ | 0.0812 | 7.0 | 1050 | 0.2610 | 0.6258 | 0.7722 | 0.5982 |
62
+ | 0.0812 | 8.0 | 1200 | 0.2756 | 0.6098 | 0.7606 | 0.5804 |
63
+ | 0.0812 | 9.0 | 1350 | 0.2822 | 0.6647 | 0.8080 | 0.6116 |
64
+ | 0.0325 | 10.0 | 1500 | 0.2908 | 0.6378 | 0.7873 | 0.5938 |
65
+ | 0.0325 | 11.0 | 1650 | 0.3050 | 0.6319 | 0.7860 | 0.5938 |
66
+ | 0.0325 | 12.0 | 1800 | 0.3044 | 0.6277 | 0.7830 | 0.5804 |
67
+ | 0.0325 | 13.0 | 1950 | 0.3030 | 0.6254 | 0.7804 | 0.5804 |
68
+ | 0.015 | 14.0 | 2100 | 0.3057 | 0.6319 | 0.7860 | 0.5848 |
69
+ | 0.015 | 15.0 | 2250 | 0.3013 | 0.6168 | 0.7744 | 0.5670 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.41.0
75
+ - Pytorch 2.3.0+cu121
76
+ - Datasets 2.19.1
77
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlnet/xlnet-base-cased",
3
+ "architectures": [
4
+ "XLNetForSequenceClassification"
5
+ ],
6
+ "attn_type": "bi",
7
+ "bi_data": false,
8
+ "bos_token_id": 1,
9
+ "clamp_len": -1,
10
+ "d_head": 64,
11
+ "d_inner": 3072,
12
+ "d_model": 768,
13
+ "dropout": 0.1,
14
+ "end_n_top": 5,
15
+ "eos_token_id": 2,
16
+ "ff_activation": "gelu",
17
+ "id2label": {
18
+ "0": "capacity expansion",
19
+ "1": "market expansion",
20
+ "2": "marketing",
21
+ "3": "merger & acquisition and finance investments",
22
+ "4": "outsourcing and alliance",
23
+ "5": "product introductions and improvements"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "capacity expansion": 0,
28
+ "market expansion": 1,
29
+ "marketing": 2,
30
+ "merger & acquisition and finance investments": 3,
31
+ "outsourcing and alliance": 4,
32
+ "product introductions and improvements": 5
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "mem_len": null,
36
+ "model_type": "xlnet",
37
+ "n_head": 12,
38
+ "n_layer": 12,
39
+ "pad_token_id": 5,
40
+ "problem_type": "multi_label_classification",
41
+ "reuse_len": null,
42
+ "same_length": false,
43
+ "start_n_top": 5,
44
+ "summary_activation": "tanh",
45
+ "summary_last_dropout": 0.1,
46
+ "summary_type": "last",
47
+ "summary_use_proj": true,
48
+ "task_specific_params": {
49
+ "text-generation": {
50
+ "do_sample": true,
51
+ "max_length": 250
52
+ }
53
+ },
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.41.0",
56
+ "untie_r": true,
57
+ "use_mems_eval": true,
58
+ "use_mems_train": false,
59
+ "vocab_size": 32000
60
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0c3e83a8939069735380c5bb3cf438be2650f510119289a418fcf972f8969ae
3
+ size 469276904
runs/May25_02-53-35_4143bc31bc8d/events.out.tfevents.1716605626.4143bc31bc8d.1728.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc64de47f0a982fdd083e72eb016646df0558c06ff4412919c9bfc89dca840a6
3
+ size 13184
runs/May25_02-53-35_4143bc31bc8d/events.out.tfevents.1716612635.4143bc31bc8d.1728.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96a75ec9f8e06ebb3bb729f2f7abd0ba4a2f948b88ee9e55460a1e14a624f5e9
3
+ size 508
special_tokens_map.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<eop>",
4
+ "<eod>"
5
+ ],
6
+ "bos_token": "<s>",
7
+ "cls_token": "<cls>",
8
+ "eos_token": "</s>",
9
+ "mask_token": {
10
+ "content": "<mask>",
11
+ "lstrip": true,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<pad>",
17
+ "sep_token": "<sep>",
18
+ "unk_token": "<unk>"
19
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f8c1c0bc2854d1af911a8550288c1258af5ba50277f3a5c829b98eb86fc5646
3
+ size 798011
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<cls>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "<sep>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "<pad>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "6": {
52
+ "content": "<mask>",
53
+ "lstrip": true,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ },
59
+ "7": {
60
+ "content": "<eod>",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ },
67
+ "8": {
68
+ "content": "<eop>",
69
+ "lstrip": false,
70
+ "normalized": false,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": true
74
+ }
75
+ },
76
+ "additional_special_tokens": [
77
+ "<eop>",
78
+ "<eod>"
79
+ ],
80
+ "bos_token": "<s>",
81
+ "clean_up_tokenization_spaces": true,
82
+ "cls_token": "<cls>",
83
+ "do_lower_case": false,
84
+ "eos_token": "</s>",
85
+ "keep_accents": false,
86
+ "mask_token": "<mask>",
87
+ "model_max_length": 1000000000000000019884624838656,
88
+ "pad_token": "<pad>",
89
+ "remove_space": true,
90
+ "sep_token": "<sep>",
91
+ "tokenizer_class": "XLNetTokenizer",
92
+ "unk_token": "<unk>"
93
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c56e9a4108b26fcbbd6f2f21dda216d61cb5818760fd016bc2ff52ed66660b2
3
+ size 5176