Downloads · 30 days
0
simaai/LFM2.5-1.2B-Instruct-a16w4_return_logits
LFM2.5-1.2B-Instruct-a16w4_return_logits is a text generation model from simaai. Use it when you need the model to write or continue text. The card lists the license as other.
This repository contains the LFM2.5-1.2B-Instruct-a16w4returnlogits model, optimized and compiled for the SiMa.ai Modalix platform.
Downloads · 30 days
0
Access
Public
Updated Aug 6, 2026
Repo size
2.2 GB
Likes
0
Public
Click a slice to open those files.
.elf1.9 GB · 88%
From the Hugging Face model README
This repository contains the LFM2.5-1.2B-Instruct-a16w4_return_logits model, optimized and compiled for the SiMa.ai Modalix platform.
This model is compiled with --return_logits so that it can be used for Modalix accuracy benchmarking without recompiling the source model.
The table below compares accuracy results produced by SiMa.ai on the Modalix backend against Hugging Face backend reference results.
| Task | Version | Filter | n-shot | Metric | Direction | HF Backend Value | HF Stderr | Modalix Backend Value | Modalix Stderr | Abs. Diff |
|---|---|---|---|---|---|---|---|---|---|---|
| hellaswag | 1.0 | none | 0 | acc | higher | 0.4672 | 0.0050 | 0.448516 | 0.004963 | 0.018684 |
| hellaswag | 1.0 | none | 0 | acc_norm | higher | 0.6139 | 0.0049 | 0.596594 | 0.004896 | 0.017306 |
| piqa | 1.0 | none | 0 | acc | higher | 0.7231 | 0.0104 | 0.722524 | 0.010447 | 0.000576 |
| piqa | 1.0 | none | 0 | acc_norm | higher | 0.7296 | 0.0104 | 0.719804 | 0.010478 | 0.009796 |
| triviaqa | 3.0 | remove_whitespace | 0 | exact_match | higher | 0.0232 | 0.0011 | 0.024799 | 0.001161 | 0.001599 |
| wikitext | 2.0 | none | 0 | bits_per_byte | lower | 0.9499 | N/A | 1.018517 | N/A | 0.068617 |
| wikitext | 2.0 | none | 0 | byte_perplexity | lower | 1.9318 | N/A | 2.025836 | N/A | 0.094036 |
| wikitext | 2.0 | none | 0 | word_perplexity | lower | 33.8195 | N/A | 43.606509 | N/A | 9.787009 |
| winogrande | 1.0 | none | 0 | acc | higher | 0.5959 | 0.0138 | 0.581689 | 0.013864 | 0.014211 |
| Task | sample_len |
|---|---|
| hellaswag | 10042 |
| piqa | 1838 |
| triviaqa | 17944 |
| wikitext | 62 |
| winogrande | 1267 |
To benchmark accuracy with this model, you need:
Follow these steps to deploy the model to your Modalix device.
Note: This is a one-time setup. If the Neat Library is already installed on your Modalix device, you can skip this step and continue with model download.
Follow the SiMa.ai Neat getting started guide to install or update the Neat Library on your Modalix device.
The llima CLI is available on Modalix after the Neat runtime is installed. It manages precompiled GenAI models under /media/nvme/llima/models by default. Set LLIMA_MODELS_PATH to use a different model directory.
Download the compiled model assets from this repository directly to your device.
# Download the model to a local directory
llima pull LFM2.5-1.2B-Instruct-a16w4_return_logits
Alternatively, you can download the compiled model to a Host and copy it to the Modalix device:
hf download simaai/LFM2.5-1.2B-Instruct-a16w4_return_logits --local-dir LFM2.5-1.2B-Instruct-a16w4_return_logits
scp -r LFM2.5-1.2B-Instruct-a16w4_return_logits sima@<modalix-ip>:/media/nvme/llima/models/
Replace <modalix-ip> with the IP address of your Modalix device.
Expected Directory Structure:
/media/nvme/llima/
`-- models/
`-- LFM2.5-1.2B-Instruct-a16w4_return_logits/ # The compiled model
Run the benchmark from a host machine. The positional model_id must be the source Hugging Face model because MOLE uses its tokenizer and configuration; --board_model selects this compiled artifact on Modalix.
MODALIX_IP="<modalix-ip>"
llima-benchmark accuracy LiquidAI/LFM2.5-1.2B-Instruct \
--backend modalix \
--output ./results/modalix \
--board_ip "$MODALIX_IP" \
--board_model LFM2.5-1.2B-Instruct-a16w4_return_logits \
--task hellaswag piqa triviaqa wikitext winogrande
The compiled --board_model must already exist on Modalix and contain both devkit/ and elf_files/. The CLI starts the benchmark server by default. Add --board_venv_path /path/to/venv when llima is installed in a non-default virtual environment, or --no-board_start_server when connecting to a server that is already running.
Run the same task suite against the source model on the host:
llima-benchmark accuracy LiquidAI/LFM2.5-1.2B-Instruct \
--backend hf \
--output ./results/hf \
--task hellaswag piqa triviaqa wikitext winogrande
See MOLE accuracy benchmarking for the full accuracy benchmarking workflow.
--return_logits for accuracy benchmarking workflows. For standard text generation deployments, use the corresponding SiMa.ai model from the Large Language Models collection.sima-cli not found: Ensure that sima-cli is installed on your Modalix device.llima-benchmark not found: Ensure that the LLiMa benchmark CLI is installed on the host machine.llima not found: Install or update the Neat Library. See Getting Started.--return_logits and that the model directory contains both devkit/ and elf_files/./media/nvme/llima/models/ and not nested (e.g., /media/nvme/llima/models/LFM2.5-1.2B-Instruct-a16w4_return_logits/LFM2.5-1.2B-Instruct-a16w4_return_logits)./media/nvme directory.