Instructions to use anthropoleo/distilbert-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anthropoleo/distilbert-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="anthropoleo/distilbert-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("anthropoleo/distilbert-model") model = AutoModelForSequenceClassification.from_pretrained("anthropoleo/distilbert-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Initial commit
Verified signatureb9004f8 -
Initial commit
Verified signature57dd40d -
initial commit
Verified signature2ad2c5e