usage: python -m tiktoken.tool [-h] [-e ENCODING | -m MODEL] [-d] file
tiktoken is a fast BPE tokeniser for use with OpenAI's models
positional arguments:
file input file
optional arguments:
-h, --help show this help message and exit
-e ENCODING, --encoding ENCODING
encoding to use (default: cl100k_base)
-m MODEL, --model MODEL
model to use to determine encoding
-d, --decode decode/detokenize file containing one token per line