Editing a model's display name and context
Click ⋯ on a model in the Models tab → EDIT.
Short answer
Click ⋯ on a model in the Models tab → EDIT. You can change how the model is named in the UI and how much context it gets. Change the auto-detected chat template if needed.
Detailed explanation
The Edit model dialog has three main sections:
Display name - three options:
- Auto-cleaned - the readable name (e.g.
Llama 3.2 3B Instruct · Q4) - Original filename - the raw GGUF name (
Llama-3.2-3B-Instruct-Q4_K_M) - Custom - free text field for whatever you want (
My abliterated tester,Fast responder, etc.)
The choice affects everywhere the model appears: Models list, chat model selector, @-mention autocomplete, loading status and Council reply badges.
Context - two modes:
- Auto (recommended) - Abliteration picks a context from your free RAM and the model’s trained ceiling, rounded down to a power of two between 4K and 128K. The dialog shows it as
Current: N tokens (uses ~M MB extra RAM). - Manual - a slider stepping through discrete powers of two: 2048, 4096, 8192, 16384, 32768, 65536, 131072. Minimum 2048. Maximum is
min(n_ctx_train, 131072)(32768 is assumed when the GGUF does not state a trained context). Live RAM cost shows in the label as you drag (8192 / 131072 — uses ~N MB extra RAM); a redNot enough free RAM (need ~X GB, have Y GB) — may fail to loadwarning appears if the model plus that context would need more RAM than you have free.
In Manual mode, a line below the slider notes what the model was trained for: “Model was trained for up to N tokens”.
Chat template - a 16-option dropdown (Auto-detect · ChatML · Qwen · Llama · Mistral · DeepSeek · Gemma · Phi · GLM · Kimi · Command-R · Yi · InternLM · Baichuan · OLMo · Falcon). Default is Auto-detect, which uses the template embedded in the GGUF, falling back to the filename. Change this to a specific family if the model produces garbled output (see Weird output). Manual override wins over auto-detection.
Save - the SAVE button commits changes. CANCEL discards them.
Why change context manually:
- You know you’ll be working with long documents (bump to 32K+)
- You want to save RAM for other apps (drop to 4K)
- The model’s default context is too aggressive for your machine
Why it matters
Custom names help if you have many similar models - call them “Llama fast”, “Llama smart”, “Qwen tester” instead of decoding version numbers every time. Manual context lets you optimize the RAM/capability trade-off per model instead of using one-size-fits-all. Manual chat template is the fix for garbled output.
In Abliteration specifically
Path: Models tab → click ⋯ on any model → EDIT (the same menu has RENAME and DELETE). Only the ⋯ button opens the menu - no right-click handler.
On Windows, per-model settings persist to manifest.json in the models folder, not in the SQLite database - the DB only holds chats, messages and attachments. Reinstalling the direct .exe build keeps your per-model settings if you keep the models folder (uninstalling the Microsoft Store build removes that folder). On the Mac, the edits live in the app’s in-memory model list: they survive a rescan of the models folder while the app is running, but are not written to disk, so they do not survive a relaunch.
On Windows, context changes take effect on the next model load - chats already open with that model keep their current context until you reload.
The slider’s live RAM number uses the KV cache formula, which is GQA-correct (reads head_count_kv from the GGUF header). It does not shrink for MoE (KV cache does not benefit from MoE routing - only tok/s does).
Related
- Model naming - how the auto-cleaned name is generated
- Context slider - deeper on how the slider works
- Context length - the concept behind the slider
- Chat template auto-detect - how template detection works and the 16-option dropdown