RubyGems Navigation menu

rz_tiktoken_ruby 0.0.6-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. This is a fork of tiktoken_ruby by IAPark, which has been cross-compiled for multiple platforms. This way compilation with Rust extensions doesn't need to happen wherever you are deploying it.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.6 - August 24, 2023 (13.5 KB)
  2. 0.0.6 - August 24, 2023 x86_64-darwin (6.77 MB)
  3. 0.0.6 - August 24, 2023 x86_64-linux-musl (9.48 MB)
  4. 0.0.6 - August 24, 2023 aarch64-linux (9.42 MB)
  5. 0.0.6 - August 24, 2023 arm-linux (9.39 MB)
Show all versions (17 total)

Owners:

Pushed by:

Authors:

  • IAPark, judy

SHA 256 checksum:

35685e7dc1cc2f3471e3716ecefb1c74e3f5ed4596dd8a920f52e2add0f3afb5

Total downloads 4,194

For this version 291

License:

MIT

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

Required Rubygems Version: >= 3.1.0

Links: