Instructions to use hf-tiny-model-private/tiny-random-MBartForQuestionAnswering 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-MBartForQuestionAnswering 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-MBartForQuestionAnswering")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-MBartForQuestionAnswering") model = AutoModelForQuestionAnswering.from_pretrained("hf-tiny-model-private/tiny-random-MBartForQuestionAnswering", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
d0e74da | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:0de052a6d35bc077210945ac8aa9a38cc71d980b9162b793e4646e0ac9a20b05
size 16055464
|