jaggernaut007 commited on
Commit
d166a4e
1 Parent(s): 86fe07b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: surrey-nlp/albert-large-v2-finetuned-abbDet
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: albert-large-v2-finetuned-abbDet-finetuned-ner
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # albert-large-v2-finetuned-abbDet-finetuned-ner
20
+
21
+ This model is a fine-tuned version of [surrey-nlp/albert-large-v2-finetuned-abbDet](https://huggingface.co/surrey-nlp/albert-large-v2-finetuned-abbDet) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.1013
24
+ - Precision: 0.9788
25
+ - Recall: 0.9756
26
+ - F1: 0.9772
27
+ - Accuracy: 0.9754
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-06
47
+ - train_batch_size: 2
48
+ - eval_batch_size: 4
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 10
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | No log | 0.19 | 100 | 0.1850 | 0.9561 | 0.9550 | 0.9555 | 0.9554 |
59
+ | No log | 0.37 | 200 | 0.1138 | 0.9716 | 0.9673 | 0.9695 | 0.9675 |
60
+ | No log | 0.56 | 300 | 0.1021 | 0.9753 | 0.9720 | 0.9737 | 0.9714 |
61
+ | No log | 0.75 | 400 | 0.1034 | 0.9758 | 0.9719 | 0.9739 | 0.9714 |
62
+ | 0.2096 | 0.93 | 500 | 0.0964 | 0.9775 | 0.9740 | 0.9757 | 0.9737 |
63
+ | 0.2096 | 1.12 | 600 | 0.0984 | 0.9781 | 0.9755 | 0.9768 | 0.9748 |
64
+ | 0.2096 | 1.31 | 700 | 0.1016 | 0.9786 | 0.9758 | 0.9772 | 0.9753 |
65
+ | 0.2096 | 1.49 | 800 | 0.1034 | 0.9781 | 0.9758 | 0.9769 | 0.9750 |
66
+ | 0.2096 | 1.68 | 900 | 0.1020 | 0.9775 | 0.9755 | 0.9765 | 0.9746 |
67
+ | 0.0669 | 1.87 | 1000 | 0.1006 | 0.9778 | 0.9749 | 0.9764 | 0.9744 |
68
+ | 0.0669 | 2.05 | 1100 | 0.0973 | 0.9788 | 0.9760 | 0.9774 | 0.9755 |
69
+ | 0.0669 | 2.24 | 1200 | 0.1013 | 0.9788 | 0.9756 | 0.9772 | 0.9754 |
70
+ | 0.0669 | 2.43 | 1300 | 0.0995 | 0.9782 | 0.9758 | 0.9770 | 0.9750 |
71
+ | 0.0669 | 2.61 | 1400 | 0.1079 | 0.9782 | 0.9759 | 0.9771 | 0.9752 |
72
+ | 0.051 | 2.8 | 1500 | 0.1092 | 0.9781 | 0.9760 | 0.9771 | 0.9753 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.39.3
78
+ - Pytorch 2.2.2+cu121
79
+ - Datasets 2.19.0
80
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "surrey-nlp/albert-large-v2-finetuned-abbDet",
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": 1024,
16
+ "id2label": {
17
+ "0": "LABEL_0",
18
+ "1": "LABEL_1",
19
+ "2": "LABEL_2",
20
+ "3": "LABEL_3"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "inner_group_num": 1,
24
+ "intermediate_size": 4096,
25
+ "label2id": {
26
+ "LABEL_0": 0,
27
+ "LABEL_1": 1,
28
+ "LABEL_2": 2,
29
+ "LABEL_3": 3
30
+ },
31
+ "layer_norm_eps": 1e-12,
32
+ "max_position_embeddings": 512,
33
+ "model_type": "albert",
34
+ "net_structure_type": 0,
35
+ "num_attention_heads": 16,
36
+ "num_hidden_groups": 1,
37
+ "num_hidden_layers": 24,
38
+ "num_memory_blocks": 0,
39
+ "pad_token_id": 0,
40
+ "position_embedding_type": "absolute",
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.39.3",
43
+ "type_vocab_size": 2,
44
+ "vocab_size": 30000
45
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae8c7992f42141781a6215d0eeddc78a897bacba8971a797713b9fa858a3651e
3
+ size 66557136
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "[CLS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "[SEP]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "[MASK]",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "[SEP]",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<pad>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<unk>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[CLS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[SEP]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "[MASK]",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "[CLS]",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "[CLS]",
48
+ "do_lower_case": true,
49
+ "eos_token": "[SEP]",
50
+ "keep_accents": false,
51
+ "mask_token": "[MASK]",
52
+ "max_length": 512,
53
+ "model_max_length": 512,
54
+ "pad_token": "<pad>",
55
+ "remove_space": true,
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "tokenizer_class": "AlbertTokenizer",
59
+ "truncation_side": "right",
60
+ "truncation_strategy": "longest_first",
61
+ "unk_token": "<unk>"
62
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f625f4bf981bf830bce52fd6fec7e0585d7f9ac35b168e5f3651348b053067f
3
+ size 4984