Loading tutorials
Counter, list comprehensions). It also assumes you know a token is the unit a language model reads, and that you can count and compare frequencies. It covers what a vocabulary is, how a fixed vocabulary breaks on new text, and why that 6 min readstr and bytes types and have a rough idea of what UTF-8 is. Here we change one thing about BPE, the starting alphabet, and see why that removes the out-of-vo6 min readCounter, and with the idea that a vocabulary is built from an initial alphabet plus learned merges. Basic Python is enough for the code.5 min read## prefixes, and what a pre-tokeniser does. You should be comfortable reading short Python programs. By the end you should be able to explain what SentencePiece changes, train a model, and5 min read## prefix, and that SentencePiece can train either a BPE or a unigram model. Basic6 min read