mlx-bun library API
    Preparing search index...
    • The id of text when the tokenizer encodes it as exactly one token.

      Parameters

      • tokenizer: Encoder
      • text: string

      Returns number | null