license: other license_name: lfm1.0 license_link: https://huggingface.co/LiquidAI/LFM3-1.7B/blob/main/LICENSE language:
- en
- ar
- zh
- fr
- de
- it
- ja
- ko
- pt
- es
- vi
- th
- id
- hi
- ru
- pl library_name: gguf pipeline_tag: text-generation tags:
- liquid
- lfm3
- edge
- conversational
- heretic
- abliterated
- uncensored
- imatrix
- gguf
- llama.cpp base_model:
- Vortecks/LFM3-1.7B-Heretic-Abliterated
Introduction
LFM3-1.7B is a text model for local agents and specialized applications from Liquid AI, built on their new tri-hybrid architecture. It targets everyday assistant use, tool calling, structured outputs, long-context work, and edge deployment, with a 256K-token context window.
This build is a heretic abliterated variant, meaning the refusal directions in the model's activation space have been identified and ablated to remove built-in refusal behavior. As a result, this version is marketed as uncensored and will generally comply with a wider range of prompts than the base instruction-tuned release, without the usual safety-alignment guardrails.
All quantizations were produced with llama.cpp. Every file in this repository was generated with an importance matrix, computed on the WikiText-2 training corpus.
Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
|---|---|---|---|---|
| LFM3-1.7B-Heretic-Abliterated-Q8_0.gguf | Q8_0 | 1.85GB | false | Extremely high quality, generally unneeded but max available quant. |
| LFM3-1.7B-Heretic-Abliterated-Q6_K.gguf | Q6_K | 1.43GB | false | Very high quality, near perfect, recommended. |
| LFM3-1.7B-Heretic-Abliterated-Q5_K_M.gguf | Q5_K_M | 1.26GB | false | High quality, recommended. |
| LFM3-1.7B-Heretic-Abliterated-Q5_K_S.gguf | Q5_K_S | 1.23GB | false | High quality, recommended. |
| LFM3-1.7B-Heretic-Abliterated-Q5_0.gguf | Q5_0 | 1.24GB | false | Legacy format, high quality. |
| LFM3-1.7B-Heretic-Abliterated-IQ3_M.gguf | IQ3_M | 0.87GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| LFM3-1.7B-Heretic-Abliterated-IQ3_S.gguf | IQ3_S | 0.85GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| LFM3-1.7B-Heretic-Abliterated-IQ3_XS.gguf | IQ3_XS | 0.83GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| LFM3-1.7B-Heretic-Abliterated-IQ3_XXS.gguf | IQ3_XXS | 0.75GB | false | Lower quality, new method with decent performance, comparable to Q3 quants. |
| LFM3-1.7B-Heretic-Abliterated-IQ2_M.gguf | IQ2_M | 0.67GB | false | Relatively low quality, uses SOTA techniques to be surprisingly usable. |
| LFM3-1.7B-Heretic-Abliterated-IQ2_S.gguf | IQ2_S | 0.63GB | false | Low quality, experimental. |
| LFM3-1.7B-Heretic-Abliterated-IQ2_XS.gguf | IQ2_XS | 0.62GB | false | Low quality, experimental. |
| LFM3-1.7B-Heretic-Abliterated-IQ2_XXS.gguf | IQ2_XXS | 0.57GB | false | Very low quality, experimental. |
| LFM3-1.7B-Heretic-Abliterated-IQ1_M.gguf | IQ1_M | 0.52GB | false | Very low quality, 1-bit experimental. |
| LFM3-1.7B-Heretic-Abliterated-IQ1_S.gguf | IQ1_S | 0.49GB | false | Very low quality, 1-bit experimental. |
Which file should I choose?
- For most use cases, use IQ3_M (decent quality at ~3.7 bpw).
- For maximum quality, use Q5_K_M or Q8_0 (only if you have the RAM).
- For low-memory devices, work down from IQ2_M → IQ1_M → IQ1_S.
- Plain (no importance matrix) versions of the full quant ladder live in the companion static repo: Vortecks/LFM3-1.7B-Heretic-Abliterated-GGUF.
- More quant types (Q4_K_M, Q3_K_*, IQ4_*, legacy and experimental formats) will be added to this repository over time.
Model Information
- Type: Causal Language Model
- Architecture:
Lfm3ForCausalLM(tri-hybrid: 24 layers — 13 gated short convolutions, 5 sliding-window attention, 6 global attention) - Number of Parameters: ~1.73B
- Context Length: 262,144
Performance
| Metric | This model | Original model (LiquidAI/LFM3-1.7B) |
|---|---|---|
| KL divergence | 0.0094 | 0 |
| Refusals | 3/100 | 92/100 |
Metrics from the heretic optimization run: refusals measured with heretic's refusal-keyword test on 100 adversarial prompts; KL divergence relative to the base model.
Quickstart
GGUF quantizations of LFM3-1.7B-Heretic-Abliterated, for use with llama.cpp, Ollama, LM Studio, and other GGUF-compatible runtimes. The example commands below use the Q8_0 quantization — swap in whichever quant level you've downloaded from the Files and versions tab.
Note: llama.cpp needs a build with LFM3 support (recent llama.cpp master or an LFM3-enabled build).
llama.cpp
# Build or install llama.cpp: https://github.com/ggml-org/llama.cpp
huggingface-cli download Vortecks/LFM3-1.7B-Heretic-Abliterated-i1-GGUF LFM3-1.7B-Heretic-Abliterated-Q8_0.gguf --local-dir .
CLI (interactive chat):
llama-cli -m LFM3-1.7B-Heretic-Abliterated-Q8_0.gguf \
-c 131072 \
-cnv \
--temp 0.1 \
--top-k 50 \
--repeat-penalty 1.1
Server (OpenAI-compatible API):
llama-server -m LFM3-1.7B-Heretic-Abliterated-Q8_0.gguf \
-c 131072 \
--port 8080
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"messages": [{"role": "user", "content": "Who are you?"}],
"max_tokens": 128,
"temperature": 0.1
}'
Ollama
ollama run hf.co/Vortecks/LFM3-1.7B-Heretic-Abliterated-i1-GGUF:Q8_0
LM Studio
Search for Vortecks/LFM3-1.7B-Heretic-Abliterated-i1-GGUF directly in the LM Studio model search, or download a .gguf file from the Files and versions tab and load it manually via Load Model from File.
Recommended sampling parameters:
| Mode | Recommended params |
|---|---|
| General (chat, tool use, agents, coding) | temperature=0.1, top_k=50, repetition_penalty=1.1 |
| Math & STEM | temperature=1.0, top_p=0.95, top_k=20 |
Limitations and Responsible Use
LFM3-1.7B is a language model that generates content based on learned statistical patterns from training data. It may produce inaccurate, biased, or unsafe outputs, and generated content should be reviewed and verified before use in high-stakes settings. Users are responsible for evaluating outputs, applying appropriate safeguards, and complying with applicable laws, regulations, and platform policies. As an abliterated, uncensored build, this model has had its built-in refusal behavior removed and will generally comply with a wider range of prompts than its base counterpart, so downstream safety, moderation, and policy compliance must be implemented by the deployer rather than relying on the model itself.
License
This repository is a derivative of LiquidAI/LFM3-1.7B and is distributed under the LFM Open License v1.0. See the base model's LICENSE for the full terms.