How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "peft-internal-testing/tiny-LlavaForConditionalGeneration"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "peft-internal-testing/tiny-LlavaForConditionalGeneration",
		"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/peft-internal-testing/tiny-LlavaForConditionalGeneration
Quick Links

Tiny LlavaForConditionalGeneration

PEFT copy of trl-internal-testing/tiny-LlavaForConditionalGeneration, minimal model built for unit tests.

Downloads last month
7,689
Safetensors
Model size
525k params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support