Instructions to use Abc7347/12bgguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Abc7347/12bgguf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Abc7347/12bgguf")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Abc7347/12bgguf") model = AutoModelForMultimodalLM.from_pretrained("Abc7347/12bgguf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Abc7347/12bgguf 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 Abc7347/12bgguf:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf Abc7347/12bgguf:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Abc7347/12bgguf:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf Abc7347/12bgguf:UD-Q4_K_XL
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Abc7347/12bgguf:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama cli -hf Abc7347/12bgguf:UD-Q4_K_XL
Use Docker
docker model run hf.co/Abc7347/12bgguf:UD-Q4_K_XL
- Llama new
- LM Studio
- Jan
- vLLM
How to use Abc7347/12bgguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Abc7347/12bgguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Abc7347/12bgguf", "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/Abc7347/12bgguf:UD-Q4_K_XL
- SGLang
How to use Abc7347/12bgguf with 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 "Abc7347/12bgguf" \ --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": "Abc7347/12bgguf", "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 "Abc7347/12bgguf" \ --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": "Abc7347/12bgguf", "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" } } ] } ] }' - Ollama
How to use Abc7347/12bgguf with Ollama:
ollama run hf.co/Abc7347/12bgguf:UD-Q4_K_XL
- Unsloth Desktop
- Docker Model Runner
How to use Abc7347/12bgguf with Docker Model Runner:
docker model run hf.co/Abc7347/12bgguf:UD-Q4_K_XL
- Lemonade
How to use Abc7347/12bgguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Abc7347/12bgguf:UD-Q4_K_XL
Run and chat with the model
lemonade run user.12bgguf-UD-Q4_K_XL
List all available models
lemonade list
- Atomic Chat
Ctrl+K
- 3.64 kB
- 25 kB
- 1.67 kB
- 23.5 GB xet
- 6.89 GB xet
- 6.55 GB xet
- 4.77 GB xet
- 4.77 GB xet
- 6.01 GB xet
- 5.46 GB xet
- 6.91 GB xet
- 7.56 GB xet
- 7.3 GB xet
- 6.94 GB xet
- 8.45 GB xet
- 8.23 GB xet
- 9.66 GB xet
- 12.5 GB xet
- 3.25 GB xet
- 3.06 GB xet
- 4.37 GB xet
- 3.6 GB xet
- 4.83 GB xet
- 4.86 GB xet
- 6.14 GB xet
- 7.43 GB xet
- 8.46 GB xet
- 10.6 GB xet
- 14.4 GB xet
- 7.43 MB xet
- 854 MB xet
- 854 MB xet
- 1.68 GB xet
- 201 Bytes
- 476 Bytes