Text Generation
GGUF
llama.cpp
ollama
lm-studio
on-device
offline
private
abliterated
uncensored
qwen3
conversational
Instructions to use truthcoder/TC-Mini-4B-GGUF 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 truthcoder/TC-Mini-4B-GGUF 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 truthcoder/TC-Mini-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf truthcoder/TC-Mini-4B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf truthcoder/TC-Mini-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf truthcoder/TC-Mini-4B-GGUF:Q4_K_M
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 truthcoder/TC-Mini-4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf truthcoder/TC-Mini-4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/truthcoder/TC-Mini-4B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use truthcoder/TC-Mini-4B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "truthcoder/TC-Mini-4B-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": "truthcoder/TC-Mini-4B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/truthcoder/TC-Mini-4B-GGUF:Q4_K_M
- Ollama
How to use truthcoder/TC-Mini-4B-GGUF with Ollama:
ollama run hf.co/truthcoder/TC-Mini-4B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use truthcoder/TC-Mini-4B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf truthcoder/TC-Mini-4B-GGUF:Q4_K_M
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": "truthcoder/TC-Mini-4B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use truthcoder/TC-Mini-4B-GGUF with Docker Model Runner:
docker model run hf.co/truthcoder/TC-Mini-4B-GGUF:Q4_K_M
- Lemonade
How to use truthcoder/TC-Mini-4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull truthcoder/TC-Mini-4B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.TC-Mini-4B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use truthcoder/TC-Mini-4B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf truthcoder/TC-Mini-4B-GGUF: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:9931/v1 hermes config set model.default truthcoder/TC-Mini-4B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use truthcoder/TC-Mini-4B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf truthcoder/TC-Mini-4B-GGUF: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:9931/v1 \ --custom-model-id "truthcoder/TC-Mini-4B-GGUF: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"
File size: 1,790 Bytes
2eab4c0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | ---
license: apache-2.0
base_model: mlabonne/Qwen3-4B-abliterated
base_model_relation: quantized
pipeline_tag: text-generation
tags: [gguf, llama.cpp, ollama, lm-studio, on-device, offline, private, abliterated, uncensored, qwen3]
---
# TC Mini 4B — GGUF (Ollama · LM Studio · llama.cpp)
Private AI that runs fully on your own computer. Best for: desktops and laptops (GPU or Apple Silicon).
Part of **TC Mini**: also runs in your phone's browser — https://truthprotectors.github.io/TC-Mini/app/ · code https://github.com/truthprotectors/TC-Mini · all sizes https://huggingface.co/truthcoder/TC-Mini
```bash
ollama run hf.co/truthcoder/TC-Mini-4B-GGUF:Q4_K_M
llama-cli -hf truthcoder/TC-Mini-4B-GGUF:Q4_K_M
```
LM Studio: search `truthcoder/TC-Mini-4B-GGUF`. Add `/no_think` to a message to skip the thinking step.
| File | Quant | Size |
|---|---|---|
| `TC-Mini-4B-F16.gguf` | F16 | 8.05 GB |
| `TC-Mini-4B-Q4_K_M.gguf` | Q4_K_M | 2.50 GB |
| `TC-Mini-4B-Q8_0.gguf` | Q8_0 | 4.28 GB |
Q4_K_M = smallest, recommended · Q8_0 = near-lossless · F16 = full precision (for re-quantizing).
**Lineage (honest):** [mlabonne/Qwen3-4B-abliterated](https://huggingface.co/mlabonne/Qwen3-4B-abliterated) (Qwen3 with refusal directions removed by mlabonne), converted with llama.cpp `convert_hf_to_gguf.py` and quantized with `llama-quantize`. Not fine-tuned by us. 0/8 refusals on our 8-prompt probe (browser build of the same weights). You are responsible for how you use it.
SHA-256:
```
7e91d02b780f1b071bc062d37d659a3c9ac6b90407b80ad8bfd15ac01b839f17 TC-Mini-4B-F16.gguf
e2c1a8a8b9a54e915a7138ecbc0c1590ea692e57350054d16d104c445417c6d1 TC-Mini-4B-Q4_K_M.gguf
a0833fd945174f78b37c2ff805df819a10bacdef70da280f525b6141f362c10e TC-Mini-4B-Q8_0.gguf
```
License: Apache-2.0 (Qwen3).
|