Text / LiquidAI

LFM2.5 2.6B

LFM2.5 2.6B from LiquidAI. Source-based hardware guidance from its published configuration.

EstimatedRepository opened Jul 28, 2026Source checked 9/24/2026Version: 654f9463
LOCALRENTED GPUOPEN WEIGHTS

At a glance

Parameters
2.70B
Architecture
lfm2
Context length
131,072
License
lfm1.0
Software
Transformers
View the model source
MY HARDWARE

Will it run on your machine?

Save your machine to see a personalized rating and its reasoning.

Add my hardware

Ways to run it

Transformers · See official guide

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer model_id = "LiquidAI/LFM2.5-2.6B" 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, do_sample=True, temperature=0.1, top_k=50, repetition_penalty=1.1, max_new_tokens=512, streamer=streamer, )
Official instructions

Explore its uses

SAFETENSORSTEXT-GENERATION

Keep exploring

LFM2.5 2.6B: hardware, VRAM & setup | YouRunAI