Downloads · 30 days
61
14% of all-time downloads
kh0pp/agentflow-planner-7b-GGUF
agentflow-planner-7b-GGUF is a machine learning model from kh0pp. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Quantized GGUF versions of AgentFlow/agentflow-planner-7b for efficient local inference.
Downloads · 30 days
61
14% of all-time downloads
All-time downloads
451
Public
Repo size
33.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf33.5 GB · 100%
From the Hugging Face model README
Quantized GGUF versions of AgentFlow/agentflow-planner-7b for efficient local inference.
AgentFlow Planner 7B is a specialized language model fine-tuned from Qwen2.5-7B-Instruct, designed specifically for planning and agentic reasoning tasks. This model excels at breaking down complex tasks into manageable steps, analyzing dependencies, and creating effective execution plans.
AgentFlow is an advanced AI framework with four specialized modules:
The Planner model has been shown to outperform larger models like GPT-4o on certain planning benchmarks.
All quantizations were created using llama.cpp's latest quantization methods.
| Filename | Quant | Size | Use Case | Memory Required |
|---|---|---|---|---|
agentflow-planner-7b-f16.gguf | F16 | 15.0 GB | Full precision, best quality | ~17 GB |
agentflow-planner-7b-Q8_0.gguf | Q8_0 | 7.6 GB | Near-full quality, faster | ~10 GB |
agentflow-planner-7b-Q5_K_M.gguf | Q5_K_M | 5.1 GB | High quality | ~7 GB |
agentflow-planner-7b-Q4_K_M.gguf | Q4_K_M | 4.4 GB | ⭐ Recommended - Best balance | ~6 GB |
Quick Start:
# Download the Q4_K_M model
huggingface-cli download kh0pp/agentflow-planner-7b-GGUF agentflow-planner-7b-Q4_K_M.gguf --local-dir .
# Create Modelfile
cat > Modelfile << 'EOF'
FROM ./agentflow-planner-7b-Q4_K_M.gguf
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>
"""
PARAMETER temperature 0.7
PARAMETER top_p 0.9
PARAMETER top_k 40
PARAMETER num_ctx 32768
PARAMETER repeat_penalty 1.1
SYSTEM """You are an advanced AI agent specialized in planning and reasoning. You excel at breaking down complex tasks into manageable steps, analyzing dependencies, and creating effective execution plans."""
EOF
# Create and run
ollama create agentflow-planner:7b -f Modelfile
ollama run agentflow-planner:7b
# Download the model
huggingface-cli download kh0pp/agentflow-planner-7b-GGUF agentflow-planner-7b-Q4_K_M.gguf --local-dir .
# Run with llama.cpp
./llama-cli -m agentflow-planner-7b-Q4_K_M.gguf \
-p "Create a detailed plan for building a web application" \
-n 512 -c 4096
from llama_cpp import Llama
llm = Llama(
model_path="agentflow-planner-7b-Q4_K_M.gguf",
n_ctx=32768,
n_gpu_layers=-1, # Use GPU acceleration
)
response = llm.create_chat_completion(
messages=[
{"role": "system", "content": "You are an advanced AI agent specialized in planning and reasoning."},
{"role": "user", "content": "Create a detailed project plan for developing a mobile app"}
],
temperature=0.7,
max_tokens=512,
)
print(response['choices'][0]['message']['content'])
This model excels at:
MIT License - Same as the original AgentFlow Planner model.
First GGUF quantization of AgentFlow Planner 7B. If you find this useful, consider starring the original model repository!