alt.freeweights.lfm / LFM2.5-350M-Base
From: LiquidAI <huggingface.co/LiquidAI>Newsgroups: alt.freeweights.lfmSubject:

LFM2.5-350M-Base

Date: 2026-11-15Commit: 9960764Signed: 2DC28CC7B26A283B ✓

Text generation model with 354M parameters. Safetensors weights, 714 MB in all. Published by LiquidAI under LFM-1.0 (custom).

354M params714MBLFM2.5-350M-Basesafetensorscustom terms
FactsParams354MSize714 MBFormatssafetensorsTasktext generationLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get LiquidAI/LFM2.5-350M-Base
# manifest sha256 54b51c3b38ed… · 714 MB · 9 files
$ fw verify ./LFM2.5-350M-Base LiquidAI/LFM2.5-350M-Base
From sourceHosted (signed)LiquidAI/LFM2.5-350M-BaseLast check: 2026-11-15 02:50 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
714 MB
Weights
709 MB (safetensors)
Parameters
354M
Formats
safetensors
Task
text generation
License
LFM-1.0 (custom) (custom)
Files
9, each with a sha256
Publisher
LiquidAI
Added
2026-11-15
Section
alt.freeweights.lfm
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:50 UTCpassed

Model card

From the publisher at commit 9960764. Shown as plain text with links; images open at the publisher.

Image: Liquid AI

Try LFM • Docs • LEAP • Discord

LFM2.5-350M-Base#

LFM2.5 is a new family of hybrid models designed for on-device deployment. It builds on the LFM2 architecture with extended pre-training and reinforcement learning.

Find more information about LFM2.5-350M in our blog post.

🗒️ Model Details#

ModelParametersDescription
LFM2.5-350M-Base350MPre-trained base model for fine-tuning
LFM2.5-350M350MGeneral-purpose instruction-tuned model

LFM2.5-350M is a general-purpose text-only model with the following features:

  • Number of parameters: 350M
  • Number of layers: 16 (10 double-gated LIV convolution blocks + 6 GQA blocks)
  • Training budget: 28T tokens
  • Context length: 32,768 tokens
  • Vocabulary size: 65,536
  • Knowledge cutoff: Mid-2024
  • Languages: English, Arabic, Chinese, French, German, Japanese, Korean, Portuguese, Spanish

This pre-trained checkpoint is only recommended for tasks that require heavy fine-tuning, like language-specific (e.g., Japanese) or domain-specific (e.g., medical) assistants, training on proprietary data, or experimenting with novel post-training approaches.

🏃 Inference#

LFM2.5 is supported by many inference frameworks. See the Inference documentation for the full list.

NameDescriptionDocsNotebook
TransformersSimple inference with direct access to model internals.LinkColab link
vLLMHigh-throughput production deployments with GPU.LinkColab link
llama.cppCross-platform inference with CPU offloading.LinkColab link
MLXApple's machine learning framework optimized for Apple Silicon.Link—
LM StudioDesktop application for running LLMs locally.Link—

Here's a quick start example with Transformers:

from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer

model_id = "LiquidAI/LFM2.5-350M-Base"
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="auto",
    dtype="bfloat16",
#   attn_implementation="flash_attention_2" <- uncomment on compatible GPU
)
tokenizer = AutoTokenizer.from_pretrained(model_id)
streamer = TextStreamer(tokenizer, skip_prompt=True, skip_special_tokens=True)

prompt = "What is C. elegans?"

input_ids = tokenizer.apply_chat_template(
    [{"role": "user", "content": prompt}],
    add_generation_prompt=True,
    return_tensors="pt",
    tokenize=True,
).to(model.device)

output = model.generate(
    input_ids,
    do_sample=True,
    temperature=0.1,
    top_k=50,
    repetition_penalty=1.05,
    max_new_tokens=512,
    streamer=streamer,
)

🔧 Fine-Tuning#

We recommend fine-tuning LFM2.5 for your specific use case to achieve the best results.

NameDescriptionDocsNotebook
CPT (Unsloth)Continued Pre-Training using Unsloth for text completion.LinkColab link
CPT (Unsloth)Continued Pre-Training using Unsloth for translation.LinkColab link
SFT (Unsloth)Supervised Fine-Tuning with LoRA using Unsloth.LinkColab link
SFT (TRL)Supervised Fine-Tuning with LoRA using TRL.LinkColab link
DPO (TRL)Direct Preference Optimization with LoRA using TRL.LinkColab link
GRPO (Unsloth)GRPO with LoRA using Unsloth.LinkColab link
GRPO (TRL)GRPO with LoRA using TRL.LinkColab link

