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

cjpais
/
llava-v1.6-34B-gguf

Image-Text-to-Text
GGUF
llava
conversational
Model card Files Files and versions
xet
Community
7

Instructions to use cjpais/llava-v1.6-34B-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • llama-cpp-python

    How to use cjpais/llava-v1.6-34B-gguf with llama-cpp-python:

    # !pip install llama-cpp-python
    
    from llama_cpp import Llama
    
    llm = Llama.from_pretrained(
    	repo_id="cjpais/llava-v1.6-34B-gguf",
    	filename="ggml-model-Q5_K.gguf",
    )
    
    llm.create_chat_completion(
    	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"
    					}
    				}
    			]
    		}
    	]
    )
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

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

    How to use cjpais/llava-v1.6-34B-gguf with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "cjpais/llava-v1.6-34B-gguf"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "cjpais/llava-v1.6-34B-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
    docker model run hf.co/cjpais/llava-v1.6-34B-gguf:Q4_K_M
  • Ollama

    How to use cjpais/llava-v1.6-34B-gguf with Ollama:

    ollama run hf.co/cjpais/llava-v1.6-34B-gguf:Q4_K_M
  • Unsloth Studio

    How to use cjpais/llava-v1.6-34B-gguf 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 cjpais/llava-v1.6-34B-gguf 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 cjpais/llava-v1.6-34B-gguf to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for cjpais/llava-v1.6-34B-gguf to start chatting
  • Atomic Chat new
  • Docker Model Runner

    How to use cjpais/llava-v1.6-34B-gguf with Docker Model Runner:

    docker model run hf.co/cjpais/llava-v1.6-34B-gguf:Q4_K_M
  • Lemonade

    How to use cjpais/llava-v1.6-34B-gguf with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull cjpais/llava-v1.6-34B-gguf:Q4_K_M
    Run and chat with the model
    lemonade run user.llava-v1.6-34B-gguf-Q4_K_M
    List all available models
    lemonade list
llava-v1.6-34B-gguf
244 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 17 commits
cjpais's picture
cjpais
Update README.md
98ab830 verified over 2 years ago
  • .gitattributes
    2.26 kB
    Upload 2 files over 2 years ago
  • README.md
    3.04 kB
    Update README.md over 2 years ago
  • ggml-model-Q5_K.gguf
    24.3 GB
    xet
    init q5 quants over 2 years ago
  • llava-1.6-34b.Q3_K.gguf
    16.7 GB
    xet
    q3, q5 quant v0 over 2 years ago
  • llava-1.6-34b.Q3_K_XS.gguf
    14.2 GB
    xet
    q3, q5 quant v0 over 2 years ago
  • llava-1.6-34b.Q5_K_S.gguf
    23.7 GB
    xet
    q3, q5 quant v0 over 2 years ago
  • llava-v1.6-34b.Q3_K_M.gguf
    16.7 GB
    xet
    Upload 2 files over 2 years ago
  • llava-v1.6-34b.Q3_K_XS.gguf
    14.2 GB
    xet
    Upload 2 files over 2 years ago
  • llava-v1.6-34b.Q4_K_M.gguf
    20.7 GB
    xet
    Upload llava-v1.6-34b.Q4_K_M.gguf over 2 years ago
  • llava-v1.6-34b.Q5_K_M.gguf
    24.3 GB
    xet
    Upload 2 files over 2 years ago
  • llava-v1.6-34b.Q5_K_S.gguf
    23.7 GB
    xet
    Upload 2 files over 2 years ago
  • llava-v1.6-34b.Q6_K.gguf
    28.2 GB
    xet
    Upload llava-v1.6-34b.Q6_K.gguf over 2 years ago
  • llava-v1.6-34b.Q8_0.gguf
    36.5 GB
    xet
    Upload llava-v1.6-34b.Q8_0.gguf over 2 years ago
  • mmproj-model-f16.gguf
    700 MB
    xet
    updated projector based on PR #5267 over 2 years ago