Downloads · 30 days
201
9% of all-time downloads
lazos/lfm2.5-350m-frontend-agent
lfm2.5-350m-frontend-agent is a text generation model from lazos. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
A generic English web/front-end agent fine-tuned from LiquidAI/LFM2.5-350M, small enough to run entirely in the browser (edge / wllama, no server-side model).
Downloads · 30 days
201
9% of all-time downloads
All-time downloads
2.2K
Public
Parameters
354M
8.6 GB on disk
Likes
2
Public
Click a slice to open those files.
.gguf902 MB · 56%
From the Hugging Face model README
A generic English web/front-end agent fine-tuned from
LiquidAI/LFM2.5-350M, small enough to run entirely in
the browser (edge / wllama, no server-side model).
Sibling model: for the smallest / fastest build, see the 230M variant -
lazos/lfm2.5-230m-frontend-agent. The 350M
offers more headroom at ~1.5x the footprint; pick per device budget.
A stateless, context-bounded agent. It grounds every turn in a compact context block C the host app injects: the current VIEW (items on screen, with ids + prices), the CART, and any relevant KNOWLEDGE. The model reads and acts on exactly what it is given - add/remove by the shown id, answer prices from the view, resolve references like "the second one", list what's actually there - and does not invent items. The app re-injects C each turn (the model holds no state).
Pair it with the npm library frontend-agent, whose
ContextManager renders C in the exact format the model was trained on (a shared, versioned contract).
list_items / get_item) before acting, instead of grabbing a look-alike id already in view - fixes
both beyond-view add and beyond-view price lookups.list_items filters even when items are already on screen.Serve a GGUF in-browser via wllama; each turn, build the system prompt from the library's ContextManager
(persona + VIEW/CART/KNOWLEDGE) and advertise your tool schemas. See the project repo for the runtime
wiring. Or fine-tune further from the transformers checkpoint (model.safetensors).
| File | Format | Size |
|---|---|---|
model.safetensors | bf16 (transformers, resumable) | ~676 MB |
*-Q8_0.gguf | GGUF (near-lossless) | ~362 MB |
*-Q6_K.gguf | GGUF | ~280 MB |
*-Q4_K_M.gguf | GGUF (smallest, browser default) | ~219 MB |
Trained on the lazos/frontend-agent-sft
dataset (v1.3.0).
Fine-tune of LFM2.5-350M; inherits the LFM Open License 1.0 (see LICENSE/NOTICE). Training data is
fully synthetic (open-license teachers).