tokenizer repositories
Trending repositories tagged tokenizer, ranked by trending score. Updated daily.
-
1
snchimata/tokenfold
Private, provider-neutral context compression for LLMs. Reversibly compress schemas and logs inside your perimeter with zero third-party calls.
GitHub · Rust · 409 stars · 31 forks · +277 stars in 24 hours · Trending score 4.07
-
2
rasbt/LLMs-from-scratch
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
GitHub · Jupyter Notebook · 108,855 stars · 16,823 forks · +123 stars in 24 hours · Trending score 4.02
-
3
myylogic/cevahir-ai
Cevahir Zihin: a mind that learns by living, not a Transformer. It keeps knowledge as evidence on ties, attends with a Seven-Place Focus and learns from every conversation. Also: a Turkish BPE tokenizer, a Transformer language-model core and cognitive systems.
GitHub · Python · 314 stars · 13 forks · +2 stars in 24 hours · Trending score 1.46
-
4
libraz/suzume
A lightweight Japanese tokenizer for browsers and native apps — WebAssembly, Node.js, Python, Go, and C++, returning POS tags and lemmas with the dictionaries built in
GitHub · C++ · 24 stars · 4 forks · +1 stars in 24 hours · Trending score 1.07
-
5
untitaker/html5gum
A WHATWG-compliant HTML5 tokenizer and tag soup parser
GitHub · Rust · 175 stars · 18 forks · +3 stars in 24 hours · Trending score 1.07
-
6
zurawiki/tiktoken-rs
Ready-made tokenizer library for working with GPT and tiktoken
GitHub · Rust · 412 stars · 76 forks · +4 stars in 24 hours · Trending score 1.05
-
7
actual-computer/toks
exact tokenizers ids, as fast as the hardware allows
GitHub · C · 118 stars · 10 forks · +3 stars in 24 hours · Trending score 1.00
-
8
chizkidd/Karpathy-Neural-Networks-Zero-to-Hero
Detailed python notes & code for lectures and exercises of Andrej Karpathy's course "Neural Networks: Zero to Hero." The course is focused on building neural networks from scratch.
GitHub · Jupyter Notebook · 294 stars · 61 forks · +2 stars in 24 hours · Trending score 0.91
-
9
uhop/stream-json
A micro-library of stream components for building custom JSON and JSONC processing pipelines with a minimal memory footprint — parse, filter, and transform JSON far larger than available memory with a SAX-inspired token API, on Node.js or Web Streams.
GitHub · JavaScript · 1,209 stars · 60 forks · +2 stars in 24 hours · Trending score 0.89
-
10
MahdiAlikhah/rishe
Persian NLP in Rust: fast tokenization, lemmatization, morphology and embeddings.
GitHub · Rust · 10 stars · 1 forks · +2 stars in 24 hours · Trending score 0.83
-
11
daac-tools/vibrato
🎤 vibrato: Viterbi-based accelerated tokenizer
GitHub · Rust · 430 stars · 27 forks · +2 stars in 24 hours · Trending score 0.81
-
12
ongjin/garu
초경량 한국어 형태소 분석기 — 1MB 모델로 브라우저에서 실행(WASM). Ultra-lightweight Korean morphological analyzer in the browser. npm: garu-ko
GitHub · TypeScript · 183 stars · 9 forks · +2 stars in 24 hours · Trending score 0.80
-
13
georgemandis/tokenizer-mono
A monospace color font that highlights LLM tokens as you type. 28 faces, one per tokenizer (cl100k, o200k, Llama, Gemma, Qwen, DeepSeek, Kimi K2 and more), built from OpenType substitution rules and a color table. No JavaScript.
GitHub · Python · 10 stars · 0 forks · +2 stars in 24 hours · Trending score 0.77
-
14
niesfisch/tokenreplacer
Token Replacer is a simple and small Java Library that helps replacing tokens in strings. You can replace the tokens with static values or create values "on-the-fly" by calling a generator. You can even pass arguments to the generator which makes it pretty powerful.
GitHub · Java · 15 stars · 7 forks · +2 stars in 24 hours · Trending score 0.73
-
15
lindera/lindera
A multilingual morphological analysis library.
GitHub · Rust · 709 stars · 70 forks · +1 stars in 24 hours · Trending score 0.70
-
16
GLOBUS-studio/PhpObfuscator
Token-based PHP source-code obfuscator: renames identifiers, Base64-encodes string literals, strips comments and minifies whitespace - built purely on PhpToken, no regex. Optional eval-wrapping and deterministic seeding. PHP 8.3+.
GitHub · PHP · 35 stars · 5 forks · 0 stars in 24 hours · Trending score 0.58
-
17
lindera/lindera-tantivy
Lindera tokenizer for Tantivy.
GitHub · Rust · 71 stars · 18 forks · +1 stars in 24 hours · Trending score 0.55
-
18
jflex-de/jflex
The fast scanner generator for Java™ with full Unicode support
GitHub · Java · 637 stars · 120 forks · +1 stars in 24 hours · Trending score 0.51
-
19
phpsyntax/phpsyntax
🌳 PhpSyntax: a lossless concrete syntax tree (CST) for PHP. Every token, space and comment is in the tree and printing it gives the file back byte for byte, so a tool changes only what it touches. Comes with a mutation API for refactoring, formatters and code generation.
GitHub · PHP · 13 stars · 0 forks · 0 stars in 24 hours · Trending score 0.49
-
20
onurtirpan/agentic-llm-token-and-performance-tests
The same HTTP API in 10 languages at 3 sizes, 30 implementations. Token cost for LLM agents, plus cold start, latency, throughput, CPU and memory. All measured, all verified over live HTTP.
GitHub · Python · 28 stars · 1 forks · 0 stars in 24 hours · Trending score 0.49
-
21
neptunenakub/thai-token-tax
How much more Thai text costs on each LLM: tokens per 1,000 Thai characters across 45 models, turned into baht per month, with a cost calculator. · วัดค่า token ภาษาไทย 45 โมเดล แปลงเป็นบาทต่อเดือน
GitHub · Python · 8 stars · 0 forks · +1 stars in 24 hours · Trending score 0.47
-
22
DCjanus/cang-jie
Chinese tokenizer for tantivy, based on jieba-rs
GitHub · Rust · 85 stars · 23 forks · +1 stars in 24 hours · Trending score 0.45
-
23
bzick/tokenizer
Tokenizer (lexer) for anything
GitHub · Go · 143 stars · 11 forks · +1 stars in 24 hours · Trending score 0.45
-
24
mattn/tensai
A tiny neural-network framework in pure Go with AVX2 SIMD kernels (GOEXPERIMENT=simd)
GitHub · Go · 120 stars · 6 forks · 0 stars in 24 hours · Trending score 0.44