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