Instructions to use hf-internal-testing/tiny-random-BartForQuestionAnswering with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-BartForQuestionAnswering with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="hf-internal-testing/tiny-random-BartForQuestionAnswering")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-BartForQuestionAnswering") model = AutoModelForQuestionAnswering.from_pretrained("hf-internal-testing/tiny-random-BartForQuestionAnswering", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- ddb23cc50a284833f4e29c23c68b472bdc0683c32ff203f397ff346e2d0d393e
- Size of remote file:
- 138 kB
- SHA256:
- 3d3ec5086b563f11c6f7883b50e69e4370668b60ce9eafc416d7786eeb2428b0
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.