Quiz Space

Large Language Models · Quiz 2 · 24 Mar 2024 · January 2024 term

Question 1: Three teams, namely A, B, and C, decided to use a GPT mod…

Question 1

+3 marksNumerical answer

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 (TT) =1024= 1024
  • number of heads nh=8n_h = 8
  • dmodel=512dmodel = 512
  • dff=4∗dmodeldff = 4 * dmodel
  • dq=dk=dv=dmodelnhdq = dk = dv = \frac{dmodel}{n_h}
  • 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 AA uses base vocabulary
  • Team BB takes the vocabulary from team AA and does 500 merges
  • Team CC takes the vocabulary from the team BB 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?

Show answer

Correct answer: 1039

Question 1 of 14 in the IIT Madras BS Large Language Models (LLM) Quiz 2 paper sat on 24 Mar 2024, in the January 2024 term (IIT M DEGREE AN EXAM QDB2 24 Mar 2024). It carries 3 marks.

More questions from this paper

  1. Q2Three teams, namely A, B, and C, decided to use a GPT model with two decoder layers with the following configuration le…
  2. Q3Three teams, namely A, B, and C, decided to use a GPT model with two decoder layers with the following configuration le…
  3. Q4Three teams, namely A, B, and C, decided to use a GPT model with two decoder layers with the following configuration le…
  4. Q5Suppose we have two decoder-only models, namely Model A and Model B. Assume we have two datasets, one for unsupervised …
  5. Q6The strikeout words in the passage given below denote the words to be dropped from the original sentence. “At the heart…
  6. Q7Which of the following models uses a form of denoising objective for pre-training?
  7. Q8Which of the following statements is (are) correct under this setup?
  8. Q9Which of the following modifications will improve the performance of both models?
  9. Q10Consider a summarization task. Assume the prefix is “Summarize the following:” and the input sentence is “There are a l…
  10. Q11Suppose we are given a Model A with N layers and the dataset with D tokens. Choose the correct statements according to …
  11. Q12Which of the following components in the data pre-processing pipeline removes pages that contain bad words?
  12. Q13Suppose a team wants to build a dataset for a low-resource language. They took all Wikipedia dumps for that language an…
  13. Q14The statement that the presence of significant duplicate contents in the pre-training dataset degrades the performance …