Instructions to use kiel2/KielMind-pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kiel2/KielMind-pro with PEFT:
Task type is invalid.
- llama-cpp-python
How to use kiel2/KielMind-pro with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="kiel2/KielMind-pro", filename="KielMind-pro-Q4_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use kiel2/KielMind-pro 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 kiel2/KielMind-pro:Q4_K_M # Run inference directly in the terminal: llama cli -hf kiel2/KielMind-pro:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kiel2/KielMind-pro:Q4_K_M # Run inference directly in the terminal: llama cli -hf kiel2/KielMind-pro:Q4_K_M
Use pre-built binary
# 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 kiel2/KielMind-pro:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf kiel2/KielMind-pro:Q4_K_M
Build from source code
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 kiel2/KielMind-pro:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf kiel2/KielMind-pro:Q4_K_M
Use Docker
docker model run hf.co/kiel2/KielMind-pro:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use kiel2/KielMind-pro with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kiel2/KielMind-pro" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kiel2/KielMind-pro", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kiel2/KielMind-pro:Q4_K_M
- Ollama
How to use kiel2/KielMind-pro with Ollama:
ollama run hf.co/kiel2/KielMind-pro:Q4_K_M
- Unsloth Studio
How to use kiel2/KielMind-pro with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kiel2/KielMind-pro to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for kiel2/KielMind-pro to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kiel2/KielMind-pro to start chatting
- Pi
How to use kiel2/KielMind-pro with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kiel2/KielMind-pro:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "kiel2/KielMind-pro:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use kiel2/KielMind-pro with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kiel2/KielMind-pro: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:8080/v1 hermes config set model.default kiel2/KielMind-pro:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use kiel2/KielMind-pro with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kiel2/KielMind-pro: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:8080/v1 \ --custom-model-id "kiel2/KielMind-pro: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"
- Docker Model Runner
How to use kiel2/KielMind-pro with Docker Model Runner:
docker model run hf.co/kiel2/KielMind-pro:Q4_K_M
- Lemonade
How to use kiel2/KielMind-pro with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kiel2/KielMind-pro:Q4_K_M
Run and chat with the model
lemonade run user.KielMind-pro-Q4_K_M
List all available models
lemonade list
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf kiel2/KielMind-pro:Q4_K_M# Run inference directly in the terminal:
llama cli -hf kiel2/KielMind-pro:Q4_K_MUse pre-built binary
# 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 kiel2/KielMind-pro:Q4_K_M# Run inference directly in the terminal:
./llama-cli -hf kiel2/KielMind-pro:Q4_K_MBuild from source code
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 kiel2/KielMind-pro:Q4_K_M# Run inference directly in the terminal:
./build/bin/llama-cli -hf kiel2/KielMind-pro:Q4_K_MUse Docker
docker model run hf.co/kiel2/KielMind-pro:Q4_K_MModel Card for KielMind-Pro
KielMind-Pro is an enterprise-grade, high-performance conversational language model fine-tuned specifically to anchor the premium tier of the KielTech AI production ecosystem. Built upon Meta's Llama-3.2-3B-Instruct architecture, the model undergoes an intensive parameter-efficient adaptation process targeting both attention mechanism layers and core multi-layer perceptron (MLP) blocks.
This model balances dense reasoning capacities and highly structured instruction-following capabilities, making it ideal for robust enterprise automation, complex multi-turn API workflows, and rapid serverless deployment via engines like vLLM.
Model Details
Model Description
- Developed by: KielTech
- Shared by: kiel2
- Model type: Causal Language Model (Transformer Architecture)
- Language(s) (NLP): English
- License: Apache 2.0
- Finetuned from model:
meta-llama/Llama-3.2-3B-Instruct
Model Sources
- Repository: https://huggingface.co/kiel2/KielMind-Pro
Uses
Direct Use
KielMind-Pro is engineered for deployment within high-volume production setups. It directly services complex systemic tasks including:
- Long-context multi-turn dialogue management.
- Multi-step reasoning and algorithmic problem-solving.
- Strict structural compliance (JSON parsing, code syntax outputting, and precise API calling schemas).
Out-of-Scope Use
This model is not intended for unmonitored critical safety systems, malicious text generation, or downstream applications that lack safety guardrails or validation layers.
Training Details
Training Data
The intelligence profile of KielMind-Pro is derived from a highly curated 10,000-sample strategic mixture ingested via real-time cloud streaming (streaming=True):
mlabonne/FineTome-100k: Optimized to maximize natural conversational pacing, verbal crispness, and conversational alignment.Arcee-AI/Llama-3.1-SuperNova-Lite: A heavily distilled dataset used to inject advanced multi-step reasoning patterns and complex instruction-following capabilities.
Training Procedure
Training was completed within a highly optimized 4-bit NormalFloat (nf4) workspace, applying the official Llama 3 structural chat template tokens during streaming ingestion to guarantee exact template cohesion.
Training Hyperparameters
- Fine-Tuning Method: Parameter-Efficient Fine-Tuning (PEFT / LoRA)
- LoRA Target Modules:
q_proj,v_proj,k_proj,o_proj,gate_proj,up_proj,down_proj - LoRA Rank (r): 16
- LoRA Alpha: 32 (Extended context and scaling capability)
- Optimization Target:
paged_adamw_8bit - Learning Rate: 2e-4 (with Cosine Decay scheduler)
- Batch Configurations: Per-device batch size of 2, with a Gradient Accumulation Steps configuration of 4.
- Max Steps: 100
Technical Specifications
Compute Infrastructure
Hardware
- GPU Type: NVIDIA T4 Tensor Core GPU (Single Instance Cloud Container)
- Memory Optimization: 4-bit weight loading with
bfloat16compute precision to maximize gradient calculation throughput within a standard 16GB VRAM constraint.
Software
- Frameworks: Hugging Face
transformers,peft,trl(Supervised Fine-Tuning Trainer), andbitsandbytes.
How to Get Started with the Model
High-Throughput Production Setup (vLLM)
For business backend pipelines, loading KielMind-Pro into a vLLM offline engine or server instance provides optimal throughput:
from vllm import LLM, SamplingParams
# Load the premium enterprise model directly from the Hub
llm = LLM(
model="kiel2/KielMind-Pro",
quantization="bitsandbytes",
load_format="bitsandbytes",
max_model_len=2048
)
sampling_params = SamplingParams(temperature=0.7, top_p=0.9, max_tokens=256)
prompts = ["<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\nGenerate an enterprise system-architecture report summary for KielTech AI.<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n"]
outputs = llm.generate(prompts, sampling_params)
for output in outputs:
print(output.outputs[0].text)
- Downloads last month
- -
Model tree for kiel2/KielMind-pro
Base model
meta-llama/Llama-3.2-3B-Instruct
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf kiel2/KielMind-pro:Q4_K_M# Run inference directly in the terminal: llama cli -hf kiel2/KielMind-pro:Q4_K_M