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