Downloads · 30 days
271
1% of all-time downloads
sneedjak/Adelic-Gemma-4-12B-GGUF
Adelic-Gemma-4-12B-GGUF is a text generation model from sneedjak. Use it when you need the model to write or continue text. The card lists the license as gemma.
This repository contains the GGUF quantized weights for google/gemma-4-12B, specifically optimized and patched to run on the experimental Adèlic Condense infinite-context engine.
Downloads · 30 days
271
1% of all-time downloads
All-time downloads
27.7K
Public
Repo size
135 GB
Likes
6
Public
Click a slice to open those files.
.gguf33.7 GB · 100%
From the Hugging Face model README
This repository contains the GGUF quantized weights for google/gemma-4-12B, specifically optimized and patched to run on the experimental Adèlic Condense infinite-context engine.
<|im_start|>user). This was traced to a mismatch between the base Gemma templates and the model's SFT format. The industry-standard ChatML Jinja2 template is now permanently baked into the GGUF metadata, allowing standard engines (and Ollama) to automatically parse the conversational stops natively.<image|> and <audio|> generation hallucination bug has been permanently eradicated via the Adèlic engine and Hugging Face generation configurations.This model is designed to be run on a custom fork of llama.cpp that features the Adèlic KV Condenser.
The Adèlic engine utilizes a specialized CUDA kernel that continuously evaluates the cosine similarity of tokens inside the KV cache. By aggressively pruning older, redundant historical tokens (similarity > 0.999) from the value cache on every single layer, the engine theoretically enables an infinite context window without running out of VRAM or destroying attention coherence.
| Filename | Format | Size | Recommended For |
|---|---|---|---|
adelic-gemma4-12b-Q6_K.gguf | Q6_K | ~9.8 GB | 16GB VRAM GPUs (RTX 4080, T4, etc.) |
adelic-gemma4-12b-patched.gguf | BF16/F16 | ~24 GB | 24GB+ VRAM environments (A100, RTX 4090) |
To use this model and activate the infinite-context condenser, you must use the official Adèlic fork of llama.cpp. Standard builds of llama.cpp will not have the required CUDA kernels for the infinite context window.
# Clone the Adelic fork
git clone -b feature/gemma4-adelic https://github.com/sneed-and-feed/llama.cpp.git
cd llama.cpp
# Build with CUDA support (Includes both CLI and Server endpoints)
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j 4 --target llama-cli --target llama-server
Because the ChatML template is baked directly into the GGUF, you can run conversational mode natively without any clunky reverse-prompt flags!
Option A: Terminal CLI
./build/bin/llama-cli \
-m /path/to/adelic-gemma4-12b-Q6_K.gguf \
-n 512 \
-c 4096 \
-ngl 999 \
-p "Explain the concept of quantum computing to a 5 year old:" \
--color on
Option B: OpenAI-Compatible API Server If you want to use the infinite-context model with UIs like SillyTavern, Open WebUI, or AnythingLLM, you can spin up the local server endpoint:
./build/bin/llama-server \
-m /path/to/adelic-gemma4-12b-Q6_K.gguf \
-c 4096 \
-ngl 999 \
--port 8080
💡 Pro-Tip: Forcing the Reasoning Block If you notice the model is instantly closing its own reasoning block (outputting
<|channel>thoughtfollowed immediately by<channel|>), you can physically force it to "think" by pre-filling the assistant's response.Simply append
<|channel>thought\nto the very end of your prompt! This drops the engine directly into the reasoning state, forcing it to generate logic tokens before answering.
This model is subject to the official Gemma Terms of Use. By downloading or using these weights, you agree to the original Google Gemma License.