codymd commited on
Commit
c94a774
1 Parent(s): 441c5c1

End of training

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: xlnet/xlnet-base-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: xlnet-base-cased-grammar-ner-generic
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-grammar-ner-generic
18
+
19
+ This model is a fine-tuned version of [xlnet/xlnet-base-cased](https://huggingface.co/xlnet/xlnet-base-cased) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0907
22
+ - Accuracy: 0.9907
23
+ - F1 Macro: 0.9282
24
+ - F1 Micro: 0.9282
25
+ - Precision Macro: 0.9686
26
+ - Precision Micro: 0.9686
27
+ - Recall Macro: 0.8910
28
+ - Recall Micro: 0.8910
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 24
49
+ - eval_batch_size: 24
50
+ - seed: 42
51
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 18
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Micro | Precision Macro | Precision Micro | Recall Macro | Recall Micro |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:--------:|:---------------:|:---------------:|:------------:|:------------:|
59
+ | 0.2156 | 1.0 | 93 | 0.1656 | 0.9273 | 0.4389 | 0.4389 | 0.3873 | 0.3873 | 0.5064 | 0.5064 |
60
+ | 0.136 | 2.0 | 186 | 0.1196 | 0.9611 | 0.5396 | 0.5396 | 0.8129 | 0.8129 | 0.4038 | 0.4038 |
61
+ | 0.0885 | 3.0 | 279 | 0.0983 | 0.9673 | 0.7120 | 0.7120 | 0.7031 | 0.7031 | 0.7212 | 0.7212 |
62
+ | 0.0585 | 4.0 | 372 | 0.0908 | 0.9760 | 0.7898 | 0.7898 | 0.8381 | 0.8381 | 0.7468 | 0.7468 |
63
+ | 0.0406 | 5.0 | 465 | 0.0952 | 0.9723 | 0.7365 | 0.7365 | 0.8084 | 0.8084 | 0.6763 | 0.6763 |
64
+ | 0.0323 | 6.0 | 558 | 0.0755 | 0.9826 | 0.8529 | 0.8529 | 0.87 | 0.87 | 0.8365 | 0.8365 |
65
+ | 0.0228 | 7.0 | 651 | 0.0682 | 0.9858 | 0.8724 | 0.8724 | 0.8795 | 0.8795 | 0.8654 | 0.8654 |
66
+ | 0.0127 | 8.0 | 744 | 0.0822 | 0.9866 | 0.8799 | 0.8799 | 0.9319 | 0.9319 | 0.8333 | 0.8333 |
67
+ | 0.0107 | 9.0 | 837 | 0.0802 | 0.9879 | 0.9008 | 0.9008 | 0.9142 | 0.9142 | 0.8878 | 0.8878 |
68
+ | 0.007 | 10.0 | 930 | 0.0866 | 0.9878 | 0.9042 | 0.9042 | 0.9505 | 0.9505 | 0.8622 | 0.8622 |
69
+ | 0.0049 | 11.0 | 1023 | 0.0815 | 0.9884 | 0.9005 | 0.9005 | 0.9169 | 0.9169 | 0.8846 | 0.8846 |
70
+ | 0.0045 | 12.0 | 1116 | 0.0931 | 0.9886 | 0.9082 | 0.9082 | 0.9477 | 0.9477 | 0.8718 | 0.8718 |
71
+ | 0.003 | 13.0 | 1209 | 0.0926 | 0.9891 | 0.9195 | 0.9195 | 0.9648 | 0.9648 | 0.8782 | 0.8782 |
72
+ | 0.0015 | 14.0 | 1302 | 0.0840 | 0.9900 | 0.9208 | 0.9208 | 0.9490 | 0.9490 | 0.8942 | 0.8942 |
73
+ | 0.0009 | 15.0 | 1395 | 0.0895 | 0.9907 | 0.9280 | 0.9280 | 0.9719 | 0.9719 | 0.8878 | 0.8878 |
74
+ | 0.0007 | 16.0 | 1488 | 0.0898 | 0.9907 | 0.9282 | 0.9282 | 0.9686 | 0.9686 | 0.8910 | 0.8910 |
75
+ | 0.0005 | 17.0 | 1581 | 0.0903 | 0.9907 | 0.9282 | 0.9282 | 0.9686 | 0.9686 | 0.8910 | 0.8910 |
76
+ | 0.0006 | 18.0 | 1674 | 0.0907 | 0.9907 | 0.9282 | 0.9282 | 0.9686 | 0.9686 | 0.8910 | 0.8910 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.46.3
82
+ - Pytorch 2.5.1+cu121
83
+ - Datasets 3.2.0
84
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlnet/xlnet-base-cased",
3
+ "architectures": [
4
+ "XLNetForTokenClassification"
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": "I-ERROR",
19
+ "1": "O",
20
+ "2": "B-ERROR"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "label2id": {
24
+ "B-ERROR": 2,
25
+ "I-ERROR": 0,
26
+ "O": 1
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "mem_len": null,
30
+ "model_type": "xlnet",
31
+ "n_head": 12,
32
+ "n_layer": 12,
33
+ "pad_token_id": 5,
34
+ "reuse_len": null,
35
+ "same_length": false,
36
+ "start_n_top": 5,
37
+ "summary_activation": "tanh",
38
+ "summary_last_dropout": 0.1,
39
+ "summary_type": "last",
40
+ "summary_use_proj": true,
41
+ "task_specific_params": {
42
+ "text-generation": {
43
+ "do_sample": true,
44
+ "max_length": 250
45
+ }
46
+ },
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.46.3",
49
+ "untie_r": true,
50
+ "use_mems_eval": true,
51
+ "use_mems_train": false,
52
+ "vocab_size": 32000
53
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bd65e120577bc31173ce96c31f660123b6810d7b4234c0c46f94de47e970cb9
3
+ size 466905100
runs/Dec12_22-54-20_a365e7b9463b/events.out.tfevents.1734044060.a365e7b9463b.6288.12 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b6cfe2441ac557d7ab6a568f3b83c15be504b1b79f1f2d85dcb8a4ef574ed2d
3
+ size 21493
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": false,
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:b36597f9922b0b7081afa6ba4a975ae8999f1f599d29c21986000aa46414a193
3
+ size 5304