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