Find more information about LFM2.5 in our
blog post.
LFM2.5-1.2B-Base is the pre-trained text-only checkpoint, used to create all the LFM2.5-1.2B variants. It has the following features:
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.
LFM2.5 is supported by many inference frameworks. See the
Inference documentation for the full list.
1from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
2
3model_id = "LiquidAI/LFM2.5-1.2B-Base"
4model = AutoModelForCausalLM.from_pretrained(
5 model_id,
6 device_map="auto",
7 dtype="bfloat16",
8# attn_implementation="flash_attention_2" <- uncomment on compatible GPU
9)
10tokenizer = AutoTokenizer.from_pretrained(model_id)
We recommend fine-tuning LFM2.5 for your specific use case to achieve the best results.
1@article{liquidai2025lfm2,
2 title={LFM2 Technical Report},
3 author={Liquid AI},
4 journal={arXiv preprint arXiv:2511.23404},
5 year={2025}
6}