Question 3
Three teams, namely A, B, and C, decided to use a GPT model with two decoder layers with the following configuration
- length of context window ()
- number of heads
- The weights of the embedding layer and the output layer are shared (tied)
They train the model on the pre-training dataset containing one million words after applying normalization and pre-tokenization( using white space as a delimiter). Moreover, the dataset has no duplicate sentences and no upper-case letters or words. Suppose the team prefers to use the BPE tokenizer to build the vocabulary and subsequently use that to train the model. The base vocabulary contains lowercase alphabets (a to z), digits (0 to 9) and special tokens [unk],[go] and [end].
- Team uses base vocabulary
- Team takes the vocabulary from team and does 500 merges
- Team takes the vocabulary from the team and does additional 500 merges
Based on the above data answer the given subquestions.
Assume that the word “acrophobia” is not present in the vocabulary, then which of the following tokenizer(s) is(are) guaranteed to tokenize this word into sub-words units (i.e., it does not return [unk] token)
The tokenizer used by the team A
the tokenizer used by the team B
the tokenizer used by the team C
None of the given options