Image-to-Text
Transformers
PyTorch
English
llava
text-generation
visual-question-answering
image-captioning
Instructions to use kaist-ai/volcano-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kaist-ai/volcano-7b with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="kaist-ai/volcano-7b")# Load model directly from transformers import AutoProcessor, AutoModelForCausalLM processor = AutoProcessor.from_pretrained("kaist-ai/volcano-7b") model = AutoModelForCausalLM.from_pretrained("kaist-ai/volcano-7b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
c351a5e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:343284e4996419c9487bf32ad2e45c30bcd0bee76c451bd74de3f27872290cb6
size 6392
|