Instructions to use YouLiXiya/tinyllava-v1.0-1.1b-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YouLiXiya/tinyllava-v1.0-1.1b-hf 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="YouLiXiya/tinyllava-v1.0-1.1b-hf")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("YouLiXiya/tinyllava-v1.0-1.1b-hf") model = AutoModelForMultimodalLM.from_pretrained("YouLiXiya/tinyllava-v1.0-1.1b-hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Example of tinyllava model implementation Tk transformers
#2
by sujitvasanth - opened
I used your model for a visual chat Tkinter program.. you can see a video here
https://github.com/sujitvasanth/TinyLlava-Tk
Many thanks to TinyLlava-Tk for providing a simple and easy to use GUI for our model.
very welcome! thankyou for your excellent model.