Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use okho0653/distilbert-base-zero-shot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use okho0653/distilbert-base-zero-shot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="okho0653/distilbert-base-zero-shot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("okho0653/distilbert-base-zero-shot") model = AutoModelForSequenceClassification.from_pretrained("okho0653/distilbert-base-zero-shot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from okho0653/distilbert-base-zero-shot: direct link, hf CLI and curl.
- Browser
- Download file 711 kB
-
https://huggingface.co/okho0653/distilbert-base-zero-shot/resolve/main/tokenizer.json
- Command line
-
hf download hf://okho0653/distilbert-base-zero-shot/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/okho0653/distilbert-base-zero-shot/resolve/main/tokenizer.json
711 kB
File too large to display, you can check the raw version instead.