Instructions to use Duckets/minicpm5-hemp-agri 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 Duckets/minicpm5-hemp-agri 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 Duckets/minicpm5-hemp-agri:Q8_0 # Run inference directly in the terminal: llama cli -hf Duckets/minicpm5-hemp-agri:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Duckets/minicpm5-hemp-agri:Q8_0 # Run inference directly in the terminal: llama cli -hf Duckets/minicpm5-hemp-agri:Q8_0
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 Duckets/minicpm5-hemp-agri:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf Duckets/minicpm5-hemp-agri:Q8_0
Use Docker
docker model run hf.co/Duckets/minicpm5-hemp-agri:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use Duckets/minicpm5-hemp-agri with Ollama:
ollama run hf.co/Duckets/minicpm5-hemp-agri:Q8_0
- Unsloth Desktop
- Pi
How to use Duckets/minicpm5-hemp-agri with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Duckets/minicpm5-hemp-agri:Q8_0
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": "Duckets/minicpm5-hemp-agri:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Duckets/minicpm5-hemp-agri with Docker Model Runner:
docker model run hf.co/Duckets/minicpm5-hemp-agri:Q8_0
- Lemonade
How to use Duckets/minicpm5-hemp-agri with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Duckets/minicpm5-hemp-agri:Q8_0
Run and chat with the model
lemonade run user.minicpm5-hemp-agri-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use Duckets/minicpm5-hemp-agri with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Duckets/minicpm5-hemp-agri:Q8_0
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 Duckets/minicpm5-hemp-agri:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Duckets/minicpm5-hemp-agri with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Duckets/minicpm5-hemp-agri:Q8_0
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 "Duckets/minicpm5-hemp-agri:Q8_0" \ --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"
MiniCPM5-2B Hemp-Agri v5 (GGUF Q8_0)
A LoRA fine-tune of openbmb/MiniCPM5-2B for cannabis/hemp cultivation knowledge (primary) and general agriculture (secondary).
This repo holds only the newest weight. The v4 GGUF was removed on 2026-12-02 (repo policy: one weight, the newest); all versions remain available locally. v5 is the current bench winner of the family โ see the bench notes below.
Training (v5)
- 15,446 instruction rows: the deduplicated union of every earlier hemp-agri set (15,187-row v1 base, patch rows, teacher-distilled Q&A, grower pool data, filtered general-agriculture sets โ AgriLLM, KisanVaani, verified agronomy, AgXQA train) plus 101 hand-authored correction rows targeting the family's measured failure classes (worked VPD and fertilizer math, unit conversions, photoperiod, a pest & disease block, foundational definitions).
- LoRA r=32, alpha=64, BF16, lr 2e-4 cosine, 2 epochs, effective batch 16, seed 3407.
- 1,932 steps; average train loss 1.49, eval loss 1.67 โ 1.55. Peak training memory 8.61 GB (Unsloth on Apple Silicon).
- Fused and converted to GGUF, quantized Q8_0 (2.68 GB).
Bench notes
Four-way head-to-head on our 28-item bench (base vs v3 vs v4 vs v5; every answer read and judged on one standard):
| Model | Pass | Partial | Fail | Weighted |
|---|---|---|---|---|
| MiniCPM5-2B (base) | 11 | 4 | 13 | 13.0 |
| hemp-agri v3 | 13 | 8 | 7 | 17.0 |
| hemp-agri v4 | 13 | 7 | 8 | 16.5 |
| hemp-agri v5 | 15 | 11 | 2 | 20.5 |
- Zero hard fails and zero tool-context refusals for v5 (v4 had one hard fail: deflecting a "tiny bugs under my leaves" question to a photo request โ v5 answers it with a full pest differential).
- Fixed vs earlier versions: fertilizer math (3,000 kg, worked), hectareโacre conversion, carboxin seed-treatment dose (2โ3 g/kg), nutrient mobility, spider-mite treatment answers with no repetition loops, and the purple differential (genetics first on a vigorous plant).
- AgXQA (first 30): v5 29/30, base 30/30 โ the tunes trade one general-ag recall item for their cannabis skill.
- Known remaining fails, stated plainly: the VPD calculation on unseen temperature/RH combinations (the worked method does not always generalize), and fiber-hemp seeding rates (answers 100โ150 kg/ha; the taught range is 25โ35 kg/ha).
Notes
- Built to answer cultivation questions directly from its own knowledge, including in chat setups where tool-use guidelines are injected into the system prompt.
- Diagnosis house rule baked into the data: purple coloration is treated as a differential (genetics / environment / phosphorus), never a flat call.
Dataset
Duckets/hemp-agri-dataset โ keeps only the newest train file (currently the v5 set).
Files
minicpm5-2b-hemp-agri-v5-q8_0.ggufโ Q8_0 GGUF, runs in LM Studio / llama.cpp.- SHA-256:
a8e59dba167cd5d1eb7591d9663313a17975c5bf04f913fb0fd9b85ba7bcdd71
- SHA-256:
- Downloads last month
- 774
8-bit
Model tree for Duckets/minicpm5-hemp-agri
Base model
openbmb/MiniCPM5-2B