LFM2.5-230M-Chess-ONNX

ONNX build of LFM2.5-230M-Chess in the transformers.js layout, for running the model in the browser on WebGPU with a WASM fallback.

This build is vocab-pruned to the 2,106 chess tokens, which cuts the full-precision embedding table out of the file.

Demo game

Usage

import { AutoModelForCausalLM } from "@huggingface/transformers";

const model = await AutoModelForCausalLM.from_pretrained(
  "mlabonne/LFM2.5-230M-Chess-ONNX",
  { device: "webgpu", dtype: "q4" },
);

Prompts are plain token id sequences, so no text tokenizer is needed.

Files

Precision Size (MiB) Notes
fp32 629 reference graph
q4 212 what the Space loads
Downloads last month
452
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for mlabonne/LFM2.5-230M-Chess-ONNX

Quantized
(2)
this model

Spaces using mlabonne/LFM2.5-230M-Chess-ONNX 2