Question 4
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 team A and team B pre-trained the model for 1 million steps. Suppose they want to fine-tune the model for sentiment classification tasks (where the dataset contains sentences, digits and emojis). Choose the correct statement
Team A can use the tokenizer from Team B and fine-tune the model and vice versa
We can not interchange both teams’ tokenizers while fine-tuning.