Instructions to use SetFit/distilbert-base-uncased__ethos_binary__all-train with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SetFit/distilbert-base-uncased__ethos_binary__all-train with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SetFit/distilbert-base-uncased__ethos_binary__all-train")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SetFit/distilbert-base-uncased__ethos_binary__all-train") model = AutoModelForSequenceClassification.from_pretrained("SetFit/distilbert-base-uncased__ethos_binary__all-train", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
3e71eeb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e9125df772994447bba2dd873e03c7b31579d3aeda22e3adeb8aeab8679410b3
size 3119
|