Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

kelnei
/
slugvision-2.2b

Image-Text-to-Text
Safetensors
GGUF
English
smolvlm
image-to-text
slug-generation
distillation
smolvlm2
conversational
Model card Files Files and versions
xet
Community

Instructions to use kelnei/slugvision-2.2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use kelnei/slugvision-2.2b with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf kelnei/slugvision-2.2b:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf kelnei/slugvision-2.2b:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf kelnei/slugvision-2.2b:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf kelnei/slugvision-2.2b:Q4_K_M
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf kelnei/slugvision-2.2b:Q4_K_M
    # Run inference directly in the terminal:
    ./llama-cli -hf kelnei/slugvision-2.2b:Q4_K_M
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf kelnei/slugvision-2.2b:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf kelnei/slugvision-2.2b:Q4_K_M
    Use Docker
    docker model run hf.co/kelnei/slugvision-2.2b:Q4_K_M
  • LM Studio
  • Jan
  • vLLM

    How to use kelnei/slugvision-2.2b with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "kelnei/slugvision-2.2b"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "kelnei/slugvision-2.2b",
    		"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/kelnei/slugvision-2.2b:Q4_K_M
  • Ollama

    How to use kelnei/slugvision-2.2b with Ollama:

    ollama run hf.co/kelnei/slugvision-2.2b:Q4_K_M
  • Unsloth Studio

    How to use kelnei/slugvision-2.2b with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for kelnei/slugvision-2.2b to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for kelnei/slugvision-2.2b to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for kelnei/slugvision-2.2b to start chatting
  • Docker Model Runner

    How to use kelnei/slugvision-2.2b with Docker Model Runner:

    docker model run hf.co/kelnei/slugvision-2.2b:Q4_K_M
  • Lemonade

    How to use kelnei/slugvision-2.2b with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull kelnei/slugvision-2.2b:Q4_K_M
    Run and chat with the model
    lemonade run user.slugvision-2.2b-Q4_K_M
    List all available models
    lemonade list
  • Atomic Chat
slugvision-2.2b
8.41 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
kelnei's picture
kelnei
Link the now-public project repo
089ea93 verified 11 days ago
  • .gitattributes
    1.7 kB
    Add mmproj-f16.gguf 12 days ago
  • README.md
    5.78 kB
    Link the now-public project repo 11 days ago
  • chat_template.jinja
    403 Bytes
    Add merged checkpoint 12 days ago
  • config.json
    4.15 kB
    Add merged checkpoint 12 days ago
  • generation_config.json
    136 Bytes
    Add merged checkpoint 12 days ago
  • mmproj-f16.gguf
    872 MB
    xet
    Add mmproj-f16.gguf 12 days ago
  • model.safetensors
    4.49 GB
    xet
    Add merged checkpoint 12 days ago
  • preprocessor_config.json
    599 Bytes
    Add merged checkpoint 12 days ago
  • processor_config.json
    1.46 kB
    Add merged checkpoint 12 days ago
  • slugvision-2.2b-q4_k_m.gguf
    1.11 GB
    xet
    Add slugvision-2.2b-q4_k_m.gguf 12 days ago
  • slugvision-2.2b-q8_0.gguf
    1.93 GB
    xet
    Add slugvision-2.2b-q8_0.gguf 12 days ago
  • tokenizer.json
    3.55 MB
    Add merged checkpoint 12 days ago
  • tokenizer_config.json
    849 Bytes
    Add merged checkpoint 12 days ago