judithrosell commited on
Commit
e45e5e5
1 Parent(s): 1ec19dd

Training in progress epoch 0

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: judithrosell/PubMedBERT-ft-ner
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # judithrosell/PubMedBERT-ft-ner
15
+
16
+ This model is a fine-tuned version of [microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext](https://huggingface.co/microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.3653
19
+ - Validation Loss: 0.2258
20
+ - Epoch: 0
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 23335, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
40
+ - training_precision: mixed_float16
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Validation Loss | Epoch |
45
+ |:----------:|:---------------:|:-----:|
46
+ | 0.3653 | 0.2258 | 0 |
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.34.0
52
+ - TensorFlow 2.13.0
53
+ - Datasets 2.14.5
54
+ - Tokenizers 0.14.1
added_tokens.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "[CLS]": 2,
3
+ "[MASK]": 4,
4
+ "[PAD]": 0,
5
+ "[SEP]": 3,
6
+ "[UNK]": 1
7
+ }
config.json ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "B-Organism_subdivision",
13
+ "1": "I-Pathological_formation",
14
+ "2": "I-Anatomical_system",
15
+ "3": "B-Immaterial_anatomical_entity",
16
+ "4": "I-GGP",
17
+ "5": "I-Organism",
18
+ "6": "I-CL",
19
+ "7": "B-Organism",
20
+ "8": "B-DNA",
21
+ "9": "I-Gene_or_gene_product",
22
+ "10": "I-Tissue",
23
+ "11": "B-Developing_anatomical_structure",
24
+ "12": "I-RNA",
25
+ "13": "I-CHEBI",
26
+ "14": "B-Multi-tissue_structure",
27
+ "15": "I-DNA",
28
+ "16": "B-GO",
29
+ "17": "O",
30
+ "18": "B-Cell",
31
+ "19": "I-Multi-tissue_structure",
32
+ "20": "B-cell_type",
33
+ "21": "I-Immaterial_anatomical_entity",
34
+ "22": "B-RNA",
35
+ "23": "B-Cancer",
36
+ "24": "I-Organism_subdivision",
37
+ "25": "B-protein",
38
+ "26": "B-Chemical",
39
+ "27": "I-protein",
40
+ "28": "I-Simple_chemical",
41
+ "29": "I-Disease",
42
+ "30": "I-Cellular_component",
43
+ "31": "I-Chemical",
44
+ "32": "B-Amino_acid",
45
+ "33": "I-Organism_substance",
46
+ "34": "I-Developing_anatomical_structure",
47
+ "35": "I-SO",
48
+ "36": "I-cell_type",
49
+ "37": "B-Tissue",
50
+ "38": "B-Organism_substance",
51
+ "39": "B-GGP",
52
+ "40": "B-cell_line",
53
+ "41": "B-CHEBI",
54
+ "42": "B-Organ",
55
+ "43": "B-Gene_or_gene_product",
56
+ "44": "I-Amino_acid",
57
+ "45": "B-Taxon",
58
+ "46": "I-GO",
59
+ "47": "I-Organ",
60
+ "48": "I-cell_line",
61
+ "49": "I-Cancer",
62
+ "50": "I-Cell",
63
+ "51": "B-SO",
64
+ "52": "B-Anatomical_system",
65
+ "53": "B-CL",
66
+ "54": "B-Simple_chemical",
67
+ "55": "B-Disease",
68
+ "56": "I-Taxon",
69
+ "57": "B-Cellular_component",
70
+ "58": "B-Pathological_formation"
71
+ },
72
+ "initializer_range": 0.02,
73
+ "intermediate_size": 3072,
74
+ "label2id": {
75
+ "B-Amino_acid": 32,
76
+ "B-Anatomical_system": 52,
77
+ "B-CHEBI": 41,
78
+ "B-CL": 53,
79
+ "B-Cancer": 23,
80
+ "B-Cell": 18,
81
+ "B-Cellular_component": 57,
82
+ "B-Chemical": 26,
83
+ "B-DNA": 8,
84
+ "B-Developing_anatomical_structure": 11,
85
+ "B-Disease": 55,
86
+ "B-GGP": 39,
87
+ "B-GO": 16,
88
+ "B-Gene_or_gene_product": 43,
89
+ "B-Immaterial_anatomical_entity": 3,
90
+ "B-Multi-tissue_structure": 14,
91
+ "B-Organ": 42,
92
+ "B-Organism": 7,
93
+ "B-Organism_subdivision": 0,
94
+ "B-Organism_substance": 38,
95
+ "B-Pathological_formation": 58,
96
+ "B-RNA": 22,
97
+ "B-SO": 51,
98
+ "B-Simple_chemical": 54,
99
+ "B-Taxon": 45,
100
+ "B-Tissue": 37,
101
+ "B-cell_line": 40,
102
+ "B-cell_type": 20,
103
+ "B-protein": 25,
104
+ "I-Amino_acid": 44,
105
+ "I-Anatomical_system": 2,
106
+ "I-CHEBI": 13,
107
+ "I-CL": 6,
108
+ "I-Cancer": 49,
109
+ "I-Cell": 50,
110
+ "I-Cellular_component": 30,
111
+ "I-Chemical": 31,
112
+ "I-DNA": 15,
113
+ "I-Developing_anatomical_structure": 34,
114
+ "I-Disease": 29,
115
+ "I-GGP": 4,
116
+ "I-GO": 46,
117
+ "I-Gene_or_gene_product": 9,
118
+ "I-Immaterial_anatomical_entity": 21,
119
+ "I-Multi-tissue_structure": 19,
120
+ "I-Organ": 47,
121
+ "I-Organism": 5,
122
+ "I-Organism_subdivision": 24,
123
+ "I-Organism_substance": 33,
124
+ "I-Pathological_formation": 1,
125
+ "I-RNA": 12,
126
+ "I-SO": 35,
127
+ "I-Simple_chemical": 28,
128
+ "I-Taxon": 56,
129
+ "I-Tissue": 10,
130
+ "I-cell_line": 48,
131
+ "I-cell_type": 36,
132
+ "I-protein": 27,
133
+ "O": 17
134
+ },
135
+ "layer_norm_eps": 1e-12,
136
+ "max_position_embeddings": 512,
137
+ "model_type": "bert",
138
+ "num_attention_heads": 12,
139
+ "num_hidden_layers": 12,
140
+ "pad_token_id": 0,
141
+ "position_embedding_type": "absolute",
142
+ "transformers_version": "4.34.0",
143
+ "type_vocab_size": 2,
144
+ "use_cache": true,
145
+ "vocab_size": 30522
146
+ }
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
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfaa831fc5c0a8cad95803bf58a4cba62b3ae9c0df55291bb589a7b16f7a095f
3
+ size 436021428
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "additional_special_tokens": [],
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_basic_tokenize": true,
48
+ "do_lower_case": true,
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff