sercetexam9 commited on
Commit
06496d1
·
verified ·
1 Parent(s): 2695359

Training completed!

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: xlnet/xlnet-large-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ - accuracy
10
+ model-index:
11
+ - name: UIT-xlnet-large-cased-finetuned
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # UIT-xlnet-large-cased-finetuned
19
+
20
+ This model is a fine-tuned version of [xlnet/xlnet-large-cased](https://huggingface.co/xlnet/xlnet-large-cased) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.7374
23
+ - F1: 0.7190
24
+ - Roc Auc: 0.7861
25
+ - Accuracy: 0.4368
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 2e-05
45
+ - train_batch_size: 16
46
+ - eval_batch_size: 16
47
+ - seed: 42
48
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
+ - lr_scheduler_type: cosine
50
+ - lr_scheduler_warmup_steps: 100
51
+ - num_epochs: 20
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
56
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
57
+ | 0.6144 | 1.0 | 139 | 0.5899 | 0.0858 | 0.5045 | 0.1245 |
58
+ | 0.55 | 2.0 | 278 | 0.5547 | 0.2409 | 0.5430 | 0.1625 |
59
+ | 0.5049 | 3.0 | 417 | 0.4514 | 0.5298 | 0.6834 | 0.3574 |
60
+ | 0.4 | 4.0 | 556 | 0.4586 | 0.5030 | 0.6732 | 0.3538 |
61
+ | 0.3206 | 5.0 | 695 | 0.4345 | 0.6371 | 0.7279 | 0.3827 |
62
+ | 0.2969 | 6.0 | 834 | 0.4264 | 0.6807 | 0.7627 | 0.4170 |
63
+ | 0.2036 | 7.0 | 973 | 0.4564 | 0.6871 | 0.7633 | 0.4495 |
64
+ | 0.1986 | 8.0 | 1112 | 0.4918 | 0.6930 | 0.7632 | 0.4170 |
65
+ | 0.1437 | 9.0 | 1251 | 0.5499 | 0.7021 | 0.7861 | 0.3953 |
66
+ | 0.1066 | 10.0 | 1390 | 0.5774 | 0.7028 | 0.7725 | 0.4224 |
67
+ | 0.0674 | 11.0 | 1529 | 0.6038 | 0.7145 | 0.7824 | 0.4585 |
68
+ | 0.038 | 12.0 | 1668 | 0.6528 | 0.7020 | 0.7797 | 0.4458 |
69
+ | 0.0341 | 13.0 | 1807 | 0.6681 | 0.7092 | 0.7781 | 0.4477 |
70
+ | 0.0308 | 14.0 | 1946 | 0.6986 | 0.7085 | 0.7796 | 0.4260 |
71
+ | 0.0109 | 15.0 | 2085 | 0.7297 | 0.7087 | 0.7796 | 0.4332 |
72
+ | 0.0224 | 16.0 | 2224 | 0.7307 | 0.7156 | 0.7838 | 0.4440 |
73
+ | 0.0097 | 17.0 | 2363 | 0.7358 | 0.7155 | 0.7816 | 0.4440 |
74
+ | 0.0103 | 18.0 | 2502 | 0.7374 | 0.7190 | 0.7861 | 0.4368 |
75
+ | 0.0116 | 19.0 | 2641 | 0.7381 | 0.7150 | 0.7829 | 0.4368 |
76
+ | 0.0077 | 20.0 | 2780 | 0.7383 | 0.7130 | 0.7817 | 0.4350 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.48.1
82
+ - Pytorch 2.4.0
83
+ - Datasets 3.0.1
84
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "anger",
19
+ "1": "fear",
20
+ "2": "joy",
21
+ "3": "sadness",
22
+ "4": "surprise"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "label2id": {
26
+ "anger": 0,
27
+ "fear": 1,
28
+ "joy": 2,
29
+ "sadness": 3,
30
+ "surprise": 4
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "mem_len": null,
34
+ "model_type": "xlnet",
35
+ "n_head": 16,
36
+ "n_layer": 24,
37
+ "pad_token_id": 5,
38
+ "problem_type": "multi_label_classification",
39
+ "reuse_len": null,
40
+ "same_length": false,
41
+ "start_n_top": 5,
42
+ "summary_activation": "tanh",
43
+ "summary_last_dropout": 0.1,
44
+ "summary_type": "last",
45
+ "summary_use_proj": true,
46
+ "task_specific_params": {
47
+ "text-generation": {
48
+ "do_sample": true,
49
+ "max_length": 250
50
+ }
51
+ },
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.48.1",
54
+ "untie_r": true,
55
+ "use_mems_eval": true,
56
+ "use_mems_train": false,
57
+ "vocab_size": 32000
58
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:047f1c0910acb8e373c32da8b00a6be0debc7b8f61d0d12855f291452ee7c837
3
+ size 1445339812
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,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
82
+ "cls_token": "<cls>",
83
+ "do_lower_case": false,
84
+ "eos_token": "</s>",
85
+ "extra_special_tokens": {},
86
+ "keep_accents": false,
87
+ "mask_token": "<mask>",
88
+ "model_max_length": 1000000000000000019884624838656,
89
+ "pad_token": "<pad>",
90
+ "remove_space": true,
91
+ "sep_token": "<sep>",
92
+ "tokenizer_class": "XLNetTokenizer",
93
+ "unk_token": "<unk>"
94
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc950a8379e78723e3c24bbaf72b29dffe1d1e8b65a86bdb7903399539e41c50
3
+ size 5304