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

Tiny Qwen2_5_VLForConditionalGeneration

This is a minimal model built for unit tests in the TRL library.

Downloads last month
521,921
Safetensors
Model size
3.86M params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for trl-internal-testing/tiny-Qwen2_5_VLForConditionalGeneration

Adapters
3 models
Finetunes
2 models

Space using trl-internal-testing/tiny-Qwen2_5_VLForConditionalGeneration 1

Collection including trl-internal-testing/tiny-Qwen2_5_VLForConditionalGeneration