CompactBioBERT is a distilled version of the
BioBERT
model which is distilled for 100k training steps using a total batch size of 192 on the PubMed dataset.
Distillation Procedure
This model has the same overall architecture as
DistilBioBERT
with the difference that here we combine the distillation approaches of DistilBioBERT and
TinyBioBERT
. We utilise the same initialisation technique as in
DistilBioBERT
, and apply a layer-to-layer distillation with three major components, namely, MLM, layer, and output distillation.
Initialisation
Following
DistilBERT
, we initialise the student model by taking weights from every other layer of the teacher.
Architecture
In this model, the size of the hidden dimension and the embedding layer are both set to 768. The vocabulary size is 28996. The number of transformer layers is 6 and the expansion rate of the feed-forward layer is 4. Overall, this model has around 65 million parameters.
Citation
If you use this model, please consider citing the following paper:
@article{rohanian2023effectiveness,
title={On the effectiveness of compact biomedical transformers},
author={Rohanian, Omid and Nouriborji, Mohammadmahdi and Kouchaki, Samaneh and Clifton, David A},
journal={Bioinformatics},
volume={39},
number={3},
pages={btad103},
year={2023},
publisher={Oxford University Press}
}
Runs of nlpie compact-biobert on huggingface.co
75
Total runs
0
24-hour runs
1
3-day runs
-1
7-day runs
1
30-day runs
More Information About compact-biobert huggingface.co Model
compact-biobert huggingface.co is an AI model on huggingface.co that provides compact-biobert's model effect (), which can be used instantly with this nlpie compact-biobert model. huggingface.co supports a free trial of the compact-biobert model, and also provides paid use of the compact-biobert. Support call compact-biobert model through api, including Node.js, Python, http.
compact-biobert huggingface.co is an online trial and call api platform, which integrates compact-biobert's modeling effects, including api services, and provides a free online trial of compact-biobert, you can try compact-biobert online for free by clicking the link below.
nlpie compact-biobert online free url in huggingface.co:
compact-biobert is an open source model from GitHub that offers a free installation service, and any user can find compact-biobert on GitHub to install. At the same time, huggingface.co provides the effect of compact-biobert install, users can directly use compact-biobert installed effect in huggingface.co for debugging and trial. It also supports api for free installation.