Holo LLM β€” HRR Attention Conversions

Drop-in HRR (Holographic Reduced Representation) attention for Qwen2.5 models. Swap softmax for O(1) holographic state β€” no KV cache needed.

Conversion Track

Model Status
Qwen2.5-0.5B-Instruct β†’ HRR Converted, fine-tuning
Qwen2.5-7B-Instruct β†’ HRR Converting
Qwen2.5-14B-Instruct β†’ HRR Queued
Qwen2.5-32B-Instruct β†’ HRR QLoRA fine-tuning
Qwen2.5-72B-Instruct β†’ HRR Queued

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("staccs/holo-llm-hrr-attention", subfolder="qwen0.5b_hrr")

How it works

Each attention module is replaced with HRR attention β€” a gated holographic recurrence that stores context in a fixed-size superposed state (O(1) memory, O(T) time). The conversion copies Q/K/V/O projection weights and adds learned per-frequency forgetting gates (theta/beta parameters).

Fine-tuning on UltraChat recovers chat quality after the attention swap.

See also

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support