Uploading the Model
Browse files- README.md +45 -0
- config.json +30 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- spiece.model +3 -0
- tokenizer_config.json +1 -0
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
BioM-Transformers: Building Large Biomedical Language Models with
|
2 |
+
BERT, ALBERT and ELECTRA
|
3 |
+
|
4 |
+
Abstract
|
5 |
+
|
6 |
+
|
7 |
+
The impact of design choices on the performance
|
8 |
+
of biomedical language models recently
|
9 |
+
has been a subject for investigation. In
|
10 |
+
this paper, we empirically study biomedical
|
11 |
+
domain adaptation with large transformer models
|
12 |
+
using different design choices. We evaluate
|
13 |
+
the performance of our pretrained models
|
14 |
+
against other existing biomedical language
|
15 |
+
models in the literature. Our results show that
|
16 |
+
we achieve state-of-the-art results on several
|
17 |
+
biomedical domain tasks despite using similar
|
18 |
+
or less computational cost compared to other
|
19 |
+
models in the literature. Our findings highlight
|
20 |
+
the significant effect of design choices on
|
21 |
+
improving the performance of biomedical language
|
22 |
+
models.
|
23 |
+
|
24 |
+
|
25 |
+
This model is fine-tuned on the SQuAD2.0 dataset. Fine-tuning the biomedical language model on the SQuAD dataset helps improve the score on the BioASQ challenge. If you plan to work with BioASQ or biomedical QA tasks, it's better to use this model over BioM-ALBERT-xxlarge.
|
26 |
+
|
27 |
+
Huggingface library doesn't implement the Layer-Wise decay feature, which affects the performance on the SQuAD task. The reported result of BioM-ALBERT-xxlarge-SQuAD in our paper is 87.00 (F1) since we use ALBERT open-source code with TF checkpoint, which uses Layer-Wise decay.
|
28 |
+
Citation
|
29 |
+
|
30 |
+
|
31 |
+
```bibtex
|
32 |
+
@inproceedings{alrowili-shanker-2021-biom,
|
33 |
+
title = "{B}io{M}-Transformers: Building Large Biomedical Language Models with {BERT}, {ALBERT} and {ELECTRA}",
|
34 |
+
author = "Alrowili, Sultan and
|
35 |
+
Shanker, Vijay",
|
36 |
+
booktitle = "Proceedings of the 20th Workshop on Biomedical Language Processing",
|
37 |
+
month = jun,
|
38 |
+
year = "2021",
|
39 |
+
address = "Online",
|
40 |
+
publisher = "Association for Computational Linguistics",
|
41 |
+
url = "https://www.aclweb.org/anthology/2021.bionlp-1.24",
|
42 |
+
pages = "221--227",
|
43 |
+
abstract = "The impact of design choices on the performance of biomedical language models recently has been a subject for investigation. In this paper, we empirically study biomedical domain adaptation with large transformer models using different design choices. We evaluate the performance of our pretrained models against other existing biomedical language models in the literature. Our results show that we achieve state-of-the-art results on several biomedical domain tasks despite using similar or less computational cost compared to other models in the literature. Our findings highlight the significant effect of design choices on improving the performance of biomedical language models.",
|
44 |
+
}
|
45 |
+
```
|
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"AlbertForQuestionAnswering"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0,
|
6 |
+
"bos_token_id": 2,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"down_scale_factor": 1,
|
9 |
+
"embedding_size": 128,
|
10 |
+
"eos_token_id": 3,
|
11 |
+
"gap_size": 0,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0,
|
14 |
+
"hidden_size": 4096,
|
15 |
+
"initializer_range": 0.01,
|
16 |
+
"inner_group_num": 1,
|
17 |
+
"intermediate_size": 16384,
|
18 |
+
"layer_norm_eps": 1e-12,
|
19 |
+
"layers_to_keep": [],
|
20 |
+
"max_position_embeddings": 512,
|
21 |
+
"model_type": "albert",
|
22 |
+
"net_structure_type": 0,
|
23 |
+
"num_attention_heads": 64,
|
24 |
+
"num_hidden_groups": 1,
|
25 |
+
"num_hidden_layers": 12,
|
26 |
+
"num_memory_blocks": 0,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"type_vocab_size": 2,
|
29 |
+
"vocab_size": 30000
|
30 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81cb93771b691a4d858746789e2cb4e8d737c441cc9879294ef4ceb0b5e5d8a2
|
3 |
+
size 890421438
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a677d8e80a34a6ac26b1d54e436a83d073e2991f27e7110df1039f751830ce95
|
3 |
+
size 778401
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"do_lower_case": true, "special_tokens_map_file": null, "full_tokenizer_file": null}
|