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:
= Copier Copié!

installation:
=

Versions:

  1. 0.0.6 - August 24, 2023 (13,5 ko)
  2. 0.0.6 - August 24, 2023 x86_64-darwin (6,77 Mo)
  3. 0.0.6 - August 24, 2023 x86_64-linux-musl (9,48 Mo)
  4. 0.0.6 - August 24, 2023 aarch64-linux (9,42 Mo)
  5. 0.0.6 - August 24, 2023 arm-linux (9,39 Mo)
Voir toutes les versions (17)

Dépendances de Runtime (1):

rb_sys ~> 0.9.81

Propriétaires:

Pushed by:

Auteurs:

  • IAPark, judy

Total de contrôle SHA 256:

3cc11ddc93574df5bc41ed5d8c1a3eecb2e16266c40102b118c6beb077340695

Total de téléchargements 4 194

Pour cette version 548

License:

MIT

Version de Ruby requise: >= 2.7.0

Required Rubygems Version: >= 3.1.0

Liens: