Instructions to use sidpnyc/storeops-copilot-qwen2.5-3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use sidpnyc/storeops-copilot-qwen2.5-3b 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 sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M # Run inference directly in the terminal: llama cli -hf sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M # Run inference directly in the terminal: llama cli -hf sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
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 sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
Use Docker
docker model run hf.co/sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use sidpnyc/storeops-copilot-qwen2.5-3b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sidpnyc/storeops-copilot-qwen2.5-3b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sidpnyc/storeops-copilot-qwen2.5-3b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
- Ollama
How to use sidpnyc/storeops-copilot-qwen2.5-3b with Ollama:
ollama run hf.co/sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
- Unsloth Desktop
- Pi
How to use sidpnyc/storeops-copilot-qwen2.5-3b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use sidpnyc/storeops-copilot-qwen2.5-3b with Docker Model Runner:
docker model run hf.co/sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
- Lemonade
How to use sidpnyc/storeops-copilot-qwen2.5-3b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
Run and chat with the model
lemonade run user.storeops-copilot-qwen2.5-3b-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use sidpnyc/storeops-copilot-qwen2.5-3b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf sidpnyc/storeops-copilot-qwen2.5-3b: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:9931/v1 hermes config set model.default sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use sidpnyc/storeops-copilot-qwen2.5-3b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M
Configure OpenClaw
# 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:9931/v1 \ --custom-model-id "sidpnyc/storeops-copilot-qwen2.5-3b:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
StoreOps Copilot: Qwen2.5-3B fine-tuned for store-inventory tool calling
A 3B model that answers store managers' inventory questions by calling store tools
(search_items, get_inventory, get_sales_history, get_forecast, get_reorder_suggestion,
create_purchase_order). Built to run locally with llama.cpp behind a safety gateway that
escalates hard requests to a large model. Code, data pipeline, evaluation and gateway:
github.com/meanderinghuman/storeops-copilot.
Files
| File | Use |
|---|---|
storeops-3b-q4_k_m.gguf |
Recommended. 90.4% alone, 1.9 GB, ~3.7 s per conversation on an M5 MacBook. |
Qwen2.5-3B-Instruct.Q8_0.gguf |
91.8% alone, 3.3 GB, slower. |
LoRA adapter: sidpnyc/storeops-copilot-qwen2.5-3b-lora.
Smaller sibling: sidpnyc/storeops-copilot-qwen2.5-1.5b-v2.
llama-server -m storeops-3b-q4_k_m.gguf --jinja -ngl 99 -c 16384 -np 2 # --jinja is required for tool calls
Use Qwen2.5's chat template with tools (OpenAI-style tools in the request). The model was trained
with the system prompt in store/prompt.py
and the tool schemas in store/tools.py;
results below assume both.
Results
500 scenarios at stores and with two tools never seen in training, temperature 0:
| Task success (95% CI) | |
|---|---|
| Base Qwen2.5-1.5B-Instruct (Q4_K_M) | 28.8% |
| Fine-tuned 1.5B (Q8_0), same data | 67.4% |
| This model (Q4_K_M) | 90.4% (87.6-93.0) |
| This model + the project's gateway (guards, no large model) | 93.4% (91.2-95.6), all local |
| DeepSeek-V4.1-Flash (teacher) | 100% |
By split for this model alone: seen tools 98%, held-out tools 63%, out-of-scope 100%, ambiguous / write-safety 100%, hard (typos, two products, follow-ups) 93%. Harmful actions 1.8%.
Training
- Data: 2,645 execution-verified store conversations (questions by GLM-5.3, answered by DeepSeek-V4.1-Flash as an agent with every tool call executed against the store database, 94.6% kept by automatic filters), plus 500 xLAM function-calling examples. 2,986 train / 157 validation.
- QLoRA with Unsloth on a Kaggle T4: rank 16, alpha 16, all attention and MLP projections, lr 2e-4 linear, 5% warmup, batch 1 x 8, max sequence 4,096, 2 epochs (748 steps, 4.7 h), loss on assistant turns only. Validation loss 0.33 โ 0.213.
Limitations
- Trained for one schema of store tools; weakest on tools it hasn't seen (63% task success alone).
- Meant to run behind a gateway that validates calls (see the GitHub repo). Never let it place orders without human confirmation.
- Product data is synthetic (real Walmart M5 sales with generated names); not evaluated on real users.
License
This model is a derivative of Qwen2.5-3B-Instruct and is released under the Qwen Research License (research and non-commercial use). The 1.5B version is Apache 2.0.
- Downloads last month
- 101
4-bit
8-bit