Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Describe how generative AI models work

A worked example

Multiple answers

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.

Choose 2 answers.
Why

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.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free