1. Home
  2. Explore
  3. Computer Science
  4. GPT and Transformer Basics

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

GPT and Transformer Basics

  • 25Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Basic Transformer Concepts
The initials GPT stand for
.

25 questions

  1. 1
    The initials GPT stand for
    _____
    .
    Hint

    The first word refers to creating new content.

    Answer

    Generative Pretrained Transformer

  2. 2
    The core invention underlying the current boom in AI is the
    _____
    architecture.
    Hint

    It's the 'T' in GPT.

    Answer

    transformer

  3. 3
    The original transformer introduced in 2017 by Google was invented for
    _____
    .
    Hint

    It was designed for a common language processing task.

    Answer

    translating text from one language into another

  4. 4
    The variant of transformer that underlies ChatGPT is trained to produce a
    _____
    for what comes next in a passage.
    Hint

    The model outputs something that indicates likelihoods of possible continuations.

    Answer

    prediction

  5. 5
    The input text is broken into pieces called
    _____
    .
    Hint

    They can be words, subwords, or character combinations.

    Answer

    tokens

  6. 6
    In a transformer, the operation that allows vectors to communicate and pass information is the
    _____
    block.
    Hint

    It's a mechanism that helps the model focus on relevant parts of the input.

    Answer

    attention

  7. 7
    The block where vectors are processed in parallel without communicating is the
    _____
    .
    Hint

    It's a layer that applies the same operation to each vector independently.

    Answer

    multi-layer perceptron

  8. 8
    The process in the transformer alternates between attention blocks and
    _____
    blocks.
    Hint

    These are two main types of layers that repeat.

    Answer

    multi-layer perceptron

  9. 9
    At the very end of the network, the last vector is used to produce a probability distribution via the
    _____
    matrix.
    Hint

    It's the reverse of the embedding process.

    Answer

    unembedding

  10. 10
    The function that normalizes a list of numbers into a probability distribution is called
    _____
    .
    Hint

    It ensures all outputs are between 0 and 1 and sum to 1.

    Answer

    softmax

  11. 11
    GPT-3 has approximately
    _____
    parameters.
    Hint

    It's a huge number with 'billion' in it.

    Answer

    175 billion

  12. 12
    The embedding dimension in GPT-3 is
    _____
    .
    Hint

    It's the number of numbers per token vector.

    Answer

    12,288

  13. 13
    The vocabulary size of GPT-3 is
    _____
    .
    Hint

    It's the number of distinct tokens the model knows.

    Answer

    50,257

  14. 14
    The embedding matrix in GPT-3 has about
    _____
    weights.
    Hint

    It's the product of vocabulary size and embedding dimension.

    Answer

    617 million

  15. 15
    The context size of GPT-3 is
    _____
    , meaning it processes that many tokens at a time.
    Hint

    It limits how much text the model can consider when making a prediction.

    Answer

    2048

  16. 16
    In word embeddings, a direction in the vector space can encode
    _____
    meaning.
    Hint

    It refers to the meaning or concept associated with words.

    Answer

    semantic

  17. 17
    The dot product of two vectors measures how well they
    _____
    .
    Hint

    Computationally, it's the sum of component-wise products.

    Answer

    align

  18. 18
    In the classic word analogy example, 'king - man + woman' gives a vector close to
    _____
    .
    Hint

    It's the female equivalent of king.

    Answer

    queen

  19. 19
    In deep learning, the tunable parameters are often called
    _____
    .
    Hint

    They are the 'knobs and dials' that are learned.

    Answer

    weights

  20. 20
    The training algorithm commonly used in deep learning is called
    _____
    .
    Hint

    It computes gradients to update weights.

    Answer

    backpropagation

  21. 21
    The input to a neural network must be formatted as an array of
    _____
    numbers.
    Hint

    They are floating point numbers.

    Answer

    real

  22. 22
    In deep learning, the general term for multi-dimensional arrays is
    _____
    .
    Hint

    It can be a 1D, 2D, or higher-dimensional array.

    Answer

    tensor

  23. 23
    The raw, unnormalized outputs of the final layer before softmax are called
    _____
    .
    Hint

    They are the inputs to the softmax function.

    Answer

    logits

  24. 24
    The parameter that controls how 'uniform' the probability distribution is during generation is called
    _____
    .
    Hint

    It's inspired by thermodynamics.

    Answer

    temperature

  25. 25
    Linear regression finds a
    _____
    of best fit through data.
    Hint

    It's a simple model with slope and intercept.

    Answer

    line

1 of 25
Question 1 of 25

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent