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

Nanthasit
/
sakthai-vision-7b

Image-to-Text
Transformers
GGUF
English
vision
image-captioning
vqa
sakthai-family
house-of-sak
multimodal
llava
vision-language
rag
cpu
captcha
ocr
multimodal-rag
clip
llm
Eval Results (legacy)
conversational
Model card Files Files and versions
xet
Community

Instructions to use Nanthasit/sakthai-vision-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Nanthasit/sakthai-vision-7b with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("image-to-text", model="Nanthasit/sakthai-vision-7b")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Nanthasit/sakthai-vision-7b", device_map="auto")
  • llama-cpp-python

    How to use Nanthasit/sakthai-vision-7b with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="Nanthasit/sakthai-vision-7b",
    	filename="llava-1.5-7b-hf-q4_k_m.gguf",
    )
    
    llm.create_chat_completion(
    	messages = "\"cats.jpg\""
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use Nanthasit/sakthai-vision-7b 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 Nanthasit/sakthai-vision-7b:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf Nanthasit/sakthai-vision-7b:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf Nanthasit/sakthai-vision-7b:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf Nanthasit/sakthai-vision-7b: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 Nanthasit/sakthai-vision-7b:Q4_K_M
    # Run inference directly in the terminal:
    ./llama-cli -hf Nanthasit/sakthai-vision-7b: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 Nanthasit/sakthai-vision-7b:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf Nanthasit/sakthai-vision-7b:Q4_K_M
    Use Docker
    docker model run hf.co/Nanthasit/sakthai-vision-7b:Q4_K_M
  • LM Studio
  • Jan
  • Ollama

    How to use Nanthasit/sakthai-vision-7b with Ollama:

    ollama run hf.co/Nanthasit/sakthai-vision-7b:Q4_K_M
  • Unsloth Studio

    How to use Nanthasit/sakthai-vision-7b 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 Nanthasit/sakthai-vision-7b 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 Nanthasit/sakthai-vision-7b to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for Nanthasit/sakthai-vision-7b to start chatting
  • Atomic Chat new
  • Docker Model Runner

    How to use Nanthasit/sakthai-vision-7b with Docker Model Runner:

    docker model run hf.co/Nanthasit/sakthai-vision-7b:Q4_K_M
  • Lemonade

    How to use Nanthasit/sakthai-vision-7b with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull Nanthasit/sakthai-vision-7b:Q4_K_M
    Run and chat with the model
    lemonade run user.sakthai-vision-7b-Q4_K_M
    List all available models
    lemonade list
sakthai-vision-7b
4.71 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 34 commits
Nanthasit's picture
Nanthasit
Cron: Add Support the Project section to vision model card
4db5fef verified about 3 hours ago
  • .gitattributes
    1.71 kB
    Upload llava-1.5-7b-hf-q4_k_m.gguf with huggingface_hub about 11 hours ago
  • README.md
    16.9 kB
    Cron: Add Support the Project section to vision model card about 3 hours ago
  • llava-1.5-7b-hf-q4_k_m.gguf
    4.08 GB
    xet
    Upload llava-1.5-7b-hf-q4_k_m.gguf with huggingface_hub about 10 hours ago
  • mmproj-model-f16.gguf
    624 MB
    xet
    Add mmproj-model-f16.gguf — vision projection file required for LLaVA GGUF inference 3 days ago