alt.freeweights.lfm / LFM2.5-24B-A2B-Base
From: LiquidAI <huggingface.co/LiquidAI>Newsgroups: alt.freeweights.lfmSubject:

LFM2.5-24B-A2B-Base

Date: 2026-11-15Commit: 9156f24Signed: 2DC28CC7B26A283B ✓

Text generation model with 24B parameters. Safetensors weights, 48.0 GB in all. Published by LiquidAI under LFM-1.0 (custom).

24B params48.0GBLFM2.5-24B-A2B-Basesafetensorscustom terms
FactsParams24BSize48.0 GBFormatssafetensorsTasktext generationLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get LiquidAI/LFM2.5-24B-A2B-Base
# manifest sha256 2d9dfe198210… · 48.0 GB · 18 files
$ fw verify ./LFM2.5-24B-A2B-Base LiquidAI/LFM2.5-24B-A2B-Base
From sourceHosted (signed)LiquidAI/LFM2.5-24B-A2B-BaseLast check: 2026-11-15 03:25 UTC

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

Works with

Overview

Size
48.0 GB
Weights
47.9 GB (safetensors)
Parameters
24B
Formats
safetensors
Task
text generation
License
LFM-1.0 (custom) (custom)
Files
18, 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 03:25 UTCpassed

Model card

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

Image: Liquid AI

Try LFM • Docs • Discord

LFM2.5-24B-A2B-Base#

LFM2.5 is a new family of hybrid models designed for on-device deployment. LFM2.5-24B-A2B is the largest model in the family: a 24B-parameter mixture of experts with only 2B active parameters. It builds on LFM2-24B-A2B with a 131K context window, a vocabulary doubled to 128K tokens, and pre-training scaled up from ~17T to ~33T tokens.

Find more information about LFM2.5-24B-A2B in our blog post.

🗒️ Model Details#

ModelParametersDescription
LFM2.5-24B-A2B-Base24B (2B active)Pre-trained base model for fine-tuning
LFM2.5-24B-A2B24B (2B active)Post-trained for agentic workloads

LFM2.5-24B-A2B-Base is the pre-trained text-only checkpoint, used to create all the LFM2.5-24B-A2B variants. It has the following features:

  • Total parameters: 24.0B
  • Active parameters: 2.45B
  • Number of layers: 40 (30 double-gated short convolution blocks + 10 GQA)
  • Experts: 64 per MoE block, top-4 routing
  • Training budget: 36 trillion tokens
  • Vocabulary size: 128,000
  • Context length: 131,072 tokens
  • Languages: English, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish, Vietnamese, Thai, Indonesian, Hindi, Russian, Polish

Pre-training is followed by two mid-training phases: 2T tokens at 32K context on curated data weighted toward reasoning, math, code, instruction following, and multilingual text, then 300B tokens at 131K context weighted toward long-context data. Tool calls and multi-turn trajectories appear throughout both phases to prepare the model for agentic workloads.

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. Other checkpoints to consider for your use case:

ModelDescription
LFM2.5-24B-A2BOriginal post-trained model checkpoint in native format. Best for fine-tuning or inference with Transformers, vLLM, and SGLang.
LFM2.5-24B-A2B-GGUFQuantized format for llama.cpp and compatible tools. Optimized for CPU inference and local deployment with reduced memory usage.
LFM2.5-24B-A2B-ONNXONNX Runtime format for cross-platform deployment. Enables hardware-accelerated inference across diverse environments (cloud, edge, mobile).
LFM2.5-24B-A2B-MLXMLX format for Apple Silicon. Optimized for fast inference on Mac devices using the MLX framework.

🏃 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—
SGLangHigh-throughput production deployments with GPU.Link-

Quick start with Transformers (compatible with transformers>=5.0.0):

from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer

model_id = "LiquidAI/LFM2.5-24B-A2B-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,
)["input_ids"].to(model.device)

