GetialJuan commited on
Commit
f38bc04
·
verified ·
1 Parent(s): 06ba0ab

End of training

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: bert-base-uncased-finetuned-ner-biobert
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # bert-base-uncased-finetuned-ner-biobert
21
+
22
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1121
25
+ - Precision: 0.9407
26
+ - Recall: 0.9660
27
+ - F1: 0.9532
28
+ - Accuracy: 0.9766
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: 2e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
+ | 0.4588 | 1.0 | 612 | 0.1165 | 0.9356 | 0.9418 | 0.9387 | 0.9697 |
60
+ | 0.1382 | 2.0 | 1224 | 0.1096 | 0.9245 | 0.9700 | 0.9467 | 0.9727 |
61
+ | 0.0931 | 3.0 | 1836 | 0.0979 | 0.9390 | 0.9655 | 0.9521 | 0.9762 |
62
+ | 0.0753 | 4.0 | 2448 | 0.0981 | 0.9398 | 0.9708 | 0.9550 | 0.9763 |
63
+ | 0.0544 | 5.0 | 3060 | 0.0975 | 0.9415 | 0.9691 | 0.9551 | 0.9770 |
64
+ | 0.0478 | 6.0 | 3672 | 0.1066 | 0.9364 | 0.9671 | 0.9515 | 0.9757 |
65
+ | 0.04 | 7.0 | 4284 | 0.1053 | 0.9378 | 0.9694 | 0.9533 | 0.9764 |
66
+ | 0.0373 | 8.0 | 4896 | 0.1106 | 0.9362 | 0.9699 | 0.9527 | 0.9759 |
67
+ | 0.0303 | 9.0 | 5508 | 0.1109 | 0.9388 | 0.9683 | 0.9533 | 0.9766 |
68
+ | 0.028 | 10.0 | 6120 | 0.1121 | 0.9407 | 0.9660 | 0.9532 | 0.9766 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.45.1
74
+ - Pytorch 2.4.0
75
+ - Datasets 3.0.1
76
+ - Tokenizers 0.20.0
config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4",
18
+ "5": "LABEL_5",
19
+ "6": "LABEL_6",
20
+ "7": "LABEL_7",
21
+ "8": "LABEL_8",
22
+ "9": "LABEL_9",
23
+ "10": "LABEL_10",
24
+ "11": "LABEL_11",
25
+ "12": "LABEL_12",
26
+ "13": "LABEL_13",
27
+ "14": "LABEL_14",
28
+ "15": "LABEL_15",
29
+ "16": "LABEL_16",
30
+ "17": "LABEL_17",
31
+ "18": "LABEL_18",
32
+ "19": "LABEL_19",
33
+ "20": "LABEL_20",
34
+ "21": "LABEL_21",
35
+ "22": "LABEL_22",
36
+ "23": "LABEL_23",
37
+ "24": "LABEL_24",
38
+ "25": "LABEL_25",
39
+ "26": "LABEL_26",
40
+ "27": "LABEL_27",
41
+ "28": "LABEL_28",
42
+ "29": "LABEL_29"
43
+ },
44
+ "initializer_range": 0.02,
45
+ "intermediate_size": 3072,
46
+ "label2id": {
47
+ "LABEL_0": 0,
48
+ "LABEL_1": 1,
49
+ "LABEL_10": 10,
50
+ "LABEL_11": 11,
51
+ "LABEL_12": 12,
52
+ "LABEL_13": 13,
53
+ "LABEL_14": 14,
54
+ "LABEL_15": 15,
55
+ "LABEL_16": 16,
56
+ "LABEL_17": 17,
57
+ "LABEL_18": 18,
58
+ "LABEL_19": 19,
59
+ "LABEL_2": 2,
60
+ "LABEL_20": 20,
61
+ "LABEL_21": 21,
62
+ "LABEL_22": 22,
63
+ "LABEL_23": 23,
64
+ "LABEL_24": 24,
65
+ "LABEL_25": 25,
66
+ "LABEL_26": 26,
67
+ "LABEL_27": 27,
68
+ "LABEL_28": 28,
69
+ "LABEL_29": 29,
70
+ "LABEL_3": 3,
71
+ "LABEL_4": 4,
72
+ "LABEL_5": 5,
73
+ "LABEL_6": 6,
74
+ "LABEL_7": 7,
75
+ "LABEL_8": 8,
76
+ "LABEL_9": 9
77
+ },
78
+ "layer_norm_eps": 1e-12,
79
+ "max_position_embeddings": 512,
80
+ "model_type": "bert",
81
+ "num_attention_heads": 12,
82
+ "num_hidden_layers": 12,
83
+ "pad_token_id": 0,
84
+ "position_embedding_type": "absolute",
85
+ "torch_dtype": "float32",
86
+ "transformers_version": "4.45.1",
87
+ "type_vocab_size": 2,
88
+ "use_cache": true,
89
+ "vocab_size": 30522
90
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6171a28a4e51c959daa864806c77b4f56bfdada139ee9913e9864e0d0f9c5363
3
+ size 435682216
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:643237ab3c64e3cabdf911e7c17767e2a58a77927574599b28e277acfff2273f
3
+ size 5240
vocab.txt ADDED
The diff for this file is too large to render. See raw diff