InBuilding a Small Language Model from ScratchbySwayammhaskar·Nov 22SLMs-01 Tokenization: Byte Pair Encoding (BPE)A step-by-step guide to understanding the intuition behind the BPE algorithm and implementing a tokenizer from scratch using Python.
Ankith Reddy Subhanpuram·Nov 2From Raw Text to the Unit Hypersphere: Building and Visualizing a Modern Text Embedding Model from…A complete guide to engineering a dense text embedding pipeline in PyTorch — covering BPE tokenization, Unsupervised SimCSE, InfoNCE…
Pralhad Teggi·Oct 16Tokenization in LLMs: How “I Love Machine Learning” Becomes NumbersBy Dr. Pralhad P. Teggi
Sujal Charati·Oct 16Building a BPE Tokenizer from Scratch in JavaScriptHow GPT-style models turn text into numbers in about 120 lines of code.
Arun Jagota·Oct 15Learnable Tokenization for LLMs for Code GenerationWe treat text as a sequence of words. If we could tokenize code this way as well, that is as a sequence of tokens — lets call them words —…
Akshat A. Mistry·Sep 24Byte-Pair Encoding (BPE) TokenizersAn end-to-end practical guide to how modern LLM tokenizers work
Vasu Sharma·Jul 26Optimizing BPE Tokenizer: Part 1From Naive Byte Pair Encoding Tokenizer to somewhat optimized !
InArtificial Intelligence in Plain EnglishbyHadis·Jul 24Byte Pair Encoding (BPE) TokenizationLearn how GPT models tokenize text before trainingA response icon1A response icon1
Jyotsna Choudhary·Jul 12How LLM Tokens are created: Byte Pair Encodings ExplainedLLM Token usage is now turning into a common yardstick at workplaces to measure operational costs, team efficiency, or simply to measure…
Siriprolu·Jun 17Input Vectors to an LLM: The Math and Logic Behind Converting Text into NumbersLarge Language Models (LLMs) cannot directly understand text. Before any learning or prediction can happen, words and sentences must be…