tiktoken is a fast BPE tokeniser for use with OpenAI's models
Project description
⏳ tiktoken
tiktoken is a fast BPE tokeniser for use with OpenAI's models.
import tiktoken
enc = tiktoken.get_encoding("cl100k_base")
assert enc.decode(enc.encode("hello world")) == "hello world"
# To get the tokeniser corresponding to a specific model in the OpenAI API:
enc = tiktoken.encoding_for_model("gpt-4")
The open source version of tiktoken
can be installed from PyPI:
pip install tiktoken
The tokeniser API is documented in tiktoken/core.py
.
Example code using tiktoken
can be found in the
OpenAI Cookbook.
Performance
tiktoken
is between 3-6x faster than a comparable open source tokeniser:
Performance measured on 1GB of text using the GPT-2 tokeniser, using GPT2TokenizerFast
from
tokenizers==0.13.2
, transformers==4.24.0
and tiktoken==0.2.0
.
Getting help
Please post questions in the issue tracker.
If you work at OpenAI, make sure to check the internal documentation or feel free to contact @shantanu.
What is BPE anyway?
Language models don't see text like you and I, instead they see a sequence of numbers (known as tokens). Byte pair encoding (BPE) is a way of converting text into tokens. It has a couple desirable properties:
- It's reversible and lossless, so you can convert tokens back into the original text
- It works on arbitrary text, even text that is not in the tokeniser's training data
- It compresses the text: the token sequence is shorter than the bytes corresponding to the original text. On average, in practice, each token corresponds to about 4 bytes.
- It attempts to let the model see common subwords. For instance, "ing" is a common subword in English, so BPE encodings will often split "encoding" into tokens like "encod" and "ing" (instead of e.g. "enc" and "oding"). Because the model will then see the "ing" token again and again in different contexts, it helps models generalise and better understand grammar.
tiktoken
contains an educational submodule that is friendlier if you want to learn more about
the details of BPE, including code that helps visualise the BPE procedure:
from tiktoken._educational import *
# Train a BPE tokeniser on a small amount of text
enc = train_simple_encoding()
# Visualise how the GPT-4 encoder encodes text
enc = SimpleBytePairEncoding.from_tiktoken("cl100k_base")
enc.encode("hello world aaaaaaaaaaaa")
Extending tiktoken
You may wish to extend tiktoken
to support new encodings. There are two ways to do this.
Create your Encoding
object exactly the way you want and simply pass it around.
cl100k_base = tiktoken.get_encoding("cl100k_base")
# In production, load the arguments directly instead of accessing private attributes
# See openai_public.py for examples of arguments for specific encodings
enc = tiktoken.Encoding(
# If you're changing the set of special tokens, make sure to use a different name
# It should be clear from the name what behaviour to expect.
name="cl100k_im",
pat_str=cl100k_base._pat_str,
mergeable_ranks=cl100k_base._mergeable_ranks,
special_tokens={
**cl100k_base._special_tokens,
"<|im_start|>": 100264,
"<|im_end|>": 100265,
}
)
Use the tiktoken_ext
plugin mechanism to register your Encoding
objects with tiktoken
.
This is only useful if you need tiktoken.get_encoding
to find your encoding, otherwise prefer
option 1.
To do this, you'll need to create a namespace package under tiktoken_ext
.
Layout your project like this, making sure to omit the tiktoken_ext/__init__.py
file:
my_tiktoken_extension
├── tiktoken_ext
│ └── my_encodings.py
└── setup.py
my_encodings.py
should be a module that contains a variable named ENCODING_CONSTRUCTORS
.
This is a dictionary from an encoding name to a function that takes no arguments and returns
arguments that can be passed to tiktoken.Encoding
to construct that encoding. For an example, see
tiktoken_ext/openai_public.py
. For precise details, see tiktoken/registry.py
.
Your setup.py
should look something like this:
from setuptools import setup, find_namespace_packages
setup(
name="my_tiktoken_extension",
packages=find_namespace_packages(include=['tiktoken_ext*']),
install_requires=["tiktoken"],
...
)
Then simply pip install ./my_tiktoken_extension
and you should be able to use your
custom encodings! Make sure not to use an editable install.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file tiktoken-0.6.0.tar.gz
.
File metadata
- Download URL: tiktoken-0.6.0.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ace62a4ede83c75b0374a2ddfa4b76903cf483e9cb06247f566be3bf14e6beed |
|
MD5 | ea8e1a27b15f61ed4d4ecde571b64449 |
|
BLAKE2b-256 | 3a7ba8f49a8fb3f7dd70c77ab1d90b0514ab534db43cbcf8ac0a7ece57c64d87 |
File details
Details for the file tiktoken-0.6.0-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 798.3 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45577faf9a9d383b8fd683e313cf6df88b6076c034f0a16da243bb1c139340c3 |
|
MD5 | a16a9b0f7d271d1b5b37cf199c88b477 |
|
BLAKE2b-256 | 132f3dd2eff71a6c057639723c9fc7ff4de9ec8a7cb9d444db3c069998b7df66 |
File details
Details for the file tiktoken-0.6.0-cp312-cp312-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp312-cp312-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.12, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75af4c0b16609c2ad02581f3cdcd1fb698c7565091370bf6c0cf8624ffaba6dc |
|
MD5 | de1772ce66bbfd0dfbe7d1fb52b0bee8 |
|
BLAKE2b-256 | 9f72ec63eff1005c3f4f91d4d26a7ea98a525b1a1dd7161cc3901b8d9abb8b08 |
File details
Details for the file tiktoken-0.6.0-cp312-cp312-musllinux_1_1_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp312-cp312-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.12, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f5f0f2ed67ba16373f9a6013b68da298096b27cd4e1cf276d2d3868b5c7efd1 |
|
MD5 | 7ece3aa64d4eb29ee01d2e8cb32995d4 |
|
BLAKE2b-256 | facc8e806932958713009db0726a0d13ccdccc5680b0a97f2ac6d3cefe4b003d |
File details
Details for the file tiktoken-0.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6318b2bb2337f38ee954fd5efa82632c6e5ced1d52a671370fa4b2eff1355e91 |
|
MD5 | 771adfdb7eccbad0d09fa9a5270c1ea6 |
|
BLAKE2b-256 | aabaca12efe6fa6fde7ba30e27743b0d847838bc08d58e99faf11bae935ecbad |
File details
Details for the file tiktoken-0.6.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c1a3a5d33846f8cd9dd3b7897c1d45722f48625a587f8e6f3d3e85080559be8 |
|
MD5 | a2cb2a191bf0f3bce0b7c01cf2ee563e |
|
BLAKE2b-256 | ab68d72a69dc8ff9909bd92b21eb2b6f5aa62ae9a5fe2eaa858d7426024006c4 |
File details
Details for the file tiktoken-0.6.0-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 922.4 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 284aebcccffe1bba0d6571651317df6a5b376ff6cfed5aeb800c55df44c78177 |
|
MD5 | 761df55d5afb4fb18d943a319fa90a25 |
|
BLAKE2b-256 | da27b5e092440ec93f936c11be8cc1fac0bde7efde944bbc26aaf71837741e78 |
File details
Details for the file tiktoken-0.6.0-cp312-cp312-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp312-cp312-macosx_10_9_x86_64.whl
- Upload date:
- Size: 974.7 kB
- Tags: CPython 3.12, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17cc8a4a3245ab7d935c83a2db6bb71619099d7284b884f4b2aea4c74f2f83e3 |
|
MD5 | d711873c74682841442f6788f842e20f |
|
BLAKE2b-256 | 55578028b05cd47db34ea8d9f6ff7720018c523b507df702789b56e36f4c3cf6 |
File details
Details for the file tiktoken-0.6.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 798.7 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac76e000183e3b749634968a45c7169b351e99936ef46f0d2353cd0d46c3118d |
|
MD5 | 245303866af18497dfa37639dbff94fc |
|
BLAKE2b-256 | 69ca0a71c1cdbf36da977bd306d295042087187954c32bfa259fa7afede0608b |
File details
Details for the file tiktoken-0.6.0-cp311-cp311-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp311-cp311-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.11, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bd1a288b7903aadc054b0e16ea78e3171f70b670e7372432298c686ebf9dd47 |
|
MD5 | e3d358e8c8493a63e5fd4d65a201f1f4 |
|
BLAKE2b-256 | 16ceb1f3df64358256d205cd05270cfff530d453a5c57d228c8303d3ed43f9b9 |
File details
Details for the file tiktoken-0.6.0-cp311-cp311-musllinux_1_1_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp311-cp311-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 293cb8669757301a3019a12d6770bd55bec38a4d3ee9978ddbe599d68976aca7 |
|
MD5 | 362ca9a37206babcea0044e30fd96acf |
|
BLAKE2b-256 | 14fa59833bbfb7d5bde7331c50ade573cefd152ee535a53f734e26665d1a12ad |
File details
Details for the file tiktoken-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 430bc4e650a2d23a789dc2cdca3b9e5e7eb3cd3935168d97d43518cbb1f9a911 |
|
MD5 | c005111dde490acc4f8756e7befaad9c |
|
BLAKE2b-256 | 63ec3856d242f580d0d755c3be9024dd11b17b3363dd0c7c3000e3bdecb40d84 |
File details
Details for the file tiktoken-0.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8d49d076058f23254f2aff9af603863c5c5f9ab095bc896bceed04f8f0b013a |
|
MD5 | 7f8bab629ac873ec4ec90708cde31134 |
|
BLAKE2b-256 | 39d16a47c1b18719efede9b06132759f1d09eb4f3e2f94a7311f4bf77968977f |
File details
Details for the file tiktoken-0.6.0-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 949.8 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 702950d33d8cabc039845674107d2e6dcabbbb0990ef350f640661368df481bb |
|
MD5 | cfacbe2a9bb68e45cab4aa8be2acc58e |
|
BLAKE2b-256 | 9e1183ca4e19bb6fc15971e543725ae1269a8a1c133e55b5952801ab9c0bcc9e |
File details
Details for the file tiktoken-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 999.8 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cefb9870fb55dca9e450e54dbf61f904aab9180ff6fe568b61f4db9564e78871 |
|
MD5 | 063bb69af8a673dd9e9ec588b552e88f |
|
BLAKE2b-256 | 2aadd1c81988ca81bbf5faa79656b86fa9a9d08cd7f8c74b73775d29579a6da0 |
File details
Details for the file tiktoken-0.6.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 798.7 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b344c61779f815038292a19a0c6eb7098b63c8f865ff205abb9ea1b656030e |
|
MD5 | ea0f8c161f9d39514f26bf99709e4a21 |
|
BLAKE2b-256 | 37263169fefd688c2172012557effd8258920e5faf0a6b1abd0852f2afa53173 |
File details
Details for the file tiktoken-0.6.0-cp310-cp310-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e095131ab6092d0769a2fda85aa260c7c383072daec599ba9d8b149d2a3f4d8b |
|
MD5 | de7a9a93c1cff6ee93915fdf469f037c |
|
BLAKE2b-256 | a1407ea9ec056b64059dde93b22e90634547be67f46d42810de9d55cddce0a1a |
File details
Details for the file tiktoken-0.6.0-cp310-cp310-musllinux_1_1_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp310-cp310-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ef917fad0bccda07bfbad835525bbed5f3ab97a8a3e66526e48cdc3e7beacf7 |
|
MD5 | 04432cc9714a025179df7da3c49c2e60 |
|
BLAKE2b-256 | c6f17879347cde77160b9a68895e8047e13bb28252328c9a8e4749e77aec26c6 |
File details
Details for the file tiktoken-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c62c05b3109fefca26fedb2820452a050074ad8e5ad9803f4652977778177d9f |
|
MD5 | 0b3d76cc4d28d3bbcfd7a147f4adf8c5 |
|
BLAKE2b-256 | 16055efbd91252ffb1301ea393d88ef736b33d41e75d4bcf0bd31d660050e400 |
File details
Details for the file tiktoken-0.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afb9a2a866ae6eef1995ab656744287a5ac95acc7e0491c33fad54d053288ad3 |
|
MD5 | 582f20df3befe057f4eb6767bb7988db |
|
BLAKE2b-256 | 078b8bde188df891941c83b7b6e6c3279f3bf10cb565bd9a69fa710207cf8d4c |
File details
Details for the file tiktoken-0.6.0-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 950.0 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c44433f658064463650d61387623735641dcc4b6c999ca30bc0f8ba3fccaf5c |
|
MD5 | 3fdcd1a593026f58af91566a2e2f3d3f |
|
BLAKE2b-256 | 0b8fc97a31d3b5f7096bb6b7ef44760596e4026e87c2065a2b43caea2dfaf82e |
File details
Details for the file tiktoken-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 999.9 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 277de84ccd8fa12730a6b4067456e5cf72fef6300bea61d506c09e45658d41ac |
|
MD5 | c052203f2c9f951ceddc1a882ccff49e |
|
BLAKE2b-256 | ab0471b56ad8f0938abb373ca20ff9641813b62441f3b5d21977704d0708e2e3 |
File details
Details for the file tiktoken-0.6.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 798.7 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bfe8a19c8b5c40d121ee7938cd9c6a278e5b97dc035fd61714b4f0399d2f7a1 |
|
MD5 | 99d6409db8b8584a37c0cabb04e2ef21 |
|
BLAKE2b-256 | 76d996d7207447c7ec7b8ecb50bf0497c736e058a5415990c1ca3ab71b40c0d3 |
File details
Details for the file tiktoken-0.6.0-cp39-cp39-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp39-cp39-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.9, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 432aa3be8436177b0db5a2b3e7cc28fd6c693f783b2f8722539ba16a867d0c6a |
|
MD5 | fa0e12a454b7e97bb590d2403de1c9e0 |
|
BLAKE2b-256 | aafb8c12b63794d8d64102058a5ebb2b0890f205f2fc75ccbe7e0ae0e3666ae2 |
File details
Details for the file tiktoken-0.6.0-cp39-cp39-musllinux_1_1_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp39-cp39-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.9, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07f229a5eb250b6403a61200199cecf0aac4aa23c3ecc1c11c1ca002cbb8f159 |
|
MD5 | 32926c4e33d3db6f27cc30fac371162a |
|
BLAKE2b-256 | 139b3492a99c68926176d37b0c558ef92a4de934dc64d2f845e48f418b75fba3 |
File details
Details for the file tiktoken-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2048e1086b48e3c8c6e2ceeac866561374cd57a84622fa49a6b245ffecb7744 |
|
MD5 | 31f12e14435e6165a81e3e4c0d0c8d98 |
|
BLAKE2b-256 | eabeb935a91305aafdf6d475b63e1bcfba42257c750039338fe34068d29b28f0 |
File details
Details for the file tiktoken-0.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ccb7a111ee76af5d876a729a347f8747d5ad548e1487eeea90eaf58894b3138 |
|
MD5 | e06450097b6e31fee3751a063ee51029 |
|
BLAKE2b-256 | 73d80faa0c3888317da719d8ff79f9df27050cf748114dae913fa0e5b52e9bfc |
File details
Details for the file tiktoken-0.6.0-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 923.4 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb7d2ccbf1a7784810aff6b80b4012fb42c6fc37eaa68cb3b553801a5cc2d1fc |
|
MD5 | fb1df156d138bd94e4b6bf02bb737d4a |
|
BLAKE2b-256 | 0766379658211d56cea968bf7c5972209de3ce15243799a23189c4368aac6256 |
File details
Details for the file tiktoken-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 976.7 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47fdcfe11bd55376785a6aea8ad1db967db7f66ea81aed5c43fad497521819a4 |
|
MD5 | 651ebaeee735389634be97024a90e737 |
|
BLAKE2b-256 | f6d04147cb2fe8bf50dabdb4e90d38c53eebf696eec1f32506d5fa73c91236c5 |
File details
Details for the file tiktoken-0.6.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 798.0 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 168d718f07a39b013032741867e789971346df8e89983fe3c0ef3fbd5a0b1cb9 |
|
MD5 | dbc0a4dab5ecc7901a40defe3fb4fbbb |
|
BLAKE2b-256 | 22ef9aee13c039ecabce8a46e2e690a49207443cf68030136f9a6f1c66069fe7 |
File details
Details for the file tiktoken-0.6.0-cp38-cp38-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp38-cp38-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.8, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c4e4857d99f6fb4670e928250835b21b68c59250520a1941618b5b4194e20c3 |
|
MD5 | ba0945588c83739ac37461d9c8429642 |
|
BLAKE2b-256 | 42709034a1c01c4e4f43b79d2283e40c462d152244a4140e2ef9c55dada47cb5 |
File details
Details for the file tiktoken-0.6.0-cp38-cp38-musllinux_1_1_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp38-cp38-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.8, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f1495450a54e564d236769d25bfefbf77727e232d7a8a378f97acddee08c1ae |
|
MD5 | 2e85b28f3e870808b807b9ca5fb5c874 |
|
BLAKE2b-256 | 056aed409b21efd81e732696b46b53c851c8d9c4d763c839855779a65a1c23df |
File details
Details for the file tiktoken-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65e8bd6f3f279d80f1e1fbd5f588f036b9a5fa27690b7f0cc07021f1dfa0839 |
|
MD5 | 4b905dff458e2ea6a3102054bbbfda13 |
|
BLAKE2b-256 | 625d0adc459426364216cb25eeace411b18f820f11feb945a76a59eed2c67abd |
File details
Details for the file tiktoken-0.6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9f497598b9f58c99cbc0eb764b4a92272c14d5203fc713dd650b896a03a50ad |
|
MD5 | bb715a2aa99b6f31cb647a727cae4f52 |
|
BLAKE2b-256 | 4d0f15e06d68458dfa361745c8039cb4353b2d6b881a68d68696c512d10b83a2 |
File details
Details for the file tiktoken-0.6.0-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 922.9 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b380c5b7751272015400b26144a2bab4066ebb8daae9c3cd2a92c3b508fe5a |
|
MD5 | 9e937a703923ea35454d3e84ceae476c |
|
BLAKE2b-256 | 86bdb37a2fa290a334b280c8e3dc388970b90a70782496fc6a8a64719739d0d7 |
File details
Details for the file tiktoken-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: tiktoken-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 975.1 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c1492ab90c21ca4d11cef3a236ee31a3e279bb21b3fc5b0e2210588c4209e68 |
|
MD5 | eac4c9f9d0d5c93ced1d63a1ab49cbf8 |
|
BLAKE2b-256 | 5af125d6ff4c8be45e44c78b8d81ddb3ca841c4dcc9574afe6c95884064ff354 |