Views
No views yet
--return_logits so that it can be used for Modalix accuracy benchmarking without recompiling the source model.| 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.3413 | 0.0047 | 0.331508 | 0.004698 | 0.009792 |
| hellaswag | 1.0 | none | 0 | acc_norm | higher | 0.4080 | 0.0049 | 0.393448 | 0.004875 | 0.014552 |
| piqa | 1.0 | none | 0 | acc | higher | 0.6513 | 0.0111 | 0.631665 | 0.011254 | 0.019635 |
| piqa | 1.0 | none | 0 | acc_norm | higher | 0.6491 | 0.0111 | 0.635473 | 0.011229 | 0.013627 |
| triviaqa | 3.0 | remove_whitespace | 0 | exact_match | higher | 0.0892 | 0.0021 | 0.070163 | 0.001907 | 0.019037 |
| wikitext | 2.0 | none | 0 | bits_per_byte | lower | 1.1881 | N/A | 1.303778 | N/A | 0.115678 |
| wikitext | 2.0 | none | 0 | byte_perplexity | lower | 2.2786 | N/A | 2.468745 | N/A | 0.190145 |
| wikitext | 2.0 | none | 0 | word_perplexity | lower | 81.7650 | N/A | 125.530017 | N/A | 43.765017 |
| winogrande | 1.0 | none | 0 | acc | higher | 0.5525 | 0.0140 | 0.538279 | 0.014011 | 0.014221 |
| Task | sample_len |
|---|---|
| hellaswag | 10042 |
| piqa | 1838 |
| triviaqa | 17944 |
| wikitext | 62 |
| winogrande | 1267 |
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.
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.1# Download the model to a local directory
2llima pull LFM2.5-230M-a16w4_return_logits1hf download simaai/LFM2.5-230M-a16w4_return_logits --local-dir LFM2.5-230M-a16w4_return_logits
2scp -r LFM2.5-230M-a16w4_return_logits sima@<modalix-ip>:/media/nvme/llima/models/1/media/nvme/llima/
2`-- models/
3 `-- LFM2.5-230M-a16w4_return_logits/ # The compiled modelmodel_id must be the source Hugging Face model because MOLE uses its tokenizer and configuration; --board_model selects this compiled artifact on Modalix.1MODALIX_IP="<modalix-ip>"
2llima-benchmark accuracy LiquidAI/LFM2.5-230M \
3 --backend modalix \
4 --output ./results/modalix \
5 --board_ip "$MODALIX_IP" \
6 --board_model LFM2.5-230M-a16w4_return_logits \
7 --task hellaswag piqa triviaqa wikitext winogrande--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.1llima-benchmark accuracy LiquidAI/LFM2.5-230M \
2 --backend hf \
3 --output ./results/hf \
4 --task hellaswag piqa triviaqa wikitext winogrande--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-230M-a16w4_return_logits/LFM2.5-230M-a16w4_return_logits)./media/nvme directory.