Skip to main content

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:

image

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiktoken-0.3.2.tar.gz (24.9 kB view details)

Uploaded Source

Built Distributions

tiktoken-0.3.2-cp311-cp311-win_amd64.whl (579.0 kB view details)

Uploaded CPython 3.11 Windows x86-64

tiktoken-0.3.2-cp311-cp311-musllinux_1_1_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

tiktoken-0.3.2-cp311-cp311-musllinux_1_1_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

tiktoken-0.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

tiktoken-0.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

tiktoken-0.3.2-cp311-cp311-macosx_11_0_arm64.whl (701.9 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

tiktoken-0.3.2-cp311-cp311-macosx_10_9_x86_64.whl (735.2 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

tiktoken-0.3.2-cp310-cp310-win_amd64.whl (579.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

tiktoken-0.3.2-cp310-cp310-musllinux_1_1_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

tiktoken-0.3.2-cp310-cp310-musllinux_1_1_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

tiktoken-0.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

tiktoken-0.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

tiktoken-0.3.2-cp310-cp310-macosx_11_0_arm64.whl (701.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

tiktoken-0.3.2-cp310-cp310-macosx_10_9_x86_64.whl (735.2 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

tiktoken-0.3.2-cp39-cp39-win_amd64.whl (579.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

tiktoken-0.3.2-cp39-cp39-musllinux_1_1_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

tiktoken-0.3.2-cp39-cp39-musllinux_1_1_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

tiktoken-0.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

tiktoken-0.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

tiktoken-0.3.2-cp39-cp39-macosx_11_0_arm64.whl (702.8 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

tiktoken-0.3.2-cp39-cp39-macosx_10_9_x86_64.whl (735.2 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

tiktoken-0.3.2-cp38-cp38-win_amd64.whl (579.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

tiktoken-0.3.2-cp38-cp38-musllinux_1_1_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

tiktoken-0.3.2-cp38-cp38-musllinux_1_1_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

tiktoken-0.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

tiktoken-0.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

tiktoken-0.3.2-cp38-cp38-macosx_11_0_arm64.whl (702.6 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

tiktoken-0.3.2-cp38-cp38-macosx_10_9_x86_64.whl (735.3 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file tiktoken-0.3.2.tar.gz.

File metadata

  • Download URL: tiktoken-0.3.2.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for tiktoken-0.3.2.tar.gz
Algorithm Hash digest
SHA256 a51b5449e883e409cf2f4a846a6a97962d5656a354a5532c330811c833ac3b37
MD5 69bc6d6a4ed65577e20e0f9c7975c923
BLAKE2b-256 91edc6596b42188c03b671ea4d8b6912c1f280ac2991664235039d3a18069d6a

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: tiktoken-0.3.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 579.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for tiktoken-0.3.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2f81ed783bbdf00a0646e02f29cfcfccb21ad355bdbb6ed8e67f89dc6e203255
MD5 879dcfacced8b4671461536b3b58089f
BLAKE2b-256 72fab21ed16e1b5219a5bed64fcc95e884f04407a3a4517cfeca201bbc95c8a8

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 162fddfa2e8166c42e91cb4cfda0712a4e17311258f865e9cc83c63736ce07fe
MD5 7cc1f8fff1af87396d736ad47a85849b
BLAKE2b-256 fe415dad573f393e4fc21b07a9bde8d80a421a7cb8a4a24920ae014bc5f30765

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp311-cp311-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp311-cp311-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 1e00bcd088e5c1edf0f86df24097d23dc05dbdafc8a4f5f572ef9051f6a98627
MD5 cc52e3606407698a811315e14849d0b5
BLAKE2b-256 a07bedd9a93f0ece5f5ee0b90c9e1671fae23cc62be7b27868b78f6ac57a3c81

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f577e0ee8fe9d95a8223ffd88c4cdc2617f4b964a306d3a8303fa151a0b9930b
MD5 200d01fe521a52236317373a2ace21fd
BLAKE2b-256 4257a126c01646910746bf4aab29607c6f5cace681ea8cbc96a4b25fff3e6182

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c283730a986fcfee6141196a52a75883e49e45355e2bf3009e9fc530bee798ce
MD5 83e40922e6c7b6d451896623b96bd2dd
BLAKE2b-256 7a792d1edea0aa53df6db5dff4d886107094f9d32d34cc4a4b64cbe2d84cfa3e

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7fbb048a1d01c8b88bbaba882e6d990ae76e61afc25babc84bb38494bd88f6e3
MD5 c59603716ff0ef8648e17f3799acdbcf
BLAKE2b-256 6d72e612936ce12359f263669e32e2b8a9144f8fdae816f111c1ab2c26a9a71c

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 05942949039fa9347dab08ff6e179912b332ba75539ab17916d52334ff7951f3
MD5 b126fa5413091f2ad403c78a22dc5dc2
BLAKE2b-256 5a36694dd635a1b894c2f27c2b4d3786418ac3d63a924cdb52ba8bc4ac2195f7

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: tiktoken-0.3.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 579.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for tiktoken-0.3.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 40f3f807f5efbeaeb1ef302265954a4f0e8fd00d370ecb5c7560da5a99e98eff
MD5 7dc06c360091383a25e8c90ffdde5f7c
BLAKE2b-256 b7d1699eb95dd1ab097ed3e2706219fd5763c8e723e1f5fa2645efe415fe4874

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b0de454c05f19c9d32258194aaf890bf152007b2da8b4b249a10d140c59158cf
MD5 4d4e3efb2c47a9d8ace458bbfc1501ba
BLAKE2b-256 426d616dddc3d02229bbc2131c032c2a00ff0332156513b95bc96974c37f0e13

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp310-cp310-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp310-cp310-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 39ac56147d61ff31cda9853197b0a99cb9c44d63bd53de8fdaad724707b378fb
MD5 89a0e9fbdb677489d15c0b4e49608720
BLAKE2b-256 4b0793fd336923b9e37b3e8618a12ed86928bdf15b041236a35708e638e59277

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c05147ec16ecc7cddea4298b69a8e4da171639fe057b2d88f52ebdae5a47b001
MD5 a886a87931c92087a9ae997f7579cbe9
BLAKE2b-256 3d942537d8f16a980c6f1d92d71ace6d280c6a82f9be4b74ebb0a0f3e2243dbb

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 093b3d81adc8e7669b66478a2f68ac609f2c96cc598bdeca58e476677b90b71c
MD5 273fdea6978ba3dae3fd13a77e61288a
BLAKE2b-256 d0cc47d0337a4640985fcaf6cf82e90026f9ad864bfa8c75db75117c13f801d8

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6fffa2e0baf80608eb05f961f5a577272e6d5dc630907eca8fed7781d726fbb3
MD5 e7798bdeda22970613fdeae9a3f87973
BLAKE2b-256 2776dcb8e376db50c0b715d4ab8c33f63737474a93068596d0ddf23c8c796590

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 90e6c209421ffc42e309703b5cbcfe3e56fccc3ff31ab4b10e70ff9041268c7b
MD5 80986f5ab83beaba1964a1509fbe3453
BLAKE2b-256 def2803d434ebe7e89388d609025ee6c85607c71392b7a83e5fc73aef79b7d67

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: tiktoken-0.3.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 579.3 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for tiktoken-0.3.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2d113493c1e7b6db24b194c19992da7bdb1574237a02f8289147e9a69907b6c9
MD5 3f73dd1a00a784eace1c86b75d889fc5
BLAKE2b-256 75fc3957ac696ea1d9c4b6ad108ca083a19548f3b120c7ce1f43341b01225c86

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 cff38728823adf05d9600cf494d3ccf87d0087286675d5baed8286481da85696
MD5 1499b60277bafbc543f1834dbcc868aa
BLAKE2b-256 0bbb34cab1cf22c676871f58a684445f5f5061bf2d075a58f9f9515802135065

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp39-cp39-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp39-cp39-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9530978b499af8b77291087782673994a32cf80d4bd408c5d928d91631fcede1
MD5 5f0378f6dd331a556b04ba12f2fbcb4e
BLAKE2b-256 98914e7696e6cfe01efe2591c8a24aa40495c1edbf598bee9c05d7db16bd2859

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d76be63a9c10ddca548383d443846e54fe004df544a390424110bf5ec89a2e8f
MD5 ec170b8ead11ed921065041532928b23
BLAKE2b-256 9ccf9d088e7e653473f2f22a68d125982ba9d6edece84f887c6f4f9c5c90ff11

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 55dbb736cd4fcc8f3a78e8c2c53e5ce02f45c706291e60e8663a982e00ad7198
MD5 9ec0817a5d5421e18d2ba6659d18ef1a
BLAKE2b-256 0c034b35cd9ae3c316580d63d4b29dc89b657c760570acee4886a492cc319871

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ecbb54133c232de82715a2a07ae0874fb5d9ea084e0b8034971b7d4cf9260546
MD5 a8ba00302f489b3c27cc1c3310e6f934
BLAKE2b-256 91132bb653cc7ba7b39faae709e3f7ea588b505fb0dc43e21af1f3e0bd9a0a34

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e56506517aa0d2a57ffd6c1089908776f13404d435e92cc3a21fd031e364eeee
MD5 f690c64f74f09286b721d0c55876fc80
BLAKE2b-256 edc1c2a79c55cccdaad6c2070842a4473833018a7aaa0d315b2a9b321867b279

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: tiktoken-0.3.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 579.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for tiktoken-0.3.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 7654feff0a6b90907016416a91312dc93d19122d9de92d66a7b6ad2308fb6679
MD5 912054b8363da6f2f4cbce7a76bfeb0a
BLAKE2b-256 bb3700ccaaac85ddf637c1b9982246de8eccad8b6ba41f7a6aefe30dd840d045

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8a93400c84852acde066d66acb89a1ef1f3ce55dbf5f7bbcb70464d4e822c35a
MD5 86136609d9f5477d3994e34e0c48fa0f
BLAKE2b-256 cfd853aca4d97bfa8cbfdecf2b3755baa5c2ebce9439e89b08ac075a05d42e83

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp38-cp38-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp38-cp38-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 a7ab927d64451b76084fe5276a0a5ea939eed8f2424b92cca0a1888578200f00
MD5 b232ad948acdd482dcccce2e51df2c01
BLAKE2b-256 a90cceae445bff3621b84cf8a7ba495724bb37445531ca90c16542429fdbeaf8

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63a636f7cfd3eefa9fb3367782a5c9bde1a00b4717931ad31725894ab4b5c74e
MD5 95825a1aba979aa1d39fa6c05c9b50a1
BLAKE2b-256 8a6d3002988aeb6ae156dc74cee0804eb7c2aa526fdbebadb3f726cdec82184b

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d7839e211a438b74e84ae572b609aad4a149cc7a3092988664fd537519c29036
MD5 df9f45fc746124e42e36a69349789b7f
BLAKE2b-256 20145739c8f51f96d4fcf7cc20ba69d339056b3d0082e1a40f3419e1a7a245e2

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f65b7646bbeeee42f6d65928d6ac72ac275525f4b72ecaf8b660eae96fc90a5
MD5 b8ed8cecf25a6853684c59de48ce6b53
BLAKE2b-256 65251b816d3fda693009f7e120be6f586c41e230bb5eed211113d01f99719270

See more details on using hashes here.

File details

Details for the file tiktoken-0.3.2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tiktoken-0.3.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9714e292eab5892094ab4448b904898c6a1098041922fe103e5f3692658d6a46
MD5 a086b93c86086d7a5d0d68830cb3e799
BLAKE2b-256 cc1c86d031a4c2d52752165d9e785bca4ce8f16d2aa501053f2c121583871d11

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page