Ripple-65B-Preview GGUF
GGUF quants of ricursiveAI/Ripple-65B-Preview. All credit for the model goes to ricursiveAI.
A patched llama.cpp is required. Mainline llama.cpp doesn't support the ricursive architecture. Build it with ricursive.patch as shown under Running.
These are plain quants with no imatrix. Folders with more than one file hold a split GGUF. Point llama.cpp at the -00001-of- file and it loads the rest.
PPL is llama-perplexity on the wikitext-2-raw test set with -c 2048 --chunks 4. That is a small slice, so use it to compare quants against each other and not as a benchmark. The ±0.4 error bars make the small reorderings between Q8_0, Q6_K, Q5_K_M and Q4_K_M noise.
There is no Q2_K. It came out at PPL 50.7, more than 5x Q3_K_M, so it was not published.
Running
These files were made with llama.cpp at commit 6f1e654 plus ricursive.patch from this repo.
The patch adds a ricursive architecture, covering both the HF to GGUF converter and the inference graph. Here is how the model differs from existing architectures:
- Interleaved attention. Four out of five layers use 1024-token sliding-window attention with NEOX RoPE. Every fifth layer is full attention with no positional encoding (NoPE).
- Peri-norm. Every block has RMSNorm before and after both the attention and the MLP, plus per-head RMSNorm on Q and K.
- Output gate. A sigmoid gate (
g_proj) multiplies the attention output before o_proj.
- Value residual. The V projection in each layer reads a per-layer interpolation,
sigmoid(lambda), between the scaled token embedding and the normed hidden state. Q and K read the normed hidden state only.
- Clamped MLP. Before the activation, the gate projection is capped at 20 and the up projection is clamped to ±20.
- Scaled embeddings (×√5120) and an untied output head.
Verification
The BF16 and Q8_0 GGUFs were compared against the original Transformers implementation in bf16 over an 1100-token wikitext prompt. That prompt runs past the 1024-token window, so the sliding-window path is exercised.
The first 30 greedy tokens from the chat template were identical to HF for both. The embedded tokenizer matched the HF tokenizer token for token. A float32 conversion of a truncated model also matched HF fp32 exactly, with 100% top-1 and mean KL 6e-8.
Chat template
The GGUF embeds the model's full chat_template.jinja, a ChatML template with tool calling and <think> support. Run with --jinja to use it. As in the original model, no BOS token is added and <|im_end|> ends a turn.
Acknowledgements
Huge thanks to Hugging Face for generously sponsoring the compute used for this project 🤗
x.com/realmrfakename