Native Elixir runtime for the Laya System-1 decision models.
Laya uses a fine-tuned ModernBERT encoder and a custom decision head. This package loads the encoder through Bumblebee and executes the published head with Nx, so no Python process is involved at inference time.
Summary
Functions
Downloads (on first use) and prepares a Laya checkpoint.
Runs all supplied typed questions in a single Laya batch.
Types
Functions
@spec load(keyword()) :: {:ok, model()} | {:error, Exception.t()}
Downloads (on first use) and prepares a Laya checkpoint.
:checkpoint is one of :english, :multilingual, or
:typed_decisions. The English checkpoint is the default.
Runs all supplied typed questions in a single Laya batch.