Instructions to use hf-tiny-model-private/tiny-random-BartForQuestionAnswering with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-BartForQuestionAnswering with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="hf-tiny-model-private/tiny-random-BartForQuestionAnswering")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-BartForQuestionAnswering") model = AutoModelForQuestionAnswering.from_pretrained("hf-tiny-model-private/tiny-random-BartForQuestionAnswering") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
11b988d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:adc2bb70895050fec8c7e7eb9a7f16569fca16a230befd632ea1a6c4b5bc0a03
size 138440
|