Image-to-Text
Transformers
Safetensors
English
phi
text-generation
vision-language
llava
clip
qlora
multimodal
text-generation-inference
4-bit precision
bitsandbytes
Instructions to use sagar007/Lava_phi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sagar007/Lava_phi 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="sagar007/Lava_phi")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("sagar007/Lava_phi") model = AutoModelForCausalLM.from_pretrained("sagar007/Lava_phi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload README.md with huggingface_hub
Verified signature55b7785 -
Upload PhiForCausalLM
Verified signaturee5921ee -
Upload README.md with huggingface_hub
Verified signature9eb4fca -
Upload tokenizer
Verified signature0c56b2f -
Upload PhiForCausalLM
Verified signature4daa8b9 -
initial commit
Verified signature1773f6c