def bpe_train()

in tiktoken/_educational.py [0:0]


def bpe_train(
    data: str, vocab_size: int, pat_str: str, visualise: str | None = "colour"