Image-Text-to-Text
Transformers
GGUF
English
llama-cpp
gguf-my-repo
conversational
How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "HarshKalburgi/SmolVLM-256M-Instruct-GGUF" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "HarshKalburgi/SmolVLM-256M-Instruct-GGUF",
		"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 images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "HarshKalburgi/SmolVLM-256M-Instruct-GGUF" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "HarshKalburgi/SmolVLM-256M-Instruct-GGUF",
		"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"
						}
					}
				]
			}
		]
	}'
Quick Links

SmolVLM-256M-Instruct

Model creator: HuggingFaceTB
Original model: HuggingFaceTB/SmolVLM-256M-Instruct
GGUF quantization: provided by HarshKalburgi using llama.cpp

Special thanks

🙏 Special thanks to Georgi Gerganov and the whole team working on llama.cpp for making all of this possible.

Use with Ollama

ollama run "hf.co/HarshKalburgi/SmolVLM-256M-Instruct-GGUF:Q4_K_M"

Use with LM Studio

lms load "HarshKalburgi/SmolVLM-256M-Instruct-GGUF"

Use with llama.cpp CLI

llama-cli --hf "HarshKalburgi/SmolVLM-256M-Instruct-GGUF:Q4_K_M" -p "The meaning to life and the universe is"

Use with llama.cpp Server:

llama-server --hf "HarshKalburgi/SmolVLM-256M-Instruct-GGUF:Q4_K_M" -c 4096
Downloads last month
39
GGUF
Model size
0.2B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for HarshKalburgi/SmolVLM-256M-Instruct-GGUF

Datasets used to train HarshKalburgi/SmolVLM-256M-Instruct-GGUF