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.

Merge pull request #414 from nnlgsakib/ts-helpers

Nandakishor6482abb3bef1
diff --cc laya-ts/src/index.ts
index 25896c67,bede8f3d..78dbff0e
--- a/laya-ts/src/index.ts
+++ b/laya-ts/src/index.ts
@@@ -64,6 -64,7 +64,7 @@@ export
TEMP_MIN,
TEMP_MAX,
} from "./common.js";
-export type { QType, InternalQ, CollateItem, CollatedBatch, QuestionPrefix } from "./common.js";
+export type { QType, InternalQ, CollateItem, CollatedBatch, QuestionPrefix, SequenceStats } from "./common.js";
+ export { q, best, topK, isConfident } from "./dx.js";
export { bpeEncode, metaspaceEncode, encodeWithData, parseTokenizerJson, loadTokenizerJson, CHECKPOINT_IDS, SPECIAL_ALIASES, METASPACE_REPLACEMENT } from "./tokenizer.js";
export type { TokenizerLike, TokenizerData, TokenizerIds, PreTokenizerKind } from "./tokenizer.js";