RubyGems Navigation menu

rz_tiktoken_ruby 0.0.6-x86_64-darwin

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.5 KB)
  2. 0.0.6 - August 24, 2023 x86_64-darwin (6.8 MB)
  3. 0.0.6 - August 24, 2023 x86_64-linux-musl (9.5 MB)
  4. 0.0.6 - August 24, 2023 aarch64-linux (9.4 MB)
  5. 0.0.6 - August 24, 2023 arm-linux (9.4 MB)
顯示所有版本(共 17)

擁有者:

推送者:

作者:

  • IAPark, judy

SHA 256 總和檢查碼:

2d5abae3961f4a8d1a3e4f69c375e7bfcb066c7fd34f2f6babbed1b1332f889b

總下載次數 4,284

這個版本 307

授權:

MIT

Ruby 版本需求: >= 3.0, < 3.3.dev

RubyGems 版本需求: >= 3.1.0

相關連結: