mlx-bun library API
    Preparing search index...
    • Debug: the two branch mean-logps (ℓw, ℓr) from the prefix-shared forward, no grad. For parity diagnostics (compare against the two-forward branch logps).

      Parameters

      • model: RuntimeModel
      • promptIds: number[]
      • chosenResp: number[]
      • rejectedResp: number[]

      Returns { lr: number; lw: number }