def bpe_encode()

in tiktoken/_educational.py [0:0]


def bpe_encode(
    mergeable_ranks: dict[bytes, int], input: bytes, visualise: str | None = "colour"