Global

tokenization
20 projects tagged “tokenization” that gained the most stars yesterday
#298 · +138 · 1d ·GitHub

Model fingerprint detection with a shared Web and Bun CLI reference bank

Creator
Ikaleio
Size
370.8 MB
Stars
621
Updated
CommitOct 19
Age
1mo
Commits · 90 Days
#448 · +86 · 1d ·GitHub

I implemented a transformer model from scratch using PyTorch, based on the paper Attention is All You Need. You can use my scripts to train your own billion or million parameter LLM using a single GPU.

Size
9.1 MB
Stars
12.3K
Updated
CommitOct 02
Age
1y
Commits · 90 Days
#884 · +37 · 1d ·GitHub

nanochat is the simplest experimental harness for training LLMs. It is designed to run on a single GPU node, the code is minimal/hackable, and it covers all major LLM stages including tokenization, pretraining, finetuning, evaluation, and inference.

Creator
karpathy
Size
2.5 MB
Stars
58.8K
Updated
CommitJul 03
Age
1y
Commits · 90 Days
#2178 · +11 · 1d ·GitHub

tiktoken is a fast BPE tokeniser for use with OpenAI's models.

Creator
openai
Size
0.1 MB
Stars
19.5K
Age
3y
Commits · 90 Days
#2291 · +10 · 1d ·GitHub

🎒 Token-Oriented Object Notation (TOON) – compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, benchmarks.

Size
3 MB
Stars
25.5K
Age
11mo
Commits · 90 Days
#2980 · +6 · 1d ·GitHub

spaCy is a library for advanced Natural Language Processing in Python and Cython. It's built on the very latest research, and was designed from day one to be used in real products.

Creator
explosion
Size
199.7 MB
Stars
34K
Age
12y
Commits · 90 Days
#3582 · +4 · 1d ·GitHub
archived

NOTE: this course does not yet exist. It is current being developed by Eureka Labs. Until it is ready I am archiving this repo !!!

Creator
karpathy
Size
0.3 MB
Stars
37.5K
Updated
CommitAug 01
Age
2y
Commits · 90 Days
#3583 · +4 · 1d ·GitHub

中文分词 词性标注 命名实体识别 依存句法分析 成分句法分析 语义依存分析 语义角色标注 指代消解 风格转换 语义相似度 新词发现 关键词短语提取 自动摘要 文本分类聚类 拼音简繁转换 自然语言处理

Creator
hankcs
Size
71.1 MB
Stars
36.5K
Age
12y
Commits · 90 Days
#3585 · +4 · 1d ·GitHub

"Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best Python Chinese word segmentation module.

Creator
fxsjy
Size
54.7 MB
Stars
35.2K
Age
14y
Commits · 90 Days
#4048 · +3 · 1d ·GitHub

A PyTorch re-implementation of GPT, both training and inference. minGPT tries to be small, clean, interpretable and educational, as most of the currently available GPT model implementations can a bit sprawling. py).

Creator
karpathy
Size
1.5 MB
Stars
25K
Updated
CommitJan 08
Age
6y
Commits · 90 Days
#4833 · +2 · 1d ·GitHub

NLTK -- the Natural Language Toolkit -- is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. 14.

Creator
nltk
Size
355 MB
Stars
14.7K
Age
17y
Commits · 90 Days
#6012 · +1 · 1d ·GitHub

This project provides 100+ Chinese Word Vectors (embeddings) trained with different representations (dense and sparse), context features (word, ngram, character, and more), and corpora.

Creator
Embedding
Size
1.5 MB
Stars
12.2K
Updated
CommitOct 30
Age
8y
Commits · 90 Days
#6157 · +1 · 1d ·GitHub

Minimal, clean code for the (byte-level) Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization. The BPE algorithm is "byte-level" because it runs on UTF-8 encoded strings.

Creator
karpathy
Size
0.3 MB
Stars
10.8K
Updated
CommitApr 22
Age
2y
Commits · 90 Days
#6316 · +1 · 1d ·GitHub

A substantial amount of effort has been put into making sure the outputs match exactly with what you would get with HuggingFace Tokenizers in this setting, but this is at a non-negligible cost to performance.

Creator
marcelroed
Size
2.9 MB
Stars
4.1K
Updated
CommitAug 06
Age
11mo
Commits · 90 Days
#7071 · +0 · 1d ·GitHub

also, im going to load tensors directly from the model file that meta provided for llama3, you need to download the weights before running this file. here is the offical link to download the weights:

Creator
naklecha
Size
16 MB
Stars
15.2K
Updated
CommitMay 21
Age
2y
Commits · 90 Days
#7409 · +0 · 1d ·GitHub

SentencePiece is a fast, lightweight, and unsupervised text tokenizer and detokenizer designed for neural network-based text generation systems (such as Large Language Models) where the vocabulary size is fixed prior to training.

Creator
google
Size
47.2 MB
Stars
12.1K
Age
9y
Commits · 90 Days
#7629 · +0 · 1d ·GitHub

"Natural" is a general natural language facility for nodejs. It offers a broad range of functionalities for natural language processing. Documentation can be found here on GitHub Pages.

Size
64 MB
Stars
10.9K
Age
15y
Commits · 90 Days
#8282 · +0 · 1d ·GitHub

Like the manacá-da-serra, whose flowers change colour at each stage of maturation, Manacá is intelligence that learns, evolves, and blooms, in Brazilian Portuguese.

Size
2.1 MB
Stars
249
Updated
CommitSep 23
Age
1mo
Commits · 90 Days
#8315 · +0 · 1d ·GitHub

A small, fast syntax highlighter and code authoring toolkit. Install the languages you need, generate HTML or tokens, and customise the output with CSS.

Creator
pngwn
Size
6.2 MB
Stars
238
Age
5mo
Commits · 90 Days
#8473 · +0 · 1d ·GitHub

Quixotic AI provides a complete, open stack, for local AI on the JVM. From tokenizers and model formats, to a full inference engine with multi-modal capabilities.

Creator
qxoticai
Size
16.3 MB
Stars
175
Updated
CommitOct 13
Age
7mo
Commits · 90 Days