Instructions to use medicalai/ClinicalBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use medicalai/ClinicalBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="medicalai/ClinicalBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("medicalai/ClinicalBERT") model = AutoModelForMaskedLM.from_pretrained("medicalai/ClinicalBERT", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#2
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0460dfa768591f3ebd1b7dd09abc8ce37b5bec4614680de48df21163c3746788
|
| 3 |
+
size 541795684
|