Instructions to use SetFit/distilbert-base-uncased__TREC-QC__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__TREC-QC__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__TREC-QC__all-train")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SetFit/distilbert-base-uncased__TREC-QC__all-train") model = AutoModelForSequenceClassification.from_pretrained("SetFit/distilbert-base-uncased__TREC-QC__all-train", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
85d0fe0 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:00702cba283158518eafdbcfd5909bee8d35fd39b73dd788c0fa25751f0383f8
size 3055
|