madewithlaya

Catalog / Moderation & safety

0083GitHub

Laya Warehouse Safety: a robot picks advance, shift or wait above a deterministic shield

Replayable grid sim with moving workers and forklifts. Laya answers action, collision_risk, path_blocked and needs_operator in one call; collision prevention stays deterministic.

Open source ↗ github.comcostfree, localtime-
senthilr-nv/laya-warehouse-safetyREADME ↗
# Laya Warehouse Safety

**A typed decision model, a busy warehouse, and one robot trying not to become an incident report.**

</div>

This project is a visual, replayable experiment in using
[Laya](https://github.com/NandhaKishorM/laya) as a fast operational decision layer for an
autonomous warehouse robot. Workers and forklifts move through a deterministic grid. The robot
must reach a loading bay while choosing whether to advance, shift, or wait.

The simulation keeps emergency collision prevention deterministic. Laya chooses operational
actions above that safety layer; it cannot override the safety shield.



## Why this experiment?

Laya evaluates several typed questions over one state in a single model invocation. A warehouse
crossing makes the result visible: a late or poor decision can cause an avoidable stop, detour, or
collision in an unshielded research run.

The included browser replay evaluates these outputs in parallel:

- `action` — `choice`: a normalized distribution over advance, shift left, shift right, and wait.
- `collision_risk` — `score`: low through critical.
- `path_blocked` — `noul`: probability that the direct path is blocked.
- `needs_operator` — `noul`: probability that a person should review the situation.

The controller applies Laya's selected action. Keeping all actions in one normalized choice avoids
comparing probabilities from separately phrased binary questions.

That replay's model was domain-trained only for `action`. It preserves the other three outputs to
demonstrate Laya's typed interface, but they are unvalidated diagnostics. Do not interpret them as
calibrated warehouse risk or escalation signals.

The benchmark harness trains and evaluates only `action` and `path_blocked`. It does not train
`collision_risk` or `needs_operator`,

Also filed under Moderation & safety

  1. 0101

    Jev vs fine-tuned Laya: Banking77 goes from 51.3% to 79.4% with 1,001 examples

    Matched-budget fine-tunes on Banking77 and five more public workflows (prompt injection, SMS spam, emotion, request routing), plus two Aegis chat-moderation fine-tunes.

    Alexander-Ollman · Moderation & safety · free, local

  2. 0082

    Slop Finder: a Chromium extension that flags AI-slop style on X, LinkedIn and Reddit

    Scores post style locally through a Laya-MLX helper as you scroll, using low-information and formulaic-rhetoric criteria and a conservative consensus score. Abstains when unsure.

    Wilson · Moderation & safety · free, local

  3. 0081

    Before You Send: live tone, formality and fight-risk readings as you type

    Paste a nervous message and watch tone (choice), formality 1–5 (score) and fight risk (noul) update as you type, 40–110 ms per call. Misses subtle passive-aggression.

    @roisol144 · Moderation & safety · free, local · 40–110 ms / check

  4. 0014

    laya-vision: typed decisions over images

    A vision variant of Laya on Hugging Face: the same choice/score/noul question shape, with an image as the state.

    thaitea · Moderation & safety