Instructions to use bthomas/setfit_bench_bert-base-uncased_finetuned_for_seqclassif with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bthomas/setfit_bench_bert-base-uncased_finetuned_for_seqclassif with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="bthomas/setfit_bench_bert-base-uncased_finetuned_for_seqclassif")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("bthomas/setfit_bench_bert-base-uncased_finetuned_for_seqclassif") model = AutoModelForSequenceClassification.from_pretrained("bthomas/setfit_bench_bert-base-uncased_finetuned_for_seqclassif") - Notebooks
- Google Colab
- Kaggle
Ctrl+K