Instructions to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf", dtype="auto") - llama-cpp-python
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf", filename="mem-agent-thinking-heretic_R8_KL001-bf16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16 # Run inference directly in the terminal: llama-cli -hf kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16 # Run inference directly in the terminal: llama-cli -hf kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
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 kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16 # Run inference directly in the terminal: ./llama-cli -hf kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
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 kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
Use Docker
docker model run hf.co/kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
- LM Studio
- Jan
- vLLM
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
- SGLang
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with Ollama:
ollama run hf.co/kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
- Unsloth Studio
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf 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 kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf 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 kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf to start chatting
- Pi
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
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": "kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
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 kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
Run Hermes
hermes
- Docker Model Runner
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with Docker Model Runner:
docker model run hf.co/kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
- Lemonade
How to use kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf:BF16
Run and chat with the model
lemonade run user.mem-agent-thinking-heretic_R8_KL001-bf16-gguf-BF16
List all available models
lemonade list
This is a really uncensored version of driaforall/mem-agent created with Heretic
https://github.com/p-e-w/heretic
initial Refusals 95/100
-> now 8 Refusals with KL=0.01
I added 30 more refusal_markers, so there may be fewer without them.
Note: This heretic model is highly uncensored; thus use it with extreme caution and care.
better than all other uncesored versions from others for this model (19.FEB 26)
info from owner
We evaluated this model and a few other open & closed ones on our benchmark, md-memory-bench. We used o3 from OpenAI as the judge. All the other models except driaforall/mem-agent and Qwen/Qwen3-4B-Thinking-2507 were used through OpenRouter.s
| Model | Retrieval | Update | Clarification | Filter | Overall |
|---|---|---|---|---|---|
| qwen/qwen3-235b-a22b-thinking-2507 | 0.9091 | 0.6363 | 0.4545 | 1 | 0.7857 |
| driaforall/mem-agent | 0.8636 | 0.7272 | 0.3636 | 0.9167 | 0.75 |
| z-ai/glm-4.5 | 0.7727 | 0.8181 | 0.3636 | 0.9167 | 0.7321 |
| deepseek/deepseek-chat-v3.1 | 0.6818 | 0.5454 | 0.5454 | 0.8333 | 0.6607 |
| google/gemini-2.5-pro | 0.7273 | 0.4545 | 0.2727 | 1 | 0.6429 |
| google/gemini-2.5-flash | 0.7727 | 0.3636 | 0.2727 | 0.9167 | 0.625 |
| openai/gpt-5 | 0.6818 | 0.5454 | 0.2727 | 0.9167 | 0.625 |
| anthropic/claude-opus-4.1 | 0.6818 | 0 | 0.8181 | 0.5833 | 0.5536 |
| Qwen/Qwen3-4B-Thinking-2507 | 0.4545 | 0 | 0.2727 | 0.75 | 0.3929 |
| moonshotai/kimi-k2 | 0.3181 | 0.2727 | 0.1818 | 0.6667 | 0.3571 |
Our model, with only 4B parameters, is only second on the benchmark, beating all the open & closed models except for qwen/qwen3-235b-a22b-thinking-2507. The model achieves an overall score of 0.75, a significant improvement over the 0.3929 of the base Qwen model.
- Downloads last month
- 13
16-bit
Model tree for kalle07/mem-agent-thinking-heretic_R8_KL001-bf16-gguf
Base model
driaforall/mem-agent