Instructions to use emilyalsentzer/Bio_ClinicalBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use emilyalsentzer/Bio_ClinicalBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="emilyalsentzer/Bio_ClinicalBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("emilyalsentzer/Bio_ClinicalBERT", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
3c61d9a
1
Parent(s): 9b5e038
Add TF weights
Browse filesModel converted by the [`transformers`' `pt_to_tf` CLI](https://github.com/huggingface/transformers/blob/main/src/transformers/commands/pt_to_tf.py). All converted model outputs and hidden layers were validated against its PyTorch counterpart.
Maximum crossload output difference=3.174e-06; Maximum crossload hidden layer difference=1.144e-05;
Maximum conversion output difference=3.174e-06; Maximum conversion hidden layer difference=1.144e-05;