Basics · text2text-generation · WASM
The whole idea of ByT5 in one screen: whatever you type is UTF-8 encoded to bytes, each byte is a
token, and the model reads those bytes to fill in a [BLANK]. Change the text — in any
language — and watch the byte count and the fill both react. Nothing leaves your device.
Pick a starter (each has a [BLANK] to fill):
Your text as bytes (char → token ids):