Instructions to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF", dtype="auto") - llama-cpp-python
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF", filename="Qwen_Qwen2.5-Coder-1.5B-Instruct-F16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16 # Run inference directly in the terminal: llama-cli -hf GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16 # Run inference directly in the terminal: llama-cli -hf GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
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 GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
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 GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
Use Docker
docker model run hf.co/GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
- LM Studio
- Jan
- vLLM
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GTOMA83/Qwen2.5-Coder-1.5B-Instruct-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": "GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
- SGLang
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF 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 "GTOMA83/Qwen2.5-Coder-1.5B-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": "GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "GTOMA83/Qwen2.5-Coder-1.5B-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": "GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with Ollama:
ollama run hf.co/GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
- Unsloth Studio
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-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 GTOMA83/Qwen2.5-Coder-1.5B-Instruct-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 GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF to start chatting
- Pi
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
Run Hermes
hermes
- Docker Model Runner
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
- Lemonade
How to use GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull GTOMA83/Qwen2.5-Coder-1.5B-Instruct-GGUF:F16
Run and chat with the model
lemonade run user.Qwen2.5-Coder-1.5B-Instruct-GGUF-F16
List all available models
lemonade list
See our collection for all versions of Qwen3 including GGUF, 4-bit & 16-bit formats.
Learn to run Qwen3-Coder correctly - Read our Guide.
See Unsloth Dynamic 2.0 GGUFs for our quantization benchmarks.
โจ Read our Qwen3-Coder Guide here!
- Fine-tune Qwen3 (14B) for free using our Google Colab notebook!
- Read our Blog about Qwen3 support: unsloth.ai/blog/qwen3
- View the rest of our notebooks in our docs here.
Unsloth supports Free Notebooks Performance Memory use Qwen3 (14B) โถ๏ธ Start on Colab 3x faster 70% less GRPO with Qwen3 (8B) โถ๏ธ Start on Colab 3x faster 80% less Llama-3.2 (3B) โถ๏ธ Start on Colab 2.4x faster 58% less Llama-3.2 (11B vision) โถ๏ธ Start on Colab 2x faster 60% less Qwen2.5 (7B) โถ๏ธ Start on Colab 2x faster 60% less
Qwen2.5-Coder-1.5B-Instruct-GGUF
Perplexity table (the lower the better)
| Quant | Size (MB) | PPL | Size (%) | Accuracy (%) | PPL error rate |
|---|---|---|---|---|---|
| IQ1_S | 417 | 193.6245 | 14.13 | 5.24 | 1.77149 |
| IQ1_M | 443 | 66.9068 | 15.01 | 15.17 | 0.52878 |
| IQ2_XXS | 488 | 33.3356 | 16.54 | 30.45 | 0.25559 |
| IQ2_XS | 525 | 20.287 | 17.79 | 50.04 | 0.14936 |
| IQ2_S | 538 | 18.2927 | 18.23 | 55.49 | 0.1338 |
| IQ2_M | 574 | 15.4838 | 19.45 | 65.56 | 0.11113 |
| Q2_K_S | 611 | 16.0169 | 20.7 | 63.38 | 0.11623 |
| IQ3_XXS | 638 | 12.3935 | 21.62 | 81.91 | 0.0877 |
| Q2_K | 645 | 14.1657 | 21.86 | 71.66 | 0.10105 |
| IQ3_XS | 698 | 11.7112 | 23.65 | 86.68 | 0.08256 |
| Q3_K_S | 726 | 12.4782 | 24.6 | 81.35 | 0.08842 |
| IQ3_S | 728 | 11.4241 | 24.67 | 88.86 | 0.07977 |
| IQ3_M | 741 | 11.4058 | 25.11 | 89 | 0.07862 |
| Q3_K_M | 786 | 11.3529 | 26.64 | 89.42 | 0.08018 |
| Q3_K_L | 840 | 11.1934 | 28.46 | 90.69 | 0.07913 |
| IQ4_XS | 855 | 10.5302 | 28.97 | 96.4 | 0.07351 |
| IQ4_NL | 893 | 10.5116 | 30.26 | 96.57 | 0.07335 |
| Q4_0 | 895 | 10.8217 | 30.33 | 93.8 | 0.07576 |
| Q4_K_S | 897 | 10.5236 | 30.4 | 96.46 | 0.0736 |
| Q4_K_M | 941 | 10.4628 | 31.89 | 97.02 | 0.0731 |
| Q4_1 | 970 | 10.51 | 32.87 | 96.59 | 0.07347 |
| Q5_K_S | 1048 | 10.2715 | 35.51 | 98.83 | 0.07148 |
| Q5_0 | 1051 | 10.3196 | 35.62 | 98.37 | 0.07212 |
| Q5_K_M | 1073 | 10.2529 | 36.36 | 99.01 | 0.07143 |
| Q5_1 | 1126 | 10.2624 | 38.16 | 98.92 | 0.0714 |
| Q6_K | 1214 | 10.203 | 41.14 | 99.49 | 0.07108 |
| Q8_0 | 1571 | 10.167 | 53.24 | 99.84 | 0.07068 |
| F16 | 2951 | 10.1512 | 100 | 100 | 0.07058 |
- Downloads last month
- 61
4-bit
16-bit