openai/gsm8k
Benchmark • Updated • 17.6k • 1.09M • 1.92k
How to use dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf", device_map="auto")How to use dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
# 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 dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
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 dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
docker model run hf.co/dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
How to use dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf with Ollama:
ollama run hf.co/dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
How to use dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf with Pi:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
# Install Pi:
npm install -g @earendil-works/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
"providers": {
"llama-cpp": {
"baseUrl": "http://localhost:8080/v1",
"api": "openai-completions",
"apiKey": "none",
"models": [
{
"id": "dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M"
}
]
}
}
}# Start Pi in your project directory: pi
How to use dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf with Docker Model Runner:
docker model run hf.co/dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
How to use dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
lemonade run user.Qwen2.5-Coder-7B-Instruct-reason-gguf-Q4_K_M
lemonade list
How to use dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf with Hermes Agent:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
# 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 dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
hermes
How to use dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf with OpenClaw:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
openclaw agent --local --agent main --message "Hello from Hugging Face"
Respond in the following format:
<reasoning>
...
</reasoning>
<answer>
...
</answer>
I fine-tuned the model using openai/gsm8k, and to ensure costs do not go insane, I used a single A100.
Enjoy, but please note that this model is experimental and I used it to define my pipeline.
I will be testing fine tuning larger more capable models. I suspect they would add more value in the short term.
---
# Uploaded model
- **Developed by:** dbands
- **License:** apache-2.0
- **Finetuned from model :** unsloth/qwen2.5-coder-7b-instruct-bnb-4bit
This qwen2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
4-bit
5-bit
8-bit
docker model run hf.co/dbands/Qwen2.5-Coder-7B-Instruct-reason-gguf: