Quiz Space

Deep Learning Practice · Quiz 1 · 27 Oct 2024 · September 2024 term

Question 11: Here is a configuration of the GPTNeo model from the Hug…

Question 11

+3 marksNumerical answer

Here is a configuration of the GPTNeo model from the Hugging Face hub.

text
"bos_token_id": 50256,
"classifier_dropout": 0.1,
"embed_dropout": 0.0,
"eos_token_id": 50256,
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": null,
"layer_norm_epsilon": 1e-05,
"max_position_embeddings": 2048,
"model_type": "gpt_neo",
"num_heads": 16,
"num_layers": 24,
"resid_dropout": 0.0,
"transformers_version": "4.44.2",
"use_cache": true,
"vocab_size": 50257,
"window_size": 256

Figure 1: GPTNeoConfig

Based on the above data, answer the given subquestions.

Enter the number of parameters in the embedding layer of the model in millions. For example, if the answer is 1234567. Then enter it as 1.23

Show answer

Correct answer: 102.5 (accepted within ±0.5)

Question 11 of 15 in the IIT Madras BS Deep Learning Practice (Deep Learning Practice) Quiz 1 paper sat on 27 Oct 2024, in the September 2024 term (IIT M DEGREE AN EXAM QDB2 27 Oct 2024). It carries 3 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Choose the Hugging Face module that helps us train a tokenizer from scratch on a specific dataset.
  3. Q3A dataset contains 10 billion words ( separated by a single white space). Suppose we use a pre- trained tokenizer that …
  4. Q4Which of the following tokenization algorithms can be applied to languages that do not have any word delimiters?
  5. Q5Consider the Wikipedia dataset scraped from the web that contains 2 billion words. A team decided to use the BPE tokeni…
  6. Q6Suppose that we pre-train a Causal Language Model. Choose the data collator function from the Hugging Face library that…
  7. Q7The IMDB dataset has 25000 samples in the training split. It contains two columns, named, text and label. Consider the …
  8. Q8Consider two datasets namely "ds1" and "ds2" . The structure of the dataset with the number of samples in each split is…
  9. Q9Figure question
  10. Q10Figure question
  11. Q12Here is a configuration of the GPTNeo model from the Hugging Face hub. Figure 1: GPTNeoConfig Based on the above data, …
  12. Q13Here is a set of training arguments used by the GPT-2 model that was pre-trained on a dataset that contains 10 billion …
  13. Q14Here is a set of training arguments used by the GPT-2 model that was pre-trained on a dataset that contains 10 billion …
  14. Q15Figure question