LFM2.5-24B-A2B · Harbor · OpenCode (LoRA, GGUF)
The GGUF version of harness-hub/LFM2.5-24B-A2B-opencode, a LoRA adapter for LiquidAI/LFM2.5-24B-A2B trained with reinforcement learning inside the OpenCode coding agent, for llama.cpp.
In short, the adapter solves tasks about as often as the base model, with 30% fewer tool calls on the tasks both solve. The original adapter card describes the training and the evaluation.
LFM2.5-24B-A2B-harbor-opencode-lora-F16.gguf is the adapter only. It runs on top of a GGUF of the base model.
Run
1. Download and serve
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-opencode-GGUF LFM2.5-24B-A2B-harbor-opencode-lora-F16.gguf --local-dir .
llama serve -m LFM2.5-24B-A2B-Q8_0.gguf --lora LFM2.5-24B-A2B-harbor-opencode-lora-F16.gguf \
-c 65536 --port 8080 --alias lfm2.5-harbor-opencode
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.
2. Point OpenCode at it
Install OpenCode (training and evaluation used 1.19.5):
npm install -g opencode-ai@1.19.5
Add the server to ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"local": {
"npm": "@ai-sdk/openai-compatible",
"options": { "baseURL": "http://localhost:8080/v1", "apiKey": "dummy" },
"models": { "lfm2.5-harbor-opencode": {} }
}
}
}
opencode run -m local/lfm2.5-harbor-opencode "Which region had the highest revenue growth in sales.csv?"
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.
- Downloads last month
- 226
16-bit
Model tree for harness-hub/LFM2.5-24B-A2B-opencode-GGUF
Base model
LiquidAI/LFM2.5-24B-A2B-Base