Instructions to use Leonardo6/llava-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Leonardo6/llava-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Leonardo6/llava-7b", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Leonardo6/llava-7b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update modeling_vlm.py
Verified signature7cd3bbb -
Upload processor_config.json with huggingface_hub
Verified signature76c519d -
Upload config.json with huggingface_hub
Verified signature9637791 -
Upload connectors.py with huggingface_hub
Verified signature44a7352 -
Upload modeling_vlm.py with huggingface_hub
Verified signature2dd0287 -
Upload processor
Verified signaturead68a2a -
Upload VLMForCausalLM
Verified signaturedbd44d1 -
initial commit
Verified signaturea5e2174