RubyGems Navigation menu

tiktoken_ruby 0.0.7-aarch64-linux

An unofficial Ruby wrapper for Tiktoken, a BPE tokenizer written by and used by OpenAI. It can be used to count the number of tokens in text before sending it to OpenAI APIs.

Gemfile:
=

install:
=

Versions:

  1. 0.0.12 August 26, 2025 x86_64-linux (12.4 MB)
  2. 0.0.12 August 26, 2025 x86_64-linux-musl (12.4 MB)
  3. 0.0.12 August 26, 2025 x86_64-darwin (12 MB)
  4. 0.0.12 August 26, 2025 x64-mingw-ucrt (14 MB)
  5. 0.0.12 August 26, 2025 arm64-darwin (12 MB)
  6. 0.0.7 February 14, 2024 aarch64-linux (11.3 MB)
Show all versions (107 total)

Owners:

Pushed by:

Authors:

  • IAPark

SHA 256 checksum:

=

Total downloads 4,201,784

For this version 5,641

Version Released:

License:

MIT

Required Ruby Version: >= 3.0, < 3.4.dev

Required Rubygems Version: >= 3.1.0

Links: