alt.freeweights.lfm / LFM3-1.7B-Base
From: LiquidAI <huggingface.co/LiquidAI>Newsgroups: alt.freeweights.lfmSubject:

LFM3-1.7B-Base

Date: 2026-11-15Commit: 7bca503Signed: 2DC28CC7B26A283B ✓

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

1.7B params3.48GBLFM3-1.7B-Basesafetensorscustom terms
FactsParams1.7BSize3.48 GBFormatssafetensorsTasktext generationLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get LiquidAI/LFM3-1.7B-Base
# manifest sha256 147b1598d037… · 3.48 GB · 19 files
$ fw verify ./LFM3-1.7B-Base LiquidAI/LFM3-1.7B-Base
From sourceHosted (signed)LiquidAI/LFM3-1.7B-BaseLast check: 2026-11-15 02:42 UTC

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

Works with

Overview

Size
3.48 GB
Weights
3.46 GB (safetensors)
Parameters
1.7B
Formats
safetensors
Task
text generation
License
LFM-1.0 (custom) (custom)
Files
19, 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:42 UTCpassed

Model card

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

Image: Liquid AI

API Try Docs Blog

LFM3-1.7B-Base#

LFM3-1.7B-Base is the pre-trained checkpoint behind LFM3-1.7B, a text model for local agents and specialized applications based on our new tri-hybrid architecture.

  • Pre-trained on 22T tokens: the last 3.5T tokens are curated mid-training data with agentic traces and tool calls, and extend the context window to 256K tokens.
  • Designed for the edge: at 4-bit precision, it takes about 1 GB of memory, so it fits on any phone or laptop.
  • Made to be specialized: a starting point for continued pre-training and your own post-training.

Find more information about the LFM3 family in our release blog post.

Model details#


The LFM3 family includes base, text, vision, audio, omni, and decision models.

| Property | Specification

| Checkpoint | Pre-trained, text-only base model

| Parameters | 1.73B

| Architecture | 24 layers: 13 gated short convolutions, 5 sliding-window attention, 6 global attention

| Context length | 256K tokens (input + output)

| Vocabulary | 128,000 tokens

| Languages | English, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish, Vietnamese, Thai, Indonesian, Hindi, Russian, Polish

| License | LFM Open License v1.0

LFM3-1.7B-Base is the checkpoint used to create LFM3-1.7B. It is only recommended for tasks that require heavy fine-tuning, like language-specific or domain-specific assistants, training on proprietary data, or experimenting with novel post-training approaches. For chat, tool calling, and agents, use LFM3-1.7B.

Inference#


LFM3-1.7B-Base uses the same architecture and modeling code as LFM3-1.7B, with BF16 weights.

Transformers quick start:

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "LiquidAI/LFM3-1.7B-Base"
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="auto",
    dtype="bfloat16",
    trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)

prompt = "The nematode C. elegans is"
input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(model.device)
output = model.generate(input_ids, max_new_tokens=128, do_sample=False)
print(tokenizer.decode(output[0], skip_special_tokens=True))

Mid-training included chat data with and without thinking traces, formatted with the same chat template as LFM3-1.7B. With apply_chat_template, reasoning is enabled by default, so responses start with a thinking trace. Set enable_thinking=False to prefill an empty thinking trace and have the model answer directly.

Fine-tuning#


LFM3-1.7B-Base is the starting point for substantial customization, such as adapting to new domains, languages, or behaviors that diverge significantly from those of LFM3-1.7B, through continued pre-training or full post-training via TRL.

These notebooks start from LFM3-1.7B. To start from the base model, set model_id = "LiquidAI/LFM3-1.7B-Base".

| Training | Use case | Notebook

| SFT | Extract structured JSON from messy documents | Open in Colab

| CPT | Learn a new language (Turkish) from raw text | Open in Colab

Training#


Image: LFM3-1.7B pre-training: web and synthetic data (about 15T tokens), then code, math, and science (3T tokens at 4K context), followed by mid-training on curated agentic data (3T tokens at 32K context), a 128K extension (500B tokens), and a 256K extension (50B tokens), for 22T tokens in total.

Pre-training: two stages build LFM3-1.7B-Base on 22T tokens in total.

  • Main pre-training: compared with LFM2, the mix adds more scientific papers, repository-level code, math, and a wider range of knowledge sources.
  • Mid-training: the last 3.5T tokens use curated, higher-quality data with a larger share of agentic traces and tool calls. This stage also extends the context window to 256K tokens.

Post-training from this checkpoint (SFT, mixed RL, multi-domain on-policy distillation, and agentic RL) produces LFM3-1.7B.

