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("gpt2")
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("text-davinci-003")

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.1.tar.gz (24.8 kB view details)

Uploaded Source

Built Distributions

tiktoken-0.3.1-cp311-cp311-win_amd64.whl (581.1 kB view details)

Uploaded CPython 3.11 Windows x86-64

tiktoken-0.3.1-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.1-cp311-cp311-musllinux_1_1_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

tiktoken-0.3.1-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.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (701.0 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

tiktoken-0.3.1-cp311-cp311-macosx_10_9_x86_64.whl (735.0 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

tiktoken-0.3.1-cp310-cp310-win_amd64.whl (581.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

tiktoken-0.3.1-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.1-cp310-cp310-musllinux_1_1_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

tiktoken-0.3.1-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.1-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.1-cp310-cp310-macosx_11_0_arm64.whl (701.0 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

tiktoken-0.3.1-cp310-cp310-macosx_10_9_x86_64.whl (735.0 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

tiktoken-0.3.1-cp39-cp39-win_amd64.whl (581.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

tiktoken-0.3.1-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.1-cp39-cp39-musllinux_1_1_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

tiktoken-0.3.1-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.1-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.1-cp39-cp39-macosx_11_0_arm64.whl (701.6 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

tiktoken-0.3.1-cp39-cp39-macosx_10_9_x86_64.whl (735.3 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

tiktoken-0.3.1-cp38-cp38-win_amd64.whl (581.0 kB view details)

Uploaded CPython 3.8 Windows x86-64

tiktoken-0.3.1-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.1-cp38-cp38-musllinux_1_1_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

tiktoken-0.3.1-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.1-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.1-cp38-cp38-macosx_11_0_arm64.whl (701.3 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

tiktoken-0.3.1-cp38-cp38-macosx_10_9_x86_64.whl (734.7 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: tiktoken-0.3.1.tar.gz
  • Upload date:
  • Size: 24.8 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.1.tar.gz
Algorithm Hash digest
SHA256 8295912429374f5f3c6c6bf053a091ce1de8c1792a62e3b30d4ad36f47fa8b52
MD5 f0689db678e937fd4f617226d696c388
BLAKE2b-256 fbd9c38fee002c5979f29c182aee8e28c31538eabf40022e304f97ff82324199

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tiktoken-0.3.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 581.1 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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3257c88c9c85f7059a6186d0850b3339265b4a9ff6e2d8fa4515757252037382
MD5 4b239c3017d9edbbd1a50cec782567d3
BLAKE2b-256 80652264ffeb6573a7b4ffe624b0c45d6c42a7d0509ea5583d03b91b1fc27366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 fe665728520092af0c260ef0f03d0e1472f29927bd8393da57c2299d9580e268
MD5 8bfd3f77437803f94798a1bf2fbb9150
BLAKE2b-256 2664f3bd2a3f351177f7c9574b1030813f19ada46a7b75d465bde9095ef9b0de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp311-cp311-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 9743aed9aae72a8d4e3d899186e87e469ddc2a1670549664e8317b095fd3e024
MD5 53c1a93aacfe35ac85b7ab9c5edd83bc
BLAKE2b-256 bf360fa6480ccb88599036efc769a82f53edf383ea0a9b4e8ef59fb35ac896c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5c1ed9584b30fe64157b72f0537688f3562506fb20d6aa1d6f90264b6f1f5981
MD5 7e5e1e922114453441bec2769ccca429
BLAKE2b-256 7547e9f9fd399c5b0ea2de3b7a473cd093fff4fa16bcc5d278f4b57de0fcbf7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 34055fa17e63eccced1b1859bad34bcb6b892e8d3e2c2a8b9a24b7ff4023018e
MD5 fd1b4eb630b9be72310de30f8d6fd8e8
BLAKE2b-256 3749a46db540a04c6b08a24914ebb7b70570d62e7d7ae519dd0f861e86a06b42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b7f58463026fe9196ab54fe8a34beb7f839f0bdccdb0b7e707959b5d65cbe50
MD5 37076a909e0e7e2eae3aaef725d9b6d2
BLAKE2b-256 59a5c3a9990527aa7b7e60a89308bfe01d917f043037e43b199ca4d520008ce9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3ce64d0f826a424278429383dbba9484a82492a3aa1a805b3b9ff30a018de119
MD5 a2bf645a4ace6843a31edcccd3f75003
BLAKE2b-256 cad0de22fa41c1d654057e6dae917ffcb80448b5cc3247da547d2e158ea28cc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tiktoken-0.3.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 581.1 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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f15441c393b362ccfa6bece920ec9ca826d216ba3c4166ce065518b4dedff452
MD5 2790c6384a71dbf724038aa208957922
BLAKE2b-256 24a4f9ac1e8528219d86f771fa216d322f34d0972d6371753d203fa643d1e295

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 44bd6878bc3605a907c6be8e46e2b999806cd97edd2dbb96643a6d338df0bac0
MD5 4cdce128f3507540ef8f32c8a600bec6
BLAKE2b-256 6cc5c8df1d58a5b4f035bf523a500bb3024f19348a69106c8286e90706bc5c21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp310-cp310-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c6d3140a92bfb8fc0e003cad1e608363bcddc0a781d3d580535570276e0f911a
MD5 3b812a0250a3269d7e765b93fe52f24c
BLAKE2b-256 9803ea51b5dabfb205995577f5dc43cc7319128c04a0875cc669230e9509d5e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c0eb4fe2e583def3f9090a645fe21e52068f0fbccb05070abf2f376f399ce6d
MD5 2ea30ae0cc174cf86d70ad700c092903
BLAKE2b-256 625c9cc9ec3b0fcc761f6523483344657630bc2f49d8f265b748ecabc4c351e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7b3409670824ff7e7cf8b54a2320634fdd8f3d9d9f3ea46ae58c68de82f9c093
MD5 e54d6b7456feb54a14b9c192764d8daf
BLAKE2b-256 a487d224a05390a2e04288e1183c2ddcada3eb77e2e738235d14f0b125e8f9ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e4448b7e09781a85ca767c995078011c96554b50c6260a2325c07d500577f748
MD5 aaa4d651399c78b9ac21867f144fe1c2
BLAKE2b-256 db0a062542ce55059cf4ff51cf34cc136938ef85d51ef385350e5f67a8eb4d1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 064048f506e747b636e2d70b66658743de32645d53287290734eb2b6ec43e6b5
MD5 6a9f4b1d7003f77a68c8a9bfac66f45a
BLAKE2b-256 c96bb3a54bd5f8b377d1932cfb1b42399ca6f8f439152976a072c784c8c1b742

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tiktoken-0.3.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 581.4 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.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 aa43c67f8caf9626473f7dbe1656b52859b17a541ea2e0749a1a355f14af5216
MD5 19a4184f373575f941fd0c9874fea254
BLAKE2b-256 37ff7a0855b570ef15736304ba2005124224c72289697778db2f6d61ef006197

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d8e034e8905eb188326df645523ca582bdaa616442d37562051a52f3a3a79382
MD5 0bc7ba79a194a165ed96d07e4bdc86bb
BLAKE2b-256 19d3fa238f1e726b9b91b73b504a773b321ca8e48516362f6f6cc1be70d17ce7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp39-cp39-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 7e213c1a95766c751de74322c19776fcf4161cde76013c899b3c918be966a13c
MD5 1a7ed1fab29713b44ca47ce8639f0839
BLAKE2b-256 f54cd4d791b25d352ffe16839ef7a85f08d3a8abed61401022133d7177cec79e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3bb375d4d6fa058320889ff894aac9bcd0bfbd9a2c61bf4a5a7407116ba1f862
MD5 37914f0380371a972e3f482b77d71f68
BLAKE2b-256 69253a2ecd8b78e807aba0fb9f9f31379d324d083645496f481640d5b0c34f91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bb28347e3a3544d5cdf1fb29f8b1b075eb06ca8aeab32f5684cf63ab6ace7ab8
MD5 aa4342c0d9f343f295bef035fe6ffb9c
BLAKE2b-256 076a58871c8ada1f92069425b39b8ac3a21561e40a928f9355e44b1a5757918a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c643192f46d3f47e44758b0ea096918f95c0bc8676e1f62fa20b2a2ccd4d5a93
MD5 69b4afc135452c210fcc3d9b5ac7f219
BLAKE2b-256 979a995d1b2f6f9c27d5f4fb8e6e8435215d35b62d98c3b2a9c65e312425ddd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a77180b4dbee3ffac8e7e6ba4dd97414bc4e5233c5d063098c5a91b699f03f2e
MD5 9be9338748dfb98e691647a6f028ae39
BLAKE2b-256 03e217a24f8dc880c8130b247d746c402f50d4a66d46ad5e2c5cb77ed0b94826

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tiktoken-0.3.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 581.0 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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f1442d512fd4e33ca14547fbd4764f540f978bbb075e13294e1c82a69ac73012
MD5 67fb0392a1e2cb4950e5f291787e0286
BLAKE2b-256 594e111cef75f3e88d64172c0e72dcdcee275af4d83b8200cea6ae5e5b4a8b7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 22a78094ea77a7054c0fb2c6e54dd714e4860a2ef69d724bdde186f6fe6a0d6b
MD5 ed374f4aaa29e96e2b1b586af842aec8
BLAKE2b-256 e8297411bfbbb1ecad0038babac9ec33cee56099c6e66172441253513b346e27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp38-cp38-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 8f128eff76bcf2ff7d2eeb7bf326d1ff8476fce3f123f14faa275fa730bc707a
MD5 f86ca9518f912e706be3b5591c5bee77
BLAKE2b-256 88d1ff883d778d79eaf3320654cf87645e39fd0cc28da0b060db6d23b1655b48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14fff699c21def38ba6e5a96f60991813fbe370b7074b503f4746c20b04e3906
MD5 140a84eff17c5d8093aaa2e6921b48b6
BLAKE2b-256 50d46a25681f8ab72f0cb033ea0b66b5da5dc4725f6f65cbaf8e8b741b3f17ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7dcfec6d3ac4eea3f85e54194ceccb8ee16c909fecefe94e2185cf3efaecae30
MD5 3a17baeb88ffabe1cb053d18f7b8fb77
BLAKE2b-256 d3d3e7f52798cb22aa9bf0a59f56059a7c338208939977ee7c31a7f63cc6afc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a730a2177929ba32b56e63cfd613a983447cb9399936e596a3397adb06f186b8
MD5 f87c0bbb7ff638785f10df52130ef935
BLAKE2b-256 bf474daa5b58575c9800b08ed9d5c2bd19ae42f3848f072d7c7be29a51bacbff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tiktoken-0.3.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f35121008e535a1cc212336a8865c7696641dbef7a995b45c3b8cd6ad52d12cf
MD5 d9e94e71be4f8e13e19cee332a16b6d0
BLAKE2b-256 7eae3a037435f004e48ea0a2a90bb1513c3b719ea74a6d5ffee707bd8151b270

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