Instructions to use nlpie/tiny-clinicalbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nlpie/tiny-clinicalbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nlpie/tiny-clinicalbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("nlpie/tiny-clinicalbert") model = AutoModelForMaskedLM.from_pretrained("nlpie/tiny-clinicalbert", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
ea0c538 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c85fb3e6af71cfacb21a0512076b169d8d47effb013c6998398f0026c51c7381
size 55627816
|