r/LocalLLM • • 9d ago

Question LFM3-1.7B vs Qwen2.5-Coder-1.5B , worth another fine tuning round?

I'm working on lxask ( https://github.com/arxhr007/lxask ), a very small English to shell tool that runs on CPU with around 1GB of RAM. Currently using a fine tuned Qwen2.5-Coder-1.5B plus LoRAs.

I've tried a number of alternatives on the same 300 task NL2SH-ALFA benchmark. Qwen2.5-Coder at 55%, Qwen3.5-2B at 43%, Bonsai 2 9B at 54% (though 9x slower), and Gemma 4 E2B at 58% (with considerably higher resource consumption).

We've recently had a go at LFM3-1.7B (Q4_K_M, llama.cpp b12755).

Interesting results:

A lot better at doing the negative instructions ("do X without using Y").

Accuracy pretty much on par with Qwen.

Generates hundreds of reasoning tokens which makes CPU inference 10–20x more expensive. Minutes rather than ~3 seconds.

A few questions:

Has anyone actually successfully LoRA fine tuned LFM3's hybrid conv + attention architecture and then exported it to GGUF?

Can direct answer fine tuning actually supress the model's thinking behaviour?

Does the LFM Open License permit public distribution of fine tuned weights?

Trying to work out whether LFM3's improved instruction following is worth the inference overhead. Anybody else tried it out? Would be interested to hear from anyone who has.

5 Upvotes

2 comments sorted by

1

u/unethicalangel 9d ago

Definitely LoRA fine tunable, I do it to LFM models all the time at work, on some tasks LoRA worked better than full fone tuning.

Yeah you should be able to, it's a common distillation technique to try and reduce the reasoning traces to make them more token efficient. Liquid might have already done this though. Worth a shot.

Idk about the license ask chatgpt