LFM3-VL-2B โ€” Hemp-Agri v3 + v4

This repo holds TWO versions side by side (the author's choice โ€” v4 did not replace v3 because it scored lower on knowledge; it is kept for its thinking-mode fix and its stronger hemp-production leg).

A text-trained knowledge tune of LiquidAI/LFM3-VL-2B for cannabis/hemp production and general agriculture Q&A and plant-photo interpretation. v3 remains the recommended download for knowledge and diagnosis; v4 is the build whose training fixed the thinking-mode trap described below.

Training: LoRA (r=32, alpha=64) on the language model only โ€” vision tower frozen โ€” in Unsloth Studio, on the main hemp-agri dataset (15,241 text rows) plus 56 authored fix rows written against the previous version's judged bench failures (diagnosis differentials, droop/watering checks, nutrient mobility, hemp seed facts, seeding-rate units). No image training: the model's eyes are the base model's; what was taught is the knowledge to interpret what it sees.

Files:

  • lfm3vl-unsloth-v3-q8_0.gguf โ€” Q8_0 GGUF of the tuned model
  • mmproj-LFM3-VL-2B-Q8_0.gguf โ€” the official LiquidAI mmproj (vision tower was frozen in training, so the stock projector is the correct one)
  • lfm3vl-unsloth-v4-q8_0.gguf โ€” the v4 build (below), sha256 afdda3bed24d619c00d5b32218bddb24bc3ed8e4e76a4ae21b40d9f63f69f276

v4 โ€” the thinking fix (2026-12-02)

v3 had a structural flaw in LM Studio chat with thinking ON: the whole answer could land inside the Thought block and stop, leaving an empty response. Root cause: this family's chat template opens a block in its generation prompt, and v3's training pairs taught answers inside that open block. v4 retrained with completions that CLOSE the think block first, plus 300 authored reasoning traces. Judged bench: v4 scored 14.0/28 (v3: 17.0) โ€” the think trap is cured structurally, hemp production rose 25% โ†’ 50% and AgXQA 22 โ†’ 23/30, but knowledge (75% โ†’ 55%), diagnosis (66.7% โ†’ 50%) and fresh-photo reads (3.5 โ†’ 1.0/5) regressed. Both versions are published so the trade is inspectable; the full per-item record lives in the training-system case study.

Bench results (2026-12-02)

28-question judged bench (pass = 1, partial = 0.5), plus AgXQA-30 and a held-out 5-photo vision set (photos verified absent from all training data):

Model Weighted /28 General ag Diagnosis Knowledge Hemp production AgXQA /30 Fresh photos /5
MiniCPM5-2B hemp-agri v5 (reference) 20.5 71.4% 72.2% 85.0% 25.0% 29 โ€” (text-only)
LFM3-VL-2B hemp-agri v3 (this model) 17.0 42.9% 66.7% 75.0% 25.0% 22 raw 3.5
LFM3-VL-2B hemp-agri run 1 16.0 57.1% 50.0% 65.0% 50.0% 22 raw (โ‰ฅ26 substantive) 1.5
LFM3-VL-2B base 15.5 57.1% 66.7% 55.0% 0.0% 30 0.5
LFM3-VL-2B MLX tune (same data) 14.5 28.6% 50.0% 75.0% 25.0% 23 1.5

What the fix run fixed: diagnosis rose 50.0 โ†’ 66.7 (the interveinal-chlorosis hard fail became a partial with the correct call; the nitrogen-lead and check-before-watering items now pass), knowledge rose 65 โ†’ 75, and photo interpretation on the held-out set jumped 1.5 โ†’ 3.5/5 โ€” the best of the vision family โ€” from text-only differential training, with no image training at all.

Known shortcomings, on the record: general ag regressed (57.1 โ†’ 42.9) and hemp production slipped (50 โ†’ 25) โ€” a small fix batch taxes what it doesn't target. Persistent failures: fertilizer-product math (the nutrient total given as the product amount), one flat pest ID against the described signs, a white-specks item flat-called instead of worked as a differential, a seed-treatment dose, and a VPD whose conversion step is now right but whose formula still breaks. A v4 run targeting exactly these โ€” with a larger authored batch plus general-ag replay rows against the regression โ€” is in training; the bar is the reference model's 20.5.

Methodology: The Failure-Driven Training Loop โ€” every bench failure, shortcoming, and improvement is written up in detail and becomes the next iteration's training data.

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

8-bit

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

Model tree for Duckets/lfm3-vl-2b-hemp-agri

Adapter
(22)
this model