Question 1
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.
What is the size of the vocabulary built by the Team C?