📬 Contact#

Citation#

@article{liquidAI2026350M,
  author = {Liquid AI},
  title = {LFM2.5-350M: No Size Left Behind},
  journal = {Liquid AI Blog},
  year = {2026},
  note = {www.liquid.ai/blog/lfm2-5-350m-no-size-left-behind},
}
@article{liquidai2025lfm2,
  title={LFM2 Technical Report},
  author={Liquid AI},
  journal={arXiv preprint arXiv:2511.23404},
  year={2025}
}

Files

9 files · 714 MBWeights 709 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE10.6 KB4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c
README.md8.80 KB300427a938beae9dbb06117eb37dc3af7b0e70d0eff7adbf60c2a4feac42d9f7
chat_template.jinja1.30 KB89e790f027916b5a2bca145a6a8454e06ffc7a5043bf3b6d97829aff86bb543f
config.json1.28 KB720b43d6ddc2ed25be23eed355aefcf342434a176dedad23dbe0a5e3ac24bbb8
generation_config.json134 B0ec7d228c4de7e3453e98bf6910c7eb7841e87fede63ea11c0f75a5c64e1c3c3
model.safetensors709 MBaf70818c41a5cdb3f9587f91de12ff5f7847b8b0a2ba734534205ccea1d98aba
tokenizer.json4.73 MB4905ab82b2cfc25e0c88adc8f4eeffe759c57c5626312b30b0aaeaf8ad3379bc
tokenizer_config.json526 B1c02b0dd850ea012fa8824ae9facdf4cfb367463d3b33134e567b9f434cc9241
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
9960764e30 pinned now2026-11-15 02:50 UTC9 files · 714 MB

Use it

# custom terms: read the license before you download
$ fw get LiquidAI/LFM2.5-350M-Base
# manifest sha256 54b51c3b38ed… · 714 MB · 9 files
$ fw verify ./LFM2.5-350M-Base LiquidAI/LFM2.5-350M-Base
Terms that come with these files. LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
Custom license (custom). Read the license text first. Open this panel to show the commands once you accept its terms.
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/LiquidAI/LFM2.5-350M-Base.json --dir ./LFM2.5-350M-Base $ python3 fw.py verify ./LFM2.5-350M-Base ./LiquidAI__LFM2.5-350M-Base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download LiquidAI/LFM2.5-350M-Base --revision 9960764e30892e01f29a6dc23df2533fcd8bd5ae --local-dir ./LFM2.5-350M-Base
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("LiquidAI/LFM2.5-350M-Base", revision="9960764e30892e01f29a6dc23df2533fcd8bd5ae") model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM2.5-350M-Base", revision="9960764e30892e01f29a6dc23df2533fcd8bd5ae", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve LiquidAI/LFM2.5-350M-Base --revision 9960764e30892e01f29a6dc23df2533fcd8bd5ae

License

Name
LFM Open License v1.0
Id
LicenseRef-LFM-1.0
Class
Custom terms
Redistribution
click-through
Listing
Hosted (signed)
Terms
LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c
Terms gate
Yes. The commands stay folded until you open them after reading the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: LiquidAI <huggingface.co/LiquidAI>Newsgroups: alt.freeweights.lfmSubject: LFM2.5-350M-BaseDate: 2026-11-15Commit: 9960764Signed: 2DC28CC7B26A283B ✓
Upstream
LiquidAI/LFM2.5-350M-Base
Pinned commit
9960764e30892e01f29a6dc23df2533fcd8bd5ae
Manifest
LFM2.5-350M-Base.json · .minisig
Manifest sha256
54b51c3b38ed200561eb760f126efc4b413dd1be45d6dcc4cff33cbe9a0665f1
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:50 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/LiquidAI/LFM2.5-350M-Base.json $ curl -O https://freeweights.allternit.com/manifests/LiquidAI/LFM2.5-350M-Base.json.minisig $ minisign -Vm LFM2.5-350M-Base.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

3 models in the catalog name this one as their parent.

Fine-tunes
3
Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download LiquidAI/LFM2.5-350M-Base
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. LFM2.5-350M-Base.json. Provenance. Takedown history: none.
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Extract
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-RAG
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Tool
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B-Exp