OllamaUncensored models

Uncensored Models in Ollama: Find, Import and Configure

Run uncensored and abliterated models in Ollama: library options, importing Hugging Face GGUFs, Modelfiles with system prompts, context size and templates.

By the Uncensored AI Model Hub editorial team· Updated · 3 min read

Ollama makes local models easy. Getting uncensored variants into it takes one extra step.

Option 1: the library

Search Ollama’s library for “uncensored”, “abliterated” or family names. Selection is limited and versions may lag.

Option 2: Hugging Face GGUFs

  1. Find a GGUF repository (search the model name plus “GGUF”).
  2. Download a quant; see which GGUF quant to download.
  3. Create a Modelfile:
FROM ./Qwen3-14B-abliterated.Q4_K_M.gguf
PARAMETER num_ctx 16384
PARAMETER temperature 0.7
SYSTEM """You are a direct, knowledgeable assistant. Answer frankly and say when you are unsure."""
  1. Run ollama create my-model -f Modelfile, then ollama run my-model.

Ollama can also pull many GGUF repositories from Hugging Face directly by reference.

Templates

Most GGUFs embed their chat template. If output looks wrong, add the template from the model card. See the Ollama Modelfile guide.

Context

Raise num_ctx; the default is small for long chats. Plan with the context length calculator.

Front ends

Connect Open WebUI, SillyTavern or other apps to Ollama’s API. See local OpenAI-compatible server.

Common questions

How do I run a Hugging Face model in Ollama?

Download the GGUF and create a Modelfile with FROM pointing to it, or use Ollama's support for pulling GGUF repositories from Hugging Face directly.

Why does my imported model output garbage?

Usually a missing or wrong chat template. Many GGUFs embed it; otherwise add TEMPLATE in the Modelfile.

How do I increase context in Ollama?

Set PARAMETER num_ctx in a Modelfile, or configure the context length in Ollama's settings or environment.

Related reading

Browse more: all guides · comparisons · glossary · free tools

Find your model in minutes.

Search the directory, check the licence and hardware, and start running uncensored AI models today.