LFM2.5-24B-A2B Β· Harbor Β· pi (LoRA, GGUF)

The GGUF version of harness-hub/LFM2.5-24B-A2B-harbor-pi-lora, a LoRA adapter for LiquidAI/LFM2.5-24B-A2B trained with reinforcement learning inside pi, for llama.cpp.

In short: about the same accuracy as the base model, with 39% fewer tool calls on the tasks both solve. The original adapter card describes the training and the evaluation.

LFM2.5-24B-A2B-harbor-pi-lora-F16.gguf is the adapter only (about 37 MB). It runs on top of LiquidAI's base GGUF.

Run

1. Download the base model and the adapter

hf download LiquidAI/LFM2.5-24B-A2B-GGUF LFM2.5-24B-A2B-Q8_0.gguf --local-dir .
hf download harness-hub/LFM2.5-24B-A2B-harbor-pi-lora-GGUF LFM2.5-24B-A2B-harbor-pi-lora-F16.gguf --local-dir .

The adapter was trained on the BF16 weights. The closer the base is to them, the closer you get to the trained behavior. Q8_0 is a good default; Q4_K_M is smaller, but drifts further from what the adapter learned against.

2. Serve

llama serve -m LFM2.5-24B-A2B-Q8_0.gguf --lora LFM2.5-24B-A2B-harbor-pi-lora-F16.gguf \
    -c 65536 --port 8080 --alias lfm-harbor

3. Point pi at it

pi install git:github.com/huggingface/pi-llama
pi --model llama-cpp/lfm-harbor

Conversion

Converted from the PEFT adapter with llama.cpp's convert_lora_to_gguf.py, at F16:

python llama.cpp/convert_lora_to_gguf.py <adapter dir> --base <LiquidAI/LFM2.5-24B-A2B config dir> --outtype f16

Limitations

  • Not re-evaluated in GGUF. The scores on the original adapter card come from vLLM at BF16. This file has not been evaluated through llama.cpp, and a quantized base will move the results further.
  • Small, single-domain evaluation. See the original card: 100 data-analysis tasks, about Β±5 points of noise on pass@1.
Downloads last month
431
GGUF
Model size
18.7M params
Architecture
lfm2moe
Hardware compatibility
Log In to add your hardware

16-bit

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

Model tree for harness-hub/LFM2.5-24B-A2B-pi-GGUF

Adapter
(1)
this model

Space using harness-hub/LFM2.5-24B-A2B-pi-GGUF 1

Collection including harness-hub/LFM2.5-24B-A2B-pi-GGUF

Article mentioning harness-hub/LFM2.5-24B-A2B-pi-GGUF