A data science team wants to prepare text for the first step of training a large language model. The training text contains the words "unbelievable" and "unlikely". It also contains the sentence "I heard a dog bark loudly at a cat.", which uses the word "a" twice. The text also contains punctuation marks such as periods and commas.
Which two statements describe how the team's training text is processed into tokens? Each correct answer presents part of the solution.
The first step in training an LLM is to split the training text into distinct tokens and give each one a unique integer ID. Tokens can be words, sub-words such as "un", punctuation, and other common character sequences. A token that has already been assigned an ID, such as "a", keeps that ID when it appears again.