codymd commited on
Commit
14d5b33
1 Parent(s): 5256328

End of training

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: albert/albert-base-v2
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: albert-base-v2-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
+ # albert-base-v2-grammar-ner-generic
18
+
19
+ This model is a fine-tuned version of [albert/albert-base-v2](https://huggingface.co/albert/albert-base-v2) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0991
22
+ - Accuracy: 0.9891
23
+ - F1 Macro: 0.9176
24
+ - F1 Micro: 0.9176
25
+ - Precision Macro: 0.9647
26
+ - Precision Micro: 0.9647
27
+ - Recall Macro: 0.875
28
+ - Recall Micro: 0.875
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.244 | 1.0 | 93 | 0.1830 | 0.9305 | 0.2897 | 0.2897 | 0.3892 | 0.3892 | 0.2308 | 0.2308 |
60
+ | 0.1652 | 2.0 | 186 | 0.1476 | 0.9450 | 0.4236 | 0.4236 | 0.6644 | 0.6644 | 0.3109 | 0.3109 |
61
+ | 0.1119 | 3.0 | 279 | 0.1070 | 0.9656 | 0.6759 | 0.6759 | 0.7313 | 0.7313 | 0.6282 | 0.6282 |
62
+ | 0.0629 | 4.0 | 372 | 0.0884 | 0.9751 | 0.7764 | 0.7764 | 0.8453 | 0.8453 | 0.7179 | 0.7179 |
63
+ | 0.0408 | 5.0 | 465 | 0.0954 | 0.9748 | 0.7911 | 0.7911 | 0.7873 | 0.7873 | 0.7949 | 0.7949 |
64
+ | 0.028 | 6.0 | 558 | 0.0830 | 0.9799 | 0.8143 | 0.8143 | 0.9194 | 0.9194 | 0.7308 | 0.7308 |
65
+ | 0.0185 | 7.0 | 651 | 0.0756 | 0.9831 | 0.8700 | 0.8700 | 0.8714 | 0.8714 | 0.8686 | 0.8686 |
66
+ | 0.0125 | 8.0 | 744 | 0.0815 | 0.9841 | 0.8591 | 0.8591 | 0.9134 | 0.9134 | 0.8109 | 0.8109 |
67
+ | 0.0073 | 9.0 | 837 | 0.0809 | 0.9854 | 0.8773 | 0.8773 | 0.8963 | 0.8963 | 0.8590 | 0.8590 |
68
+ | 0.0046 | 10.0 | 930 | 0.0895 | 0.9870 | 0.8908 | 0.8908 | 0.9526 | 0.9526 | 0.8365 | 0.8365 |
69
+ | 0.0022 | 11.0 | 1023 | 0.0903 | 0.9867 | 0.8972 | 0.8972 | 0.9136 | 0.9136 | 0.8814 | 0.8814 |
70
+ | 0.0009 | 12.0 | 1116 | 0.0957 | 0.9889 | 0.9130 | 0.9130 | 0.9545 | 0.9545 | 0.875 | 0.875 |
71
+ | 0.0005 | 13.0 | 1209 | 0.0931 | 0.9891 | 0.9149 | 0.9149 | 0.9547 | 0.9547 | 0.8782 | 0.8782 |
72
+ | 0.0002 | 14.0 | 1302 | 0.0978 | 0.9891 | 0.9176 | 0.9176 | 0.9647 | 0.9647 | 0.875 | 0.875 |
73
+ | 0.0001 | 15.0 | 1395 | 0.0982 | 0.9891 | 0.9176 | 0.9176 | 0.9647 | 0.9647 | 0.875 | 0.875 |
74
+ | 0.0 | 16.0 | 1488 | 0.0986 | 0.9889 | 0.9161 | 0.9161 | 0.9613 | 0.9613 | 0.875 | 0.875 |
75
+ | 0.0 | 17.0 | 1581 | 0.0990 | 0.9891 | 0.9176 | 0.9176 | 0.9647 | 0.9647 | 0.875 | 0.875 |
76
+ | 0.0 | 18.0 | 1674 | 0.0991 | 0.9891 | 0.9176 | 0.9176 | 0.9647 | 0.9647 | 0.875 | 0.875 |
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,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "albert/albert-base-v2",
3
+ "architectures": [
4
+ "AlbertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0,
7
+ "bos_token_id": 2,
8
+ "classifier_dropout_prob": 0.1,
9
+ "down_scale_factor": 1,
10
+ "embedding_size": 128,
11
+ "eos_token_id": 3,
12
+ "gap_size": 0,
13
+ "hidden_act": "gelu_new",
14
+ "hidden_dropout_prob": 0,
15
+ "hidden_size": 768,
16
+ "id2label": {
17
+ "0": "I-ERROR",
18
+ "1": "O",
19
+ "2": "B-ERROR"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "inner_group_num": 1,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "B-ERROR": 2,
26
+ "I-ERROR": 0,
27
+ "O": 1
28
+ },
29
+ "layer_norm_eps": 1e-12,
30
+ "max_position_embeddings": 512,
31
+ "model_type": "albert",
32
+ "net_structure_type": 0,
33
+ "num_attention_heads": 12,
34
+ "num_hidden_groups": 1,
35
+ "num_hidden_layers": 12,
36
+ "num_memory_blocks": 0,
37
+ "pad_token_id": 0,
38
+ "position_embedding_type": "absolute",
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.46.3",
41
+ "type_vocab_size": 2,
42
+ "vocab_size": 30000
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49c490fdde27dcac38a547fd737ce6361ef627aac21699265e565f9abf47a8a4
3
+ size 44384436
runs/Dec12_22-48-03_a365e7b9463b/events.out.tfevents.1734043683.a365e7b9463b.6288.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f10c064316afa74affc66217cbcaaf5182def0a180f77a4b7c111c23c0a2da55
3
+ size 21401
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": {
6
+ "content": "[MASK]",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "[SEP]",
14
+ "unk_token": "<unk>"
15
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fefb02b667a6c5c2fe27602d28e5fb3428f66ab89c7d6f388e7c8d44a02d0336
3
+ size 760289
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "<unk>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": true,
48
+ "eos_token": "[SEP]",
49
+ "keep_accents": false,
50
+ "mask_token": "[MASK]",
51
+ "model_max_length": 512,
52
+ "pad_token": "<pad>",
53
+ "remove_space": true,
54
+ "sep_token": "[SEP]",
55
+ "tokenizer_class": "AlbertTokenizer",
56
+ "unk_token": "<unk>"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d99f867605616c94ebc6c1ef048aa7da46fcab84d4d3176b1031cf0b7d67fea
3
+ size 5304