kh0pp's picture
Upload Modelfile with huggingface_hub
67a9d43 verified
# Modelfile for AgentFlow Planner 7B
# Based on Qwen2.5-7B-Instruct, specialized for planning and agentic reasoning
# Source: https://huggingface.co/AgentFlow/agentflow-planner-7b
FROM AgentFlow/agentflow-planner-7b
# Set parameters optimized for planning tasks
PARAMETER temperature 0.7
PARAMETER top_p 0.9
PARAMETER top_k 40
PARAMETER num_ctx 32768
PARAMETER repeat_penalty 1.1
# System prompt optimized for agentic planning
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|>
"""
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. You can use tools and integrate information from multiple sources to solve problems systematically."""