Перейти к содержимому

How LLMs Turn Text Into Numbers | Tokenization, BPE & Token IDs

NervOps

0:00 / 0:00

How LLMs Turn Text Into Numbers | Tokenization, BPE & Token IDs

10 просмотров · 1 день назад
NervOps
58 подписчиков
10 просмотров · 1 день назад
What actually happens when you type a prompt into ChatGPT? You see words. The model doesn't. Before a single neural network layer processes your prompt, your text goes through a surprisingly complex pipeline: Unicode encoding, pre-tokenization, subword tokenization, BPE merges, token IDs, special tokens, padding, and attention masks. In this video, we open that black box and build the entire process from the ground up. #llm #ai #machinelearning #tokenization #bpe #BytePairEncoding #NLP #transformers #generativeai #chatgpt #deeplearning #artificialintelligence #embeddings