Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

425 B
Raw Blame
import type { BatchRequest } from "../../src/index.js";

export const requests: BatchRequest[] = [
  { state: "ticket", questions: {}, maxLen: 64, headMaxLen: 16 },
  { state: "defaults", questions: {}, maxLen: null, headMaxLen: null },
  { state: "omitted", questions: {} },
];

// @ts-expect-error token budgets must be numbers or null
export const invalid: BatchRequest = { state: "ticket", questions: {}, maxLen: "64" };