llama-tokenizer-js VS tiktoken

Compare llama-tokenizer-js vs tiktoken and see what are their differences.

tiktoken

tiktoken is a fast BPE tokeniser for use with OpenAI's models. (by openai)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
llama-tokenizer-js tiktoken
5 32
309 10,380
- 10.0%
7.1 6.7
27 days ago 9 days ago
JavaScript Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

llama-tokenizer-js

Posts with mentions or reviews of llama-tokenizer-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-13.

tiktoken

Posts with mentions or reviews of tiktoken. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-01.

What are some alternatives?

When comparing llama-tokenizer-js and tiktoken you can also consider the following projects:

Constrained-Text-Generation-Studio - Code repo for "Most Language Models can be Poets too: An AI Writing Assistant and Constrained Text Generation Studio" at the (CAI2) workshop, jointly held at (COLING 2022)

tokenizer - Pure Go implementation of OpenAI's tiktoken tokenizer

fastbpe - Java library implementing Byte-Pair Encoding Tokenization

daath-ai-parser - Daath AI Parser is an open-source application that uses OpenAI to parse visible text of HTML elements.

Constrained-Text-Genera

CLIP - CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image

agency - Agency: Robust LLM Agent Management with Go

skypilot - SkyPilot: Run LLMs, AI, and Batch jobs on any cloud. Get maximum savings, highest GPU availability, and managed execution—all with a simple interface.

bricks - Open-source natural language enrichments at your fingertips.

tiktoken - JS port and JS/WASM bindings for openai/tiktoken

terminal-copilot - A smart terminal assistant that helps you find the right command.