4 ms·
LLM works on token sequences and does not recognize any letters. It operates on token indices. The tokenizer establishes a vocabulary from the datasets, placing
by pk-protect-ai 3y ago
LLM works on token sequences and does not recognize any letters. It operates on token indices. The tokenizer establishes a vocabulary from the datasets, placing segments of text into a hash table for all frequently appearing parts of the text, which could be subwords or sentence fragments. LLMs learn the dependencies of token indices from each other. They learn the probabilities of one index following another. No actual words or letters are involved.
Most training data originate from English datasets. Some datasets contain aligned sequences of Dutch and English. The LLM learns the relationship between indices of Dutch and English phrases. The quality of translation depends on the size of the aligned dataset and the extent of the topics covered in this dataset. Therefore, most of the knowledge is derived from English data, with Dutch merely being another representation of the same data learned during training.
- teekert 3y agoThank you. That makes sense indeed. So it learns multiple layers of connections, first knowledge in English, then English to Dutch. And it know when and how them to apply them. That’s pretty cool.