Instructions to use csarron/vilt-nlvr2-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use csarron/vilt-nlvr2-ft with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, ViltForVisualReasoning processor = AutoProcessor.from_pretrained("csarron/vilt-nlvr2-ft") model = ViltForVisualReasoning.from_pretrained("csarron/vilt-nlvr2-ft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
11c8ceb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:49746f1d7526ab0deb79bc9cd9d49166430ba729594be2c09160e0e75d5c4f81
size 455904567
|