output = model.generate(
    input_ids,
    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{liquidAI202624BA2B,
  author  = {Liquid AI},
  title   = {LFM2.5-24B-A2B: Built for Fast On-Device Agents},
  journal = {Liquid AI Blog},
  year    = {2026},
  note    = {www.liquid.ai/blog/lfm2-5-24b-a2b},
}
@article{liquidai2025lfm2,
  title   = {LFM2 Technical Report},
  author  = {Liquid AI},
  journal = {arXiv preprint arXiv:2511.23404},
  year    = {2025}
}

Files

18 files · 48.0 GBWeights 47.9 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 18 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md11.3 KB330cf1ca95a6a2d937df99662b823612621f8488b3f922f6ed1f4ebe30cd1a01
chat_template.jinja4.29 KB46cd92afe7fee81fc1d71c19a140fd74d89e5e971b272230c5444475aa1b0bf9
config.json1.44 KB01a93bd87e980b004824ac89aaf0af60768299ce382a3cf25de81dd9cc8289d5
generation_config.json230 B8b9c36bf5e4c8a8254ec8292914834faa69b295a1e98e0fd93e3025a466730a6
model-00001-of-00010.safetensors4.63 GB0498f9d8fc22322844c44f1596e6a33c3e9baa14f997ecbac2592a08a332681e
model-00002-of-00010.safetensors4.95 GBe54415530e9c0cfe056b52890198835c9e2f9e0611616f66dbe3af74fd2df667
model-00003-of-00010.safetensors4.95 GB24d9c7eecee90e4b936209ab4c7482ebd633935fdc0aab9d8d7ae82528dac7ff
model-00004-of-00010.safetensors4.95 GB316fb91b8c11644657fde50c4826a5e2cc7d1dbe8341f74b42d56da29c80c98e
model-00005-of-00010.safetensors4.95 GBe301d577062ce6f8af541df7c775645a6730560088b924bbf55a17cfa3da04e1
model-00006-of-00010.safetensors4.95 GB23f45805a27e2d5374ef1dba69aef85b3f517d3b74e4e014934553470eff9896
model-00007-of-00010.safetensors4.95 GB8001a007575ebf603e3f6b5601245efd31819a1e507927e6fff9f33fc02330f2
model-00008-of-00010.safetensors4.95 GBf1270062b27df833e2c747b4e845ab1a875ad9e1a17763a046bd67e0b6876374
model-00009-of-00010.safetensors4.95 GBd9d09fc906b557950269ebdba8c9e1d085bd4e3150afd8003110f846577158a9
model-00010-of-00010.safetensors3.68 GB72bffeed2c084c93d2d8ff87f54f7f6260dd922f74edc0d35c3320f6e0f71afc
model.safetensors.index.json701 KBb3c3d025ee3b7e78ca3d6160d1be872d85ff03272c64b0c2b5fc85a6f36c622f
tokenizer.json17.9 MBc4687c0046da6579aba6f9aa713e9bed61e5fd210b0e012028ae57751d028689
tokenizer_config.json364 Bfe0dad1e6992b02c64988c9834e0cd1b7c0ccb70a5a002e10e27e0f285c96a3e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
9156f24f4a pinned now2026-11-15 03:25 UTC18 files · 48.0 GB

Use it

# custom terms: read the license before you download
$ fw get LiquidAI/LFM2.5-24B-A2B-Base
# manifest sha256 2d9dfe198210… · 48.0 GB · 18 files
$ fw verify ./LFM2.5-24B-A2B-Base LiquidAI/LFM2.5-24B-A2B-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-24B-A2B-Base.json --dir ./LFM2.5-24B-A2B-Base $ python3 fw.py verify ./LFM2.5-24B-A2B-Base ./LiquidAI__LFM2.5-24B-A2B-Base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download LiquidAI/LFM2.5-24B-A2B-Base --revision 9156f24f4a227a259b09011f4e0295aa8f57db01 --local-dir ./LFM2.5-24B-A2B-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-24B-A2B-Base", revision="9156f24f4a227a259b09011f4e0295aa8f57db01") model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM2.5-24B-A2B-Base", revision="9156f24f4a227a259b09011f4e0295aa8f57db01", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve LiquidAI/LFM2.5-24B-A2B-Base --revision 9156f24f4a227a259b09011f4e0295aa8f57db01

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
README.md
Text sha256
330cf1ca95a6a2d937df99662b823612621f8488b3f922f6ed1f4ebe30cd1a01
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-24B-A2B-BaseDate: 2026-11-15Commit: 9156f24Signed: 2DC28CC7B26A283B ✓
Upstream
LiquidAI/LFM2.5-24B-A2B-Base
Pinned commit
9156f24f4a227a259b09011f4e0295aa8f57db01
Manifest
LFM2.5-24B-A2B-Base.json · .minisig
Manifest sha256
2d9dfe1982101fb7b46a53413ee824f4a8b119ef2c654f4f85f1402cdf350e7c
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:25 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/LiquidAI/LFM2.5-24B-A2B-Base.json $ curl -O https://freeweights.allternit.com/manifests/LiquidAI/LFM2.5-24B-A2B-Base.json.minisig $ minisign -Vm LFM2.5-24B-A2B-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

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download LiquidAI/LFM2.5-24B-A2B-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-24B-A2B-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