mlx-bun library API
    Preparing search index...
    interface RegenOptions {
        maxResponseTokens?: number;
        minResponseTokens?: number;
        onProgress?: (event: RegenProgress) => void;
        outDir: string;
        prompt?: (topic: string) => string;
        sequencesPerShard?: number;
        signal?: AbortSignal;
        tapLayers: readonly number[];
    }
    Index
    maxResponseTokens?: number

    Cap on generated tokens per topic. Default 320.

    minResponseTokens?: number

    Responses shorter than this are dropped (a block needs γ tokens). Default 6.

    onProgress?: (event: RegenProgress) => void
    outDir: string
    prompt?: (topic: string) => string

    Prompt for one topic. Default: an encyclopedia article request.

    sequencesPerShard?: number

    Sequences per shard file. Default 32.

    signal?: AbortSignal
    tapLayers: readonly number[]

    Target layers to tap, in the order the drafter concatenates them; the last is normally numHiddenLayers (the post-final-norm hidden). MUST equal the drafter's tapLayers (the shard feature width is tapLayers.length * H).