Instructions to use second-state/Qwen2.5-Coder-14B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use second-state/Qwen2.5-Coder-14B-Instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="second-state/Qwen2.5-Coder-14B-Instruct-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("second-state/Qwen2.5-Coder-14B-Instruct-GGUF") model = AutoModelForCausalLM.from_pretrained("second-state/Qwen2.5-Coder-14B-Instruct-GGUF") - llama-cpp-python
How to use second-state/Qwen2.5-Coder-14B-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="second-state/Qwen2.5-Coder-14B-Instruct-GGUF", filename="Qwen2.5-Coder-14B-Instruct-Q2_K.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 second-state/Qwen2.5-Coder-14B-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 second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf second-state/Qwen2.5-Coder-14B-Instruct-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 second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf second-state/Qwen2.5-Coder-14B-Instruct-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 second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use second-state/Qwen2.5-Coder-14B-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "second-state/Qwen2.5-Coder-14B-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": "second-state/Qwen2.5-Coder-14B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
- SGLang
How to use second-state/Qwen2.5-Coder-14B-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 "second-state/Qwen2.5-Coder-14B-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": "second-state/Qwen2.5-Coder-14B-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 "second-state/Qwen2.5-Coder-14B-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": "second-state/Qwen2.5-Coder-14B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use second-state/Qwen2.5-Coder-14B-Instruct-GGUF with Ollama:
ollama run hf.co/second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
- Unsloth Studio
How to use second-state/Qwen2.5-Coder-14B-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 second-state/Qwen2.5-Coder-14B-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 second-state/Qwen2.5-Coder-14B-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 second-state/Qwen2.5-Coder-14B-Instruct-GGUF to start chatting
- Pi
How to use second-state/Qwen2.5-Coder-14B-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 second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
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": "second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use second-state/Qwen2.5-Coder-14B-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 second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
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 second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use second-state/Qwen2.5-Coder-14B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
- Lemonade
How to use second-state/Qwen2.5-Coder-14B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull second-state/Qwen2.5-Coder-14B-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2.5-Coder-14B-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
Update models
Browse files- .gitattributes +12 -0
- Qwen2.5-Coder-14B-Instruct-Q2_K.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q3_K_L.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q3_K_M.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q3_K_S.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q4_0.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q4_K_M.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q4_K_S.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q5_0.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q5_K_S.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q6_K.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-Q8_0.gguf +3 -0
- Qwen2.5-Coder-14B-Instruct-f16.gguf +3 -0
|
@@ -34,3 +34,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
Qwen2.5-Coder-14B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
Qwen2.5-Coder-14B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Qwen2.5-Coder-14B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Qwen2.5-Coder-14B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Qwen2.5-Coder-14B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Qwen2.5-Coder-14B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Qwen2.5-Coder-14B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Qwen2.5-Coder-14B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Qwen2.5-Coder-14B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Qwen2.5-Coder-14B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Qwen2.5-Coder-14B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Qwen2.5-Coder-14B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Qwen2.5-Coder-14B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Qwen2.5-Coder-14B-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73dc0f177617092e1ce09e6863552796c6d094acbb2381c001146a81e7b48be2
|
| 3 |
+
size 5770497984
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c0952af459b8e5d83b9741c8cf46cc1b88d68a9e7869b026d39f0e9fd982027
|
| 3 |
+
size 7924768704
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c14f947653053d28af0fa67514af81f2e8d510387fa6e9e493fdac79a4a124f
|
| 3 |
+
size 7339204544
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77b27cfd1eaa7be388ae2480b3fa4672dbe98cc47e79baef11fddce4323cd6cc
|
| 3 |
+
size 6659596224
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a25127f6aad6fa725490672e5fc503c56679c002d0af5fc994577324b16935b2
|
| 3 |
+
size 8517726144
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec8991dc0de5af1c40498adb827192971c4169e9f5ac785f9bde23137e2384e2
|
| 3 |
+
size 8988110784
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:320ff5d1048745c142685ac5bc4ce0abb54f88e4a321dd39acd4036f54edb10f
|
| 3 |
+
size 8573431744
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db7f7d4257c18f5a3d95cecd1fdf55d734a41c18cc810a282cb386a0266e0af9
|
| 3 |
+
size 10266554304
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c73a4e136340734e9378fef02738df3b726055317d1f57ed9b747adba36b496e
|
| 3 |
+
size 10266554304
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e5bc8814e368e817416b35183ebf7e50e7fbcfaa345ea327ca58e5d6bf95df9
|
| 3 |
+
size 12124684224
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d396d628b3f48c1181a51abe6845704d0b9fe13fb0653141bbb896b7b1c463b
|
| 3 |
+
size 15701598144
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db7dbb7f767612141d005e1434f3444aa9c9634da63c56439a37f9e8ff7cf5f6
|
| 3 |
+
size 29547716544
|