Instructions to use jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker 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 jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker 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 jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL # Run inference directly in the terminal: llama cli -hf jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL # Run inference directly in the terminal: llama cli -hf jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
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 jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL # Run inference directly in the terminal: ./llama-cli -hf jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
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 jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL # Run inference directly in the terminal: ./build/bin/llama-cli -hf jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
Use Docker
docker model run hf.co/jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
- LM Studio
- Jan
- Ollama
How to use jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker with Ollama:
ollama run hf.co/jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
- Unsloth Studio
How to use jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker 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 jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker 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 jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker to start chatting
- Pi
How to use jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
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": "jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
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 jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
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 "jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL" \ --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 jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker with Docker Model Runner:
docker model run hf.co/jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
- Lemonade
How to use jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker:IQ4_NL
Run and chat with the model
lemonade run user.Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker-IQ4_NL
List all available models
lemonade list
Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker
This is a normal llama.cpp GGUF quant of DavidAU's Deckard Gemma model:
The goal was a small, practical creative/voice/writing model that keeps more coherence than a plain Q4-style quant while still fitting comfortably on modest GPUs. The storyMaker name reflects the actual niche where it stood out: expressive writing, roleplay, voice-adjacent prose, and creative instruction following.
This was an unplanned release. The author was testing models for creative writing use, found a quantized GGUF of this model that showed severe looping and quality degradation, and built this version to check whether the issue came from the core finetune or from the quantization. The result was unexpectedly useful: creative, able to reason, good at following instructions, strong for roleplay, and expressive in a way that made it enjoyable to use. Because of that, it was uploaded for anyone else interested in this niche.
Because this was exploratory rather than a planned release, it has not gone through the author's usual comprehensive release process. A gender-affirming finetune based on the DavidAU model may come later for people interested in that direction.
What Is Special
This is not a plain one-shot Q4 quant.
The released GGUF is:
- base quant:
IQ4_NL - calibration: English creative writing, general logic, emotional understanding, and voice/vocal-concept prompts
- imatrix: 1000 calibration chunks at ctx512, 342 importance-matrix entries
- protected tensors: attention
q,k,v, and output projections in blocks36..41 - protected quant type:
Q8_0
In other words, most of the model stays Q4-sized, while the final six attention blocks are kept at higher precision. The intent is to spend a small amount of extra size on the late attention path, where coherence, style continuity, and repetition stability are more likely to matter for writing-style use.
Files
Main model:
Gemma-4-E4B-Deckard-AttnQ8-Last6-IQ4_NL-Imatrix-CreativeVoice.gguf
Optional template used in our deployment:
gemma4_deckard_no_think.jinja
The GGUF works with standard llama.cpp. No custom fork is required.
Suggested llama.cpp Command
Example server command:
llama-server \
-m Gemma-4-E4B-Deckard-AttnQ8-Last6-IQ4_NL-Imatrix-CreativeVoice.gguf \
-ngl 999 \
-fa on \
-sm none \
-ctk f32 \
-ctv f32 \
--kv-offload \
-c 120000 \
-np 1 \
-b 512 \
-ub 128 \
--jinja \
--chat-template-file gemma4_deckard_no_think.jinja \
--reasoning off \
--reasoning-format deepseek \
--temp 0.9 \
--top-p 0.92 \
--min-p 0.03 \
--repeat-penalty 1.15 \
--repeat-last-n 256 \
--presence-penalty 0.10 \
--frequency-penalty 0.05 \
--dry-multiplier 0.60
The included no-thinking template is optional, but it is the one we used for the creative deployment. The upstream model is a thinking model, and in our creative tests the no-thinking template reduced scaffold-style answers.
Quantization Details
The Q8 override rule was:
^blk\.(3[6-9]|4[0-1])\.attn_(q|k|v|output)\.weight=q8_0
That means 24 attention tensors were manually promoted from IQ4_NL to Q8_0:
blk.36..41.attn_q.weightblk.36..41.attn_k.weightblk.36..41.attn_v.weightblk.36..41.attn_output.weight
Quantizer log summary:
model size = 14340.66 MiB, 16.00 BPW
quant size = 4980.91 MiB, 5.56 BPW
Released GGUF size:
5,238,686,720 bytes
Runtime Tests
These are direct runtime probes for this exact released GGUF using standard llama.cpp. No custom fork was used.
| GPU | Runtime | Context / KV | Prompt workload | Decode workload | Prompt tok/s | Decode tok/s | VRAM note |
|---|---|---|---|---|---|---|---|
| RTX 5060 Ti | llama.cpp b8763 server |
-c 120000, f32 K/V, all layers offloaded |
1352 tokens | 256 tokens | 2816.56 | 73.54 | about 7796 MiB observed |
| RTX 5090 | llama.cpp b8763 server |
-c 120000, f32 K/V, all layers offloaded |
1122 tokens | 40 tokens | 4251.93 | 138.82 | 7159 MiB llama.cpp self allocation |
5060 Ti log summary:
CUDA0 model buffer size = 2775.92 MiB
non-SWA KV buffer size = 3752.00 MiB
SWA KV buffer size = 60.00 MiB
compute buffer size = 572.00 MiB
5090 log summary:
CUDA0 self allocation = 7159 MiB
model buffer = 2775 MiB
context buffer = 3812 MiB
compute buffer = 572 MiB
Intended Use
This quant was tuned for English creative writing, expressive prose, conceptual writing, emotional/voice-adjacent discussion, and general reasoning. It was not built as a coding specialist.
Because the source model is an uncensored/aliterated model, apply your own safety, policy, and deployment filters where needed.
Lineage
- Source model:
DavidAU/gemma-4-E4B-it-The-DECKARD-Claude-Opus-Expresso-Universe-HERETIC-UNCENSORED-Thinking - Converted to BF16 GGUF locally.
- Built an English creative/voice/logic imatrix calibration set.
- Quantized with
IQ4_NL. - Re-quantized selected late attention tensors in blocks
36..41toQ8_0. - Runtime-tested the released GGUF on RTX 5060 Ti and RTX 5090 with standard
llama.cpp.
Limitations
- This was an unplanned exploratory release, not a broad benchmarked model release.
- Public runtime numbers are limited to the two direct tests above.
- The no-thinking template is recommended for creative use because it reduces visible planning/scaffold output.
- This is a GGUF release for
llama.cpp; it is not a safetensors checkpoint.
- Downloads last month
- 106
4-bit
Model tree for jackasda211233/Gemma-4-E4B-Deckard-AttnQ8-IQ4_NL-storyMaker
Base model
google/gemma-4-E4B