RubyGems Navigation menu

rz_tiktoken_ruby 0.0.6

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:
=

インストール:
=

バージョン履歴:

  1. 0.0.6 August 24, 2023 (13.5KB)
  2. 0.0.6 August 24, 2023 x86_64-darwin (6.77MB)
  3. 0.0.6 August 24, 2023 x86_64-linux-musl (9.48MB)
  4. 0.0.6 August 24, 2023 aarch64-linux (9.42MB)
  5. 0.0.6 August 24, 2023 arm-linux (9.39MB)
全てのバージョンを表示(全17件)

Runtime依存関係 (1):

rb_sys ~> 0.9.81

所有者:

プッシュ者:

作者:

  • IAPark, judy

SHA 256チェックサム:

=

累計ダウンロード数 4,987

このバージョンのみ 770

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 2.7.0

必要なRubyGemsのバージョン: >= 3.1.0

リンク: