tiktoken 1.0.3 copy "tiktoken: ^1.0.3" to clipboard
tiktoken: ^1.0.3 copied to clipboard

Tiktoken is a BPE tokeniser for use with OpenAI's models. It exposes APIs used for processing text using tokens.

1.0.3 #

  • Refactor: reduce AOT compile size by ~30%

1.0.2 #

  • Add support for GPT-4

1.0.1 #

  • Expose encodingForModel mapping function

1.0.0 #

  • Initial version.
20
likes
160
pub points
88%
popularity

Publisher

verified publishermarinvitlov.com

Tiktoken is a BPE tokeniser for use with OpenAI's models. It exposes APIs used for processing text using tokens.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on tiktoken