OpenAI's tokenizer library used to encode text into GPT-2 token IDs for sampling and training.
Andrej Karpathy