How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "shashikanth-a/llava-1.5-7b-hf-4bit"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "shashikanth-a/llava-1.5-7b-hf-4bit",
		"messages": [
			{
				"role": "user",
				"content": [
					{
						"type": "text",
						"text": "Describe this image in one sentence."
					},
					{
						"type": "image_url",
						"image_url": {
							"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
						}
					}
				]
			}
		]
	}'
Use Docker
docker model run hf.co/shashikanth-a/llava-1.5-7b-hf-4bit
Quick Links

shashikanth-a/llava-1.5-7b-hf-4bit

This model was converted to MLX format from unsloth/llava-1.5-7b-hf using mlx-vlm version 0.1.3. Refer to the original model card for more details on the model.

Use with mlx

pip install -U mlx-vlm
python -m mlx_vlm.generate --model shashikanth-a/llava-1.5-7b-hf-4bit --max-tokens 100 --temp 0.0
Downloads last month
30
Safetensors
Model size
1B params
Tensor type
F16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for shashikanth-a/llava-1.5-7b-hf-4bit

Finetuned
(109)
this model