Citation#


@article{liquidAI2026LFM3,
  author  = {Liquid AI},
  title   = {Introducing LFM3: Every Modality for Specialized Intelligence},
  journal = {Liquid AI Blog},
  year    = {2026},
  note    = {www.liquid.ai/blog/lfm3},
}

For questions and feedback, join Discord. For custom deployment and fine-tuning support, contact Liquid AI.

Files

19 files · 3.48 GBWeights 3.46 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 19 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
LICENSE10.6 KB4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c
README.md12.1 KBa94e75bca59f8d7c6042bce41d8d811f4ea689367003df171c9e4311b36f10b5
assets/icons/api.svg233 B2ea0f61abd18e9bed892eb33a29bbdd337576f21d9ca04a5e53104cc8521b09c
assets/icons/blog.svg258 Bec53a3f69e2a106a86bff98d2ef6ca3eea3f7457524a1d1f00e442b012b27a2f
assets/icons/docs.svg276 Be7be53d79a530dc8a98c92d97d4942b05505f5f29384fd62c93f629861abc56a
assets/icons/try.svg246 Bb06506d6294a1cf3764ed7b78755234c770282c383878558d1f421af2d96700d
assets/lfm3-pre-training-recipe.webp28.9 KB1ecdb5082691ddcfaa14426cd3437f8948e3adb220c72616af4117eb51246b2f
assets/liquid-ai-banner.webp38.2 KB30dbbfb9f1b412462ef8f690e95d490100b04487a4f534ac09a92f636f734196
chat_template.jinja12.1 KBf45005c50cd2a97329722bf3a2dee9f16c04cdf825a589b280fb7e99e6827818
config.json1.45 KB8c6ae8b8f6d88c87cfb98cf4b5e34e943d0ee07e24215c4121b3159a46e1399d
configuration_lfm3.py6.11 KB176cced35657aedfea7d7002221360582d1c05fcaca882c21508bc3a73b282e5
generation_config.json241 B422ed8749f8849f763ffe836a709a2c58e1adcf3d32dfa4da48b3959e87ecce9
lfm3_conv.py8.53 KB80d4a985382a22774212759248a6b4c737bfbf9c2a47b3dd7f797dda748e4bb4
model.safetensors3.46 GB61a3f541d65b03a2180d08964bf0d55e349463a2706032814d455ae046bc8b59
modeling_lfm3.py42.4 KBe8cd5254ea99ce6bd731b57b10908c2e8b5010ce8315341f895a38484885eeab
special_tokens_map.json92 B7946f864cbfb62a1b041bda937244210a1a87f4a6cab3a48b791131b2cd57f88
tokenizer.json17.9 MB7e226e34bface23ccf6e495d157bf77186c1c30a7659880e1a8994db528c3701
tokenizer_config.json1.54 KBbf028f813efc6137bc07ed045cafe71820df9a5e26a38e39954706ed1e30a457
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
7bca503882 pinned now2026-11-15 02:42 UTC19 files · 3.48 GB

Use it

# custom terms: read the license before you download
$ fw get LiquidAI/LFM3-1.7B-Base
# manifest sha256 147b1598d037… · 3.48 GB · 19 files
$ fw verify ./LFM3-1.7B-Base LiquidAI/LFM3-1.7B-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/LFM3-1.7B-Base.json --dir ./LFM3-1.7B-Base $ python3 fw.py verify ./LFM3-1.7B-Base ./LiquidAI__LFM3-1.7B-Base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download LiquidAI/LFM3-1.7B-Base --revision 7bca5038823c0d0f14efe06439109354a10e014c --local-dir ./LFM3-1.7B-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/LFM3-1.7B-Base", revision="7bca5038823c0d0f14efe06439109354a10e014c") model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM3-1.7B-Base", revision="7bca5038823c0d0f14efe06439109354a10e014c", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve LiquidAI/LFM3-1.7B-Base --revision 7bca5038823c0d0f14efe06439109354a10e014c

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: LFM3-1.7B-BaseDate: 2026-11-15Commit: 7bca503Signed: 2DC28CC7B26A283B ✓
Upstream
LiquidAI/LFM3-1.7B-Base
Pinned commit
7bca5038823c0d0f14efe06439109354a10e014c
Manifest
LFM3-1.7B-Base.json · .minisig
Manifest sha256
147b1598d037617fadba70f9cd6cafc2f4cc80fd718aba6557f12b60f891d562
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:42 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

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

Fine-tunes
2
Fine-tunes 2
Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download LiquidAI/LFM3-1.7B-Base
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. LFM3-1.7B-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