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