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 in our blog post.
MLX format for Apple Silicon. Optimized for fast inference on Mac devices using the MLX framework.
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.
# custom terms: read the license before you download$ fw get LiquidAI/LFM2.5-2.6B-Base
# manifest sha256 611b4eba81ee… · 5.41 GB · 9 files$ fw verify ./LFM2.5-2.6B-Base LiquidAI/LFM2.5-2.6B-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.
import os
os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com"
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("LiquidAI/LFM2.5-2.6B-Base", revision="c57bdaed1ef166fe3095dda07f4a5e789ad5321e")
model = AutoModelForCausalLM.from_pretrained("LiquidAI/LFM2.5-2.6B-Base", revision="c57bdaed1ef166fe3095dda07f4a5e789ad5321e", device_map="auto")