How to use from
MLX LM
Generate or start a chat session
# Install MLX LM
uv tool install mlx-lm
# Interactive chat REPL
mlx_lm.chat --model "LiquidAI/LFM2.5-2.6B-MLX-nvfp4"
Run an OpenAI-compatible server
# Install MLX LM
uv tool install mlx-lm
# Start the server
mlx_lm.server --model "LiquidAI/LFM2.5-2.6B-MLX-nvfp4"
# Calling the OpenAI-compatible server with curl
curl -X POST "http://localhost:8000/v1/chat/completions" \
   -H "Content-Type: application/json" \
   --data '{
     "model": "LiquidAI/LFM2.5-2.6B-MLX-nvfp4",
     "messages": [
       {"role": "user", "content": "Hello"}
     ]
   }'
Quick Links
Liquid AI
Try LFMDocsLEAPDiscord

LFM2.5-2.6B-MLX-nvfp4

MLX export of LFM2.5-2.6B for Apple Silicon inference.

LFM2.5-2.6B is a compact multilingual model built on LiquidAI's hybrid architecture, combining convolutional and attention layers for efficient long-context processing.

Model Details

Property Value
Parameters 2.6B
Precision NVFP4
Group Size 16
Size 1.53 GB
Context Length 131072

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler

model, tokenizer = load("LiquidAI/LFM2.5-2.6B-MLX-nvfp4")

response = generate(
    model,
    tokenizer,
    prompt="The capital of France is",
    max_tokens=100,
    sampler=make_sampler(temp=0.7),
    verbose=True,
)

Other Precisions

License

This model is released under the LFM 1.0 License.

Downloads last month
989
Safetensors
Model size
0.7B params
Tensor type
U8
·
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for LiquidAI/LFM2.5-2.6B-MLX-nvfp4

Quantized
(75)
this model