Downloads · 30 days
246
22% of all-time downloads
FadedRedStar/LFM2.5-350M-heretic-GGUF
LFM2.5-350M-heretic-GGUF is a text generation model from FadedRedStar. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as other.
This repository hosts GGUF weights for LFM2.5-350M-heretic, quantized from the source floating-point tensors provided by coder3101/LFM2.5-350M-heretic.
Downloads · 30 days
246
22% of all-time downloads
All-time downloads
1.1K
Public
Repo size
869 MB
Likes
2
Public
Click a slice to open those files.
.gguf869 MB · 100%
From the Hugging Face model README
This repository hosts GGUF weights for LFM2.5-350M-heretic, quantized from the source floating-point tensors provided by coder3101/LFM2.5-350M-heretic.
🔄 Sister Repository: Check out the Imatrix Sister Repository for enhanced precision at lower bit fractions.
[!NOTE] If you plan on using 4-bit or 5-bit variants, consider the imatrix sister repository instead — importance matrix calibration improves logic retention at those bit depths. This repository is best suited if you want the near-lossless
Q8_0build.
LFM2.5-350M is the smallest text-only model in Liquid AI's Liquid Foundation Model 2.5 series, built for extreme on-device and edge deployment. It shares the family's hybrid architecture of double-gated LIV (Liquid, Input-adaptive, Value-selective) convolution layers interleaved with GQA (Grouped Query Attention) layers, pre-trained on 28 trillion tokens with large-scale reinforcement learning post-training. Despite its size, it is tuned for instruction following, lightweight tool calling, and structured data extraction, with day-one support across llama.cpp, MLX, vLLM, SGLang, ONNX, and OpenVINO.
The heretic suffix denotes post-processing via the Heretic v1.3.0 method performed by coder3101, which removes refusal conditioning while preserving the model's lightweight instruction-following behavior.
| Property | Value |
|---|---|
| Base Architecture | LFM2 hybrid (double-gated LIV conv + GQA) |
| Developed by | Liquid AI |
| Total Parameters | 350M |
| Primary Use | Instruction following, lightweight tool calling, structured extraction |
| Context Window | 131,072 tokens |
| Training Budget | 28 trillion tokens |
| Languages | English, Arabic, Chinese, French, German, Japanese, Korean, Spanish, Portuguese |
| Abliteration Tool | Heretic v1.3.0 |
| Prompt Format | ChatML |
| Property | Value |
|---|---|
| direction_index | per layer |
| attn.o_proj.max_weight | 1.08 |
| attn.o_proj.max_weight_position | 10.46 |
| attn.o_proj.min_weight | 0.87 |
| attn.o_proj.min_weight_distance | 3.56 |
| mlp.down_proj.max_weight | 1.44 |
| mlp.down_proj.max_weight_position | 12.00 |
| mlp.down_proj.min_weight | 1.22 |
| mlp.down_proj.min_weight_distance | 1.97 |
[!NOTE] The metrics below are self-reported by the original model author (coder3101) and have not been independently reproduced.
| Metric | This model | Original (LiquidAI/LFM2.5-350M) |
|---|---|---|
| KL divergence | 0.0440 | 0 (by definition) |
| Refusals | 6/100 | 90/100 |
| Property | Value |
|---|---|
| Quantization Type | Q4_K_M, Q5_K_M, Q8_0 |
Main model weights
| Filename | Quantization | llama.cpp Build | Size | Download |
|---|---|---|---|---|
LFM2.5-350M-heretic-Q4_K_M.gguf | Q4_K_M | b9860 | 219 MB | 📥 Download |
LFM2.5-350M-heretic-Q5_K_M.gguf | Q5_K_M | b9860 | 248 MB | 📥 Download |
LFM2.5-350M-heretic-Q8_0.gguf | Q8_0 | b9860 | 362 MB | 📥 Download |
Download exactly one main weights file:
Q4_K_M: Balanced 4-bit format suitable for most everyday use.Q5_K_M: Higher-fidelity mid-range format recommended as a general default.Q8_0: Near-lossless 8-bit format for when memory is not a constraint.[!NOTE] Liquid AI recommends the following generation parameters for best results:
temperature: 0.1,top_k: 50,repetition_penalty: 1.05.
[!TIP] Swap the
-mfilename below for either quantized file depending on your size/quality trade-off preference.
./llama-cli \
-m LFM2.5-350M-heretic-Q4_K_M.gguf \
-c 8192 \
-ngl 99 \
--temp 0.3 \
--top-k 40 \
--repeat-penalty 1.05 \
-p "<|im_start|>system\nYou are a concise, helpful assistant.<|im_end|>\n<|im_start|>user\nState the capital of Italy and one interesting fact about it.<|im_end|>\n<|im_start|>assistant\n"
./llama-server \
--host 0.0.0.0 \
--port 8080 \
-m LFM2.5-350M-heretic-Q4_K_M.gguf \
-c 16384 \
-ngl 99 \
--flash-attn
<|im_start|>system
You are a capable assistant. Follow instructions precisely.<|im_end|>
<|im_start|>user
Your task or query here.<|im_end|>
<|im_start|>assistant