How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.
SentencePiece is a text segmentation engine and tokenization library designed for machine learning workflows. It provides a comprehensive toolkit for transforming raw text into subword units or numerical identifiers, enabling consistent data representation for neural network training and inference. The library supports the training of segmentation models from raw text, allowing for the creation of custom vocabularies tailored to specific domain requirements. The project distinguishes itself through its byte-level encoding and fallback mechanisms, which ensure that every input can be represent
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
This project is a training pipeline and framework for developing Chinese language models based on the Llama 2 architecture. It functions as a distributed GPU trainer and dataset preprocessing toolkit designed for both the initial pre-training of baseline models and subsequent supervised fine-tuning. The system distinguishes itself through a specialized workflow for Chinese text, incorporating a data curation pipeline that uses similarity hashing for deduplication and a tokenization process that converts raw text into memory-mapped binary files for efficient disk access. It implements a superv
This is a structured deep learning curriculum for programmers, delivered as a collection of Jupyter notebooks. It teaches the fundamentals of training neural networks for computer vision, natural language processing, tabular data analysis, and collaborative filtering using PyTorch and the fastai library. The course is designed to be hands-on, guiding learners from building a training loop from scratch to fine-tuning pretrained models for a variety of practical tasks. The curriculum distinguishes itself by covering the full lifecycle of a deep learning project, from data preparation and augmen
Gigatoken is a high-throughput tokenizer for language models. It converts raw text into token IDs at gigabytes per second using a parallel Rust core that is exposed to Python as a native extension. It also ships a command-line program that tokenizes, validates, and benchmarks text and Parquet datasets from the shell without any Python code.
The main features of marcelroed/gigatoken are: Parallel Tokenizers, Drop-In Tokenizer Replacements, Hugging Face Tokenizer Compatibility, Byte-Level Vocabulary Trainers, Text Tokenizers, Tiktoken Encoding Compatibility, Python Native Extensions, LLM Tokenizer Formats.
Projects with overlapping indexed features include: google/sentencepiece — SentencePiece is a text segmentation engine and tokenization library designed for machine learning workflows. It… karpathy/minbpe — Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization. dllxw/baby-llama2-chinese — This project is a training pipeline and framework for developing Chinese language models based on the Llama 2… fastai/course22 — This is a structured deep learning curriculum for programmers, delivered as a collection of Jupyter notebooks. It… huggingface/tokenizers — This project is a high-performance library for converting raw text into tokens and IDs for machine learning models. It… hankcs/hanlp — HanLP is a natural language processing library and deep learning framework specifically optimized for the Chinese…