Token Classification
Transformers
PyTorch
English
bert
NER
Biomedical
Genetics
Inference Endpoints
sschet commited on
Commit
4be706a
1 Parent(s): a304a22

Upload 6 files

Browse files
README.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: "en"
3
+ license: apache-2.0
4
+ tags:
5
+ - token-classification
6
+ - NER
7
+ - Biomedical
8
+ - Genetics
9
+ datasets:
10
+ - JNLPBA
11
+ - BC2GM
12
+ - tner/bc5cdr
13
+ - jnlpba
14
+ - bc2gm_corpus
15
+ - drAbreu/bc4chemd_ner
16
+ - linnaeus
17
+ - ncbi_disease
18
+ ---
19
+ BioBERT model fine-tuned in NER task with JNLPBA and BC2GM corpus for genetic class entities.
20
+
21
+ This was fine-tuned in order to use it in a BioNER/BioNEN system which is available at: https://github.com/librairy/bio-ner
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 3,
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "B-GENETIC",
13
+ "1": "I-GENETIC",
14
+ "2": "O"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "B-GENETIC": 0,
20
+ "I-GENETIC": 1,
21
+ "O": 2
22
+ },
23
+ "layer_norm_eps": 1e-12,
24
+ "max_position_embeddings": 512,
25
+ "model_type": "bert",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "position_embedding_type": "absolute",
30
+ "transformers_version": "4.5.0",
31
+ "type_vocab_size": 2,
32
+ "use_cache": true,
33
+ "vocab_size": 28996
34
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bab85f4ea1e573a3299dd35f8bb13e48dc09e97f5e7899f59ccf2c0b9dac3c0
3
+ size 430926282
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
1
+ {"do_lower_case": false, "init_inputs": [], "max_len": 512}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff