DistilClinicalBERT is a distilled version of the
BioClinicalBERT
model which is distilled for 3 epochs using a total batch size of 192 on the MIMIC-III notes dataset.
Distillation Procedure
This model uses a simple distillation technique, which tries to align the output distribution of the student model with the output distribution of the teacher based on the MLM objective. In addition, it optionally uses another alignment loss for aligning the last hidden state of the student and teacher.
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{rohanian2023lightweight,
title={Lightweight transformers for clinical natural language processing},
author={Rohanian, Omid and Nouriborji, Mohammadmahdi and Jauncey, Hannah and Kouchaki, Samaneh and Nooralahzadeh, Farhad and Clifton, Lei and Merson, Laura and Clifton, David A and ISARIC Clinical Characterisation Group and others},
journal={Natural Language Engineering},
pages={1--28},
year={2023},
publisher={Cambridge University Press}
}
Runs of nlpie distil-clinicalbert on huggingface.co
37
Total runs
3
24-hour runs
9
3-day runs
10
7-day runs
-29
30-day runs
More Information About distil-clinicalbert huggingface.co Model
distil-clinicalbert huggingface.co
distil-clinicalbert huggingface.co is an AI model on huggingface.co that provides distil-clinicalbert's model effect (), which can be used instantly with this nlpie distil-clinicalbert model. huggingface.co supports a free trial of the distil-clinicalbert model, and also provides paid use of the distil-clinicalbert. Support call distil-clinicalbert model through api, including Node.js, Python, http.
distil-clinicalbert huggingface.co is an online trial and call api platform, which integrates distil-clinicalbert's modeling effects, including api services, and provides a free online trial of distil-clinicalbert, you can try distil-clinicalbert online for free by clicking the link below.
nlpie distil-clinicalbert online free url in huggingface.co:
distil-clinicalbert is an open source model from GitHub that offers a free installation service, and any user can find distil-clinicalbert on GitHub to install. At the same time, huggingface.co provides the effect of distil-clinicalbert install, users can directly use distil-clinicalbert installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
distil-clinicalbert install url in huggingface.co: