Skip to content

chore: add support for lfm-2.5 instruct model#822

Merged
msluszniak merged 5 commits intomainfrom
@ms/add-lfm2.5-instruct
Feb 25, 2026
Merged

chore: add support for lfm-2.5 instruct model#822
msluszniak merged 5 commits intomainfrom
@ms/add-lfm2.5-instruct

Conversation

@msluszniak
Copy link
Copy Markdown
Member

@msluszniak msluszniak commented Feb 20, 2026

Description

Adds support for fm-2.5 instruct model.

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

Run llm example app with model changed from LLAMA3_2_1B_SPINQUANT to both LFM2_5_1_2B_INSTRUCT and LFM2_5_1_2B_INSTRUCT_QUANTIZED. Also check that Hugging Face page for the model is correct and contains every needed information: https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-1.2B-instruct.

Screenshots

Related issues

Closes #812

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

@msluszniak msluszniak self-assigned this Feb 20, 2026
@msluszniak msluszniak added the chore PRs that are chores label Feb 20, 2026
Copy link
Copy Markdown
Collaborator

@chmjkb chmjkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's wait for @benITo47's review. The code looks good 👍🏻, this is a cool one!

@benITo47
Copy link
Copy Markdown
Contributor

Code looks good. I've played a bit with the models. Both work good, inference feels fast and responses make sense. Great addition!

@msluszniak msluszniak merged commit 6794e21 into main Feb 25, 2026
6 checks passed
@msluszniak msluszniak deleted the @ms/add-lfm2.5-instruct branch February 25, 2026 11:00
barhanc pushed a commit that referenced this pull request Feb 25, 2026
Adds support for fm-2.5 instruct model.

- [ ] Yes
- [x] No

- [ ] Bug fix (change which fixes an issue)
- [ ] New feature (change which adds functionality)
- [ ] Documentation update (improves or adds clarity to existing
documentation)
- [x] Other (chores, tests, code style improvements etc.)

- [x] iOS
- [x] Android

Run llm example app with model changed from `LLAMA3_2_1B_SPINQUANT` to
both `LFM2_5_1_2B_INSTRUCT` and `LFM2_5_1_2B_INSTRUCT_QUANTIZED`. Also
check that Hugging Face page for the model is correct and contains every
needed information:
https://huggingface.co/software-mansion/react-native-executorch-lfm2.5-1.2B-instruct.

<!-- Add screenshots here, if applicable -->

Closes #812

- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have updated the documentation accordingly
- [x] My changes generate no new warnings

<!-- Include any additional information, assumptions, or context that
reviewers might need to understand this PR. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore PRs that are chores

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for LiquidAI/LFM2.5-1.2B-Instruct

3 participants