openai / tiktoken

tiktoken is a fast BPE tokeniser for use with OpenAI's models.
MIT License
11.17k stars 751 forks source link

Inline custom mapping function in _byte_pair_merge #253

Closed hauntsaninja closed 5 months ago

hauntsaninja commented 5 months ago

Authored by @paplorinc in #239