rasbt/LLMs-from-scratch๐ฅ active
โฒ +441 โ this week
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
The unglamorous first step of every text pipeline: tokenizers, stemmers, lemmatizers, spell checkers and text cleaning utilities.
ranked by GitHub stars ยท updated Nov 12, 2026
โฒ +441 โ this week
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
โฒ +43 โ this week
Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML
โฒ +31 โ this week
Private, provider-neutral context compression for LLMs. Reversibly compress schemas and logs inside your perimeter with zero third-party calls.
โฒ +21 โ this week
๐ซ Industrial-strength Natural Language Processing (NLP) in Python
โฒ +18 โ this week
๐ Token-Oriented Object Notation (TOON) โ compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, benchmarks.
โฒ +9 โ this week
Full-stack open-source AI engine for building language models โ tokenizer training, transformer architecture, cognitive reasoning and chat pipeline.
โฒ +441 โ this week
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
โฒ +21 โ this week
๐ซ Industrial-strength Natural Language Processing (NLP) in Python
โฒ +18 โ this week
๐ Token-Oriented Object Notation (TOON) โ compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, benchmarks.
โฒ +43 โ this week
Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML
โฒ +1 โ this week
A small library for converting tokenized PHP source code into XML (and potentially other formats)
โฒ +3 โ this week
State of the Art Natural Language Processing
โฒ +4 โ this week
Language model tokenization at GB/s
A non-validating SQL parser module for Python
Text preprocessing, representation and visualization from zero to hero.
โฒ +1 โ this week
Parser Building Toolkit for JavaScript
The most popular spellchecking library.
โฒ +3 โ this week
Easy token price estimates for 400+ LLMs. TokenOps.
โฒ +2 โ this week
Online playground for OpenAPI tokenizers
โฒ +3 โ this week
Secure Vault for Customer PII/PHI/PCI/KYC Records
โฒ +1 โ this week
LunaSec - Dependency Security Scanner that automatically notifies you about vulnerabilities like Log4Shell or node-ipc in your Pull Requests and Builds. Protect yourself in 30 seconds with the LunaTrace GitHub App: https://github.com/marketplace/lunatrace-by-lunasec/
โฒ +1 โ this week
Persian NLP Toolkit
Solves basic Russian NLP tasks, API for lower level Natasha projects
xmnlp๏ผๆไพไธญๆๅ่ฏ, ่ฏๆงๆ ๆณจ, ๅฝๅไฝ่ฏๅซ๏ผๆ ๆๅๆ๏ผๆๆฌ็บ ้๏ผๆๆฌ่ฝฌๆผ้ณ๏ผๆๆฌๆ่ฆ๏ผๅๆ้จ้ฆ๏ผๅฅๅญ่กจๅพๅๆๆฌ็ธไผผๅบฆ่ฎก็ฎ็ญๅ่ฝ
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.
โฒ +1 โ this week
Ravencoin Core integration/staging tree
Spelling, grammar and style checking on LaTeX documents
โฒ +2 โ this week
๐งน Python package for text cleaning
ํ๊ตญ์ด ์์ฐ์ด์ฒ๋ฆฌ๋ฅผ ์ํ ํ์ด์ฌ ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋๋ค. ๋จ์ด ์ถ์ถ/ ํ ํฌ๋์ด์ / ํ์ฌํ๋ณ/ ์ ์ฒ๋ฆฌ์ ๊ธฐ๋ฅ์ ์ ๊ณตํฉ๋๋ค.
Self-contained Japanese Morphological Analyzer written in pure Go
1 line for thousands of State of The Art NLP models in hundreds of languages The fastest and most accurate way to solve text problems.
โฒ +2 โ this week
All the slides, accompanying code and exercises all stored in this repo. ๐
โฒ +2 โ this week
Optimised tokenizer/lexer generator! ๐ Uses /y for performance. Moo.
โฒ +1 โ this week
ๆฏๆไธญๆๅๆผ้ณ็ SQLite fts5 ๅ จๆๆ็ดขๆฉๅฑ ๏ฝ A SQLite3 fts5 tokenizer which supports Chinese and PinYin
Herman Kamper
๐ฌ 5 pages, 1 table, 2 figures
Liwei Zhang, ZhiMing Tong
๐ฌ Full text in English followed by the full text in Chinese. 39 pages, 2 figures, 7 tables. Code and task suite: https://huggingface.co/datasets/leiwhere/ld3-byte-eval
Kundan Baliga, Aiden Xie, Aditya Byju
๐ฌ 34 pages, 11 figures. Code and certificates: https://doi.org/10.5281/zenodo.24023730
Jifan Gao, Junjie Hu, John Caskey +6