LFM3 expansion finetune โ€” v13b

LoRA adapter and merged q4km GGUF for the expansion stage of compress, an LLM output compressor for customer support. The compressor emits a compact intermediate representation (IR) from one flagship model call; this finetuned model expands that IR back into a fluent customer reply.

This is the latest finetune (v13b), trained on top of LiquidAI/LFM3-1.7B. It supersedes v13 and v12.

Files

File Description
adapter_model.safetensors, adapter_config.json PEFT LoRA adapter (r=32, alpha=64, dropout 0.05).
tokenizer.json, tokenizer_config.json, chat_template.jinja Tokenizer and chat template used during training.
lfm3-expand-v13b-q4km.gguf Merged, quantized (q4_k_m) model ready for llama.cpp.

Intermediate training checkpoints are not included.

Evaluation

On the 100-row staging expansion eval (v3gem100), v13b produced 100/100 successful expansions with zero errors (p50 latency ~7 s on the eval host). Validator and ladder results for the full pipeline are reported in the compress repository.

Training and eval used staging/dev data only โ€” no production customer data.

Usage

GGUF (llama.cpp)

llama-server -m lfm3-expand-v13b-q4km.gguf \
  --port 9931 -c 2048 -ngl 99 -ctk q8_0 -ctv q8_0 --temp 0.0 -rea off --jinja

The companion draft model lfm25-230m-q40.gguf can be passed with -md for speculative decoding (it is not distributed in this repo).

LoRA adapter

from peft import PeftModel
from transformers import AutoModelForCausalLM

base = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM3-1.7B")
model = PeftModel.from_pretrained(base, "red-ware/lfm3-expand-v13b")

To merge the adapter and export a GGUF, use kaggle/merge-lora-local.py from the compress repository.

License

Released under the Business Source License 1.1, the same license as the compress repository. The base model's own license and usage terms still apply. See LICENSE.

Downloads last month
216
GGUF
Model size
2B params
Architecture
lfm3
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for red-ware/lfm3-expand-v13b

Adapter
(46)
this model