Text Classification
Transformers
Safetensors
English
distilbert
medical 0 - invalid term 1 - valid disease 2 - multiple disease
text-embeddings-inference
Instructions to use samant/distilbert-base-uncased-medical-valid-term with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use samant/distilbert-base-uncased-medical-valid-term with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="samant/distilbert-base-uncased-medical-valid-term")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("samant/distilbert-base-uncased-medical-valid-term") model = AutoModelForSequenceClassification.from_pretrained("samant/distilbert-base-uncased-medical-valid-term") - Notebooks
- Google Colab
- Kaggle

