dahe827 commited on
Commit
816fe58
·
verified ·
1 Parent(s): c1e7bc7

End of training

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: xlnet/xlnet-large-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ model-index:
9
+ - name: xlnet-large-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
+ # xlnet-large-cased-airlines-news-multi-label
17
+
18
+ This model is a fine-tuned version of [xlnet/xlnet-large-cased](https://huggingface.co/xlnet/xlnet-large-cased) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2329
21
+ - F1: 0.9001
22
+ - Roc Auc: 0.6501
23
+ - Hamming: 0.9145
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 9e-05
43
+ - train_batch_size: 16
44
+ - eval_batch_size: 16
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_steps: 150
49
+ - num_epochs: 12
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Hamming |
54
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:-------:|
55
+ | No log | 1.0 | 128 | 0.2866 | 0.8594 | 0.5 | 0.9041 |
56
+ | No log | 2.0 | 256 | 0.2520 | 0.8955 | 0.5943 | 0.9130 |
57
+ | No log | 3.0 | 384 | 0.2431 | 0.8984 | 0.6493 | 0.9130 |
58
+ | 0.3656 | 4.0 | 512 | 0.2384 | 0.8984 | 0.6622 | 0.9115 |
59
+ | 0.3656 | 5.0 | 640 | 0.2329 | 0.9001 | 0.6501 | 0.9145 |
60
+ | 0.3656 | 6.0 | 768 | 0.2353 | 0.9000 | 0.6699 | 0.9130 |
61
+ | 0.3656 | 7.0 | 896 | 0.2336 | 0.8959 | 0.6735 | 0.9071 |
62
+ | 0.2788 | 8.0 | 1024 | 0.2318 | 0.8957 | 0.6606 | 0.9086 |
63
+ | 0.2788 | 9.0 | 1152 | 0.2327 | 0.8961 | 0.6606 | 0.9086 |
64
+ | 0.2788 | 10.0 | 1280 | 0.2317 | 0.8975 | 0.6545 | 0.9100 |
65
+ | 0.2788 | 11.0 | 1408 | 0.2311 | 0.8975 | 0.6545 | 0.9100 |
66
+ | 0.2659 | 12.0 | 1536 | 0.2309 | 0.8982 | 0.6554 | 0.9115 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.41.1
72
+ - Pytorch 2.3.0+cu121
73
+ - Datasets 2.19.2
74
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlnet/xlnet-large-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": 4096,
12
+ "d_model": 1024,
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": "legal action",
20
+ "2": "market expansion",
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
+ "legal action": 1,
29
+ "market expansion": 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": 16,
38
+ "n_layer": 24,
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.1",
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:f16c02b230ef89ec57445eee888180254f4a30e9001bb4a5413eb27613f75bf3
3
+ size 1446131536
runs/Jun05_05-10-33_45fd6a92050d/events.out.tfevents.1717564240.45fd6a92050d.1467.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:606f2413160d8b841f6ab6e00fb65e73fffd75a1d0208a2489be309cbaa0af04
3
+ size 10103
runs/Jun05_05-51-49_45fd6a92050d/events.out.tfevents.1717566713.45fd6a92050d.1467.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48d2593ce157c4530b52f66cdbde10c30e88ab97c5b8568606a92ea548a0b978
3
+ size 11714
runs/Jun05_05-51-49_45fd6a92050d/events.out.tfevents.1717569953.45fd6a92050d.1467.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c95bd01ae78a045366e0b33cf687203db1c45571716f50a47dc35a4147d3b46b
3
+ size 1345
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:2e2e5e558611e25959bbc543615146d0303cc136334852ab4bd097db5491433a
3
+ size 5176