Instructions to use kxm1k4m1/SPAI5-LV1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kxm1k4m1/SPAI5-LV1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="kxm1k4m1/SPAI5-LV1")# Load model directly from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering processor = AutoProcessor.from_pretrained("kxm1k4m1/SPAI5-LV1") model = AutoModelForVisualQuestionAnswering.from_pretrained("kxm1k4m1/SPAI5-LV1") - Notebooks
- Google Colab
- Kaggle
Ctrl+K