gpt-tokenizer
llama-tokenizer-js
gpt-tokenizer | llama-tokenizer-js | |
---|---|---|
1 | 5 | |
383 | 305 | |
- | - | |
3.3 | 7.1 | |
10 days ago | 21 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
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.
gpt-tokenizer
-
I wrote a tokenizer for LLaMA that runs inside the browser
There are more differences between GPT2 tokenizer and LLaMA tokenizer than only the vocab and merge data. It would take me some time to do implement a GPT2 tokenizer, and there are already good alternatives for those, so it wouldn't make sense to put time into making another one. For example, this library contains a GPT2 tokenizer: https://github.com/niieani/gpt-tokenizer
llama-tokenizer-js
-
14-Jun-2023
JS tokenizer for LLaMA based LLMs (https://github.com/belladoreai/llama-tokenizer-js)
- Show HN: LLaMA tokenizer that runs in browser
- I wrote a tokenizer for LLaMA that runs inside the browser
- Understanding GPT Tokenizers
What are some alternatives?
Lobe Chat - LobeChat is a open-source, extensible (Function Calling), high-performance chatbot framework.It supports one-click free deployment of your private ChatGPT/LLM web application.
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)
openai-caching-proxy-worker - caching proxy for OpenAI API, deployable as a Cloudflare Worker
fastbpe - Java library implementing Byte-Pair Encoding Tokenization
bpe-encoder-php - BPE (Byte-Pair Encoding) Encoder Decoder for OpenAI's GPT-2 / GPT-3 Implemented In Pure PHP, Zero Dependency, Multi Byte Supported.
Constrained-Text-Genera
auto-gpt-web - Set Your Goals, AI Achieves Them.
agency - Agency: Robust LLM Agent Management with Go
tokenizer - Pure Go implementation of OpenAI's tiktoken tokenizer
tiktoken - JS port and JS/WASM bindings for openai/tiktoken
gpt4-tokenizer-visualizer - GPT4 Tokenizer Visualizer