1. Home
  2. Explore
  3. Computer Science
  4. Common AI Terminology

Study methods

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

Common AI Terminology

  • 76Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Core Representations

Which description best defines a large language model (LLM) in the content?

76 questions

  1. 1

    Which description best defines a large language model (LLM) in the content?

    1. A

      A database trained to retrieve the longest document for an input query

    2. B

      A neural network trained to predict the next token in an input sequence

    3. C

      A classifier trained to assign one category to an entire input sequence

    4. D

      A rules engine trained to translate every input word into a fixed label

    Correct answer
    B

    A neural network trained to predict the next token in an input sequence

    Explanation

    An LLM is described as a neural network trained to predict the next term, or token, given an input sequence.

  2. 2

    If an LLM receives “all that glitters,” what kind of task does the example illustrate?

    1. A

      Predicting a likely continuation such as “is not gold”

    2. B

      Retrieving a document that contains the word “glitters”

    3. C

      Classifying the sentence as a question or a command

    4. D

      Translating each word into a different language

    Correct answer
    A

    Predicting a likely continuation such as “is not gold”

    Explanation

    The example shows an LLM continuing an input sequence by predicting what comes next.

  3. 3

    What does tokenization do to input text before an LLM processes it?

    1. A

      Removes all words that have more than one meaning

    2. B

      Replaces every word with its dictionary definition

    3. C

      Breaks the text into discrete units called tokens

    4. D

      Groups the text into complete paragraphs called vectors

    Correct answer
    C

    Breaks the text into discrete units called tokens

    Explanation

    Tokenization is the process of breaking input text into discrete tokens for the model to process.

  4. 4

    Why might tokenization use units smaller or different from words separated by spaces?

    1. A

      Smaller units guarantee that every token has only one possible meaning

    2. B

      Space-separated words cannot be represented as numbers by a neural network

    3. C

      Space-separated words prevent a model from predicting the next token

    4. D

      Smaller units can capture meaningful language patterns, such as shared suffixes

    Correct answer
    D

    Smaller units can capture meaningful language patterns, such as shared suffixes

    Explanation

    The content emphasizes that language patterns such as suffixes can carry meaning, so tokenization is not necessarily just splitting at spaces.

  5. 5

    What can recognizing a suffix such as “-ing” help an LLM infer?

    1. A

      That the input should be divided only at punctuation marks

    2. B

      That the preceding word may describe an ongoing action

    3. C

      That the preceding word is always the sentence’s subject

    4. D

      That the sentence must be about a company rather than an object

    Correct answer
    B

    That the preceding word may describe an ongoing action

    Explanation

    The example describes “-ing” as a suffix that can signal that an action, such as eating or dancing, is being performed.

  6. 6

    In the content’s distinction between tokens and vectors, what do vectors represent?

    1. A

      The labels assigned to tokens by a human reviewer

    2. B

      The number of characters in each token

    3. C

      The meaning of tokens as coordinates in a learned space

    4. D

      The order in which tokens were typed by the user

    Correct answer
    C

    The meaning of tokens as coordinates in a learned space

    Explanation

    Tokens identify units to process, while vectors represent the meaning of those units as coordinates in a multidimensional space.

  7. 7

    How are words with similar meanings arranged in the vector space described?

    1. A

      They are placed close together, while opposing meanings are farther apart

    2. B

      They are placed far apart, while opposing meanings are next to each other

    3. C

      They are arranged alphabetically, with meaning having no effect

    4. D

      They are placed in the same location regardless of their meanings

    Correct answer
    A

    They are placed close together, while opposing meanings are farther apart

    Explanation

    Vectorization maps words into a space where similar meanings are nearby and opposite meanings are farther away.

  8. 8

    What is the intended result of vectorization?

    1. A

      A representation in which semantic relationships correspond to distances

    2. B

      A representation that preserves spelling but discards meaning

    3. C

      A representation that converts every sentence into a human-written label

    4. D

      A representation in which every word has an identical coordinate

    Correct answer
    A

    A representation in which semantic relationships correspond to distances

    Explanation

    Vectorization represents words in a space where their locations and distances reflect semantic relationships.

  9. 9

    Why does the word “apple” require context to interpret its meaning?

    1. A

      The spelling changes depending on whether it describes revenue

    2. B

      The word has no meaning unless it appears at the end of a sentence

    3. C

      The same spelling can refer to a fruit, a company, or a person of affection

    4. D

      The word always refers to a fruit unless it is capitalized

    Correct answer
    C

    The same spelling can refer to a fruit, a company, or a person of affection

    Explanation

    The content uses “tasty apple,” “Apple revenue,” and “the apple of my eye” to show that the same word can have different meanings.

  10. 10

    In “a tasty apple,” what context helps resolve the meaning of “apple”?

    1. A

      The nearby word “tasty” suggests that the apple is food

    2. B

      The sentence’s length identifies “apple” as a person

    3. C

      The capitalization of “apple” identifies it as a company

    4. D

      The word “apple” must be interpreted without nearby words

    Correct answer
    A

    The nearby word “tasty” suggests that the apple is food

    Explanation

    The nearby word “tasty” provides evidence that “apple” refers to the edible fruit.

  11. 11

    In the phrase “Apple revenue,” what does the nearby word “revenue” help indicate?

    1. A

      That “Apple” is being used as a verb

    2. B

      That “Apple” refers to a young person

    3. C

      That “Apple” refers to an edible fruit

    4. D

      That “Apple” refers to the company

    Correct answer
    D

    That “Apple” refers to the company

    Explanation

    The content explains that “revenue” points toward the company meaning of “Apple.”

  12. 12

    What is the role of attention when a token has multiple possible meanings?

    1. A

      It selects a meaning by checking the token’s spelling alone

    2. B

      It uses nearby contextual information to help resolve the token’s meaning

    3. C

      It replaces contextual words with unrelated words from the vocabulary

    4. D

      It removes the ambiguous token before the model generates a response

    Correct answer
    B

    It uses nearby contextual information to help resolve the token’s meaning

    Explanation

    Attention lets a model use nearby words as context to interpret an ambiguous token.

  13. 13

    How does attention change the representation of “apple” in the example involving revenue?

    1. A

      It shifts the representation toward the company-related meaning

    2. B

      It removes the representation of “apple” from the sentence

    3. C

      It shifts the representation toward the food-related meaning

    4. D

      It makes the representation independent of the word “revenue”

    Correct answer
    A

    It shifts the representation toward the company-related meaning

    Explanation

    The content describes attention as shifting the vector for “apple” toward the company meaning when considered with “revenue.”

  14. 14

    What distinguishes attention’s contextual operation from simply adding two vectors?

    1. A

      The content uses addition as an analogy, while attention is the actual operation

    2. B

      Attention ignores vector meaning and uses only word spelling

    3. C

      Attention adds vectors directly and never changes their direction

    4. D

      The two operations are described as exactly identical

    Correct answer
    A

    The content uses addition as an analogy, while attention is the actual operation

    Explanation

    The explanation says the effect is not direct addition; attention is an operation that uses context to shift a representation.

  15. 15

    What is few-shot prompting, as described in the content?

    1. A

      Retrieving external documents without including them in the model’s input

    2. B

      Training a new neural network from scratch using a small dataset

    3. C

      Adding examples to a query so the model can use them when responding

    4. D

      Reducing the number of tokens the model can generate

    Correct answer
    C

    Adding examples to a query so the model can use them when responding

    Explanation

    Few-shot prompting augments a query with examples that guide the model’s response during inference.

  16. 16

    When does few-shot prompting add examples to the model’s input?

    1. A

      Only while the base model is initially trained

    2. B

      Only after the model has completed its response

    3. C

      At inference time, when a response is being generated

    4. D

      After the model’s weights have been permanently removed

    Correct answer
    C

    At inference time, when a response is being generated

    Explanation

    The examples are sent along with the query at response time, rather than being used only during initial training.

  17. 17

    What is the central idea of retrieval-augmented generation (RAG)?

    1. A

      Replace the language model with a database that writes complete answers

    2. B

      Retrieve relevant information, add it to the model’s context, and generate a response

    3. C

      Generate a response first and search for supporting information afterward

    4. D

      Train a model to memorize every possible user query in advance

    Correct answer
    B

    Retrieve relevant information, add it to the model’s context, and generate a response

    Explanation

    RAG retrieves relevant context, augments the model’s input with it, and then uses the model to generate a response.

  18. 18

    In a company support system using RAG, what might the server retrieve for a user query?

    1. A

      Only documents that exactly repeat the user’s wording

    2. B

      Relevant company policies or terms and conditions

    3. C

      Only the model’s previously generated responses

    4. D

      A randomly selected document unrelated to the query

    Correct answer
    B

    Relevant company policies or terms and conditions

    Explanation

    The content gives company policies and terms and conditions as examples of documents that could be retrieved to provide context.

  19. 19

    In a RAG response, what different contribution can examples and company documents make?

    1. A

      Examples replace the user query, while documents remove the need for generation

    2. B

      Examples train the model permanently, while documents supply unrelated vocabulary

    3. C

      Examples provide company policy, while documents determine the model’s tokenization

    4. D

      Examples guide response format, while documents provide company-specific context

    Correct answer
    D

    Examples guide response format, while documents provide company-specific context

    Explanation

    The content says examples help establish how to respond, while retrieved documents provide company-specific information.

  20. 20

    Why can a vector database retrieve a policy about low ratings for a query containing “upset”?

    1. A

      The database uses the user’s emotion to rewrite the company policy

    2. B

      Semantic similarity can connect related ideas even when they use different words

    3. C

      The database automatically changes “upset” into the exact phrase “low rating”

    4. D

      The database only retrieves documents that contain the query’s exact words

    Correct answer
    B

    Semantic similarity can connect related ideas even when they use different words

    Explanation

    Vectors can represent semantic meaning, allowing a query about being upset to be close to documents about low ratings or customer drop-off.

  21. 21

    What is a vector database used for in the described system?

    1. A

      Storing documents and efficiently retrieving relevant ones through similarity search

    2. B

      Turning each user query into a human-written response

    3. C

      Training the language model’s neural network weights during every user request

    4. D

      Replacing all company documents with a single semantic coordinate

    Correct answer
    A

    Storing documents and efficiently retrieving relevant ones through similarity search

    Explanation

    A vector database stores documents and supports efficient retrieval of documents that are similar in meaning to an incoming query.

  22. 22

    Why might a system select documents by similarity rather than searching only for the word “upset”?

    1. A

      Similarity search is used to avoid including any context in the prompt

    2. B

      Exact-word search always retrieves every document in the database

    3. C

      Relevant documents may describe the same situation using different terms

    4. D

      A vector database cannot process words that appear in user queries

    Correct answer
    C

    Relevant documents may describe the same situation using different terms

    Explanation

    A policy may discuss low ratings or drop-offs without using the word “upset,” while still being relevant to the user’s situation.

  23. 23

    What is the main contrast between prompt engineering and context engineering in the content?

    1. A

      Prompt engineering uses only documents, while context engineering uses only images

    2. B

      Prompt engineering changes model weights, while context engineering never supplies input

    3. C

      Prompt engineering concerns one prompt, while context engineering can evolve with preferences and history

    4. D

      Prompt engineering is long-term, while context engineering is always stateless

    Correct answer
    C

    Prompt engineering concerns one prompt, while context engineering can evolve with preferences and history

    Explanation

    Prompt engineering is described as stateless and tied to a single prompt, while context engineering can adapt to user preferences and previous conversations.

  24. 24

    How can a sliding-window approach limit conversation history sent to an LLM?

    1. A

      Replace every message with its first word

    2. B

      Send only the earliest chat and delete all later messages

    3. C

      Send every chat in full and discard the current user query

    4. D

      Send recent chats directly and summarize earlier chats

    Correct answer
    D

    Send recent chats directly and summarize earlier chats

    Explanation

    The example sends the last 100 chats directly and summarizes earlier chats into a short summary, limiting the amount of context sent.

  25. 25

    What is the purpose of summarizing earlier chats or documents before sending them to a large model?

    1. A

      Ensure that the model never receives information from earlier interactions

    2. B

      Change the user’s preferences into permanent model weights

    3. C

      Preserve useful context while limiting the amount of material sent

    4. D

      Increase the number of separate documents the model must process

    Correct answer
    C

    Preserve useful context while limiting the amount of material sent

    Explanation

    Context summarization condenses prior conversations or documents so useful information can be included without sending all the original material.

  26. 26

    Which statement best describes self-supervised learning?

    1. A

      A model learns only by receiving rewards from a user after deployment

    2. B

      A database supplies answers without the model making predictions

    3. C

      The structure of the data provides a prediction task without a human labeling every example

    4. D

      A human writes the correct answer for every possible input before training

    Correct answer
    C

    The structure of the data provides a prediction task without a human labeling every example

    Explanation

    Self-supervised learning uses structure in existing data to create prediction tasks, rather than requiring humans to label every example.

  27. 27

    How does predicting a missing section of an input illustrate self-supervised learning?

    1. A

      The task teaches the model to retrieve the hidden section from a database

    2. B

      The model ignores the visible input and guesses randomly

    3. C

      The surrounding structure provides clues about what the hidden section should be

    4. D

      A human must manually write the hidden section into every training example

    Correct answer
    C

    The surrounding structure provides clues about what the hidden section should be

    Explanation

    A missing section can be predicted from patterns in the remaining input, illustrating how the data itself supplies a learning task.

  28. 28

    How does the content contrast supervised learning with self-supervised learning?

    1. A

      Supervised learning uses no examples, while self-supervision requires human answers for every example

    2. B

      Supervised learning predicts tokens, while self-supervision can only classify images

    3. C

      Supervised learning updates weights, while self-supervision never updates weights

    4. D

      Supervised learning uses human-provided target answers, while self-supervision derives tasks from existing data

    Correct answer
    D

    Supervised learning uses human-provided target answers, while self-supervision derives tasks from existing data

    Explanation

    The supervised example has a human specify the desired response, whereas self-supervised learning creates prediction challenges from text that already exists.

  29. 29

    In next-token self-supervised training, how can one text sequence produce multiple prediction tasks?

    1. A

      Remove all context and ask the model to predict the source of the text

    2. B

      Use successive portions of the sequence as inputs and their following tokens as targets

    3. C

      Ask a human to invent a different answer for each word in the sequence

    4. D

      Turn the entire sequence into a single category and predict that category repeatedly

    Correct answer
    B

    Use successive portions of the sequence as inputs and their following tokens as targets

    Explanation

    The content illustrates creating several next-token challenges from one sequence, such as predicting what follows each successive prefix.

  30. 30

    What happens when a model makes an incorrect prediction during training?

    1. A

      Its predictions are accepted without any change to the model

    2. B

      Its loss disappears, and its weights are permanently frozen

    3. C

      Its input sequence is replaced with a human-written answer

    4. D

      Its loss increases, and its neural-network weights can be updated

    Correct answer
    D

    Its loss increases, and its neural-network weights can be updated

    Explanation

    The described training process penalizes incorrect predictions by increasing loss and updating the neural network’s weights.

  31. 31

    Why does self-supervised learning make it possible to use large amounts of existing text?

    1. A

      Training challenges can be created from the text without humans labeling each target

    2. B

      Every document is automatically converted into a human-written question

    3. C

      The model can learn from text without making any predictions

    4. D

      Existing text needs to be rewritten as a list of fixed rules

    Correct answer
    A

    Training challenges can be created from the text without humans labeling each target

    Explanation

    Because prediction targets can be derived from the structure of existing text, the process can scale without human intervention for each example.

  32. 32

    How can image models use a self-supervised task similar to next-token prediction?

    1. A

      Ask a human to label every pixel with a complete sentence

    2. B

      Replace every image with its filename and predict the filename

    3. C

      Mask image patches and train the model to predict the missing patches

    4. D

      Mask the entire image and train the model to predict its file format

    Correct answer
    C

    Mask image patches and train the model to predict the missing patches

    Explanation

    The content describes image models removing patches and trying to predict them, using the image’s structure as a learning signal.

  33. 33

    What kind of structure might self-supervised learning help a model capture in video?

    1. A

      The exact words in the video’s filename

    2. B

      The order in which the video was uploaded

    3. C

      How objects move over time

    4. D

      Which company owns the video file

    Correct answer
    C

    How objects move over time

    Explanation

    The content suggests that predicting parts of video can help a model learn how objects move.

  34. 34

    What is fine-tuning in the described LLM workflow?

    1. A

      Storing documents in a database without changing a model

    2. B

      Reducing the number of bits used to represent model weights

    3. C

      Breaking input text into tokens before the base model is trained

    4. D

      Further training a base model on examples to shape how it responds

    Correct answer
    D

    Further training a base model on examples to shape how it responds

    Explanation

    Fine-tuning follows base-model training and uses questions and answers to adapt the model’s response behavior.

  35. 35

    Why might fine-tuning penalize a response that is plausible but undesirable?

    1. A

      The model must be prevented from answering all user questions

    2. B

      Any grammatically correct response must be removed from the training data

    3. C

      The response should be replaced with a randomly selected prediction

    4. D

      The goal is to encourage the response style or answer expected for the task

    Correct answer
    D

    The goal is to encourage the response style or answer expected for the task

    Explanation

    Fine-tuning can penalize responses that are not necessarily false but do not meet the desired response behavior, such as failing to answer directly.

  36. 36

    How can the same base model become both a medical model and a financial model?

    1. A

      Remove the base model’s weights and store domain labels instead

    2. B

      Use tokenization alone to permanently change the model’s expertise

    3. C

      Use one fixed set of examples and change only the model’s name

    4. D

      Fine-tune separate copies on different domain-specific examples

    Correct answer
    D

    Fine-tune separate copies on different domain-specific examples

    Explanation

    The content explains that the same base model can be fine-tuned on different sets of questions and answers for different domains.

  37. 37

    How does a transformer differ from an LLM in the content’s terminology?

    1. A

      An LLM is a database, while a transformer is a human-written training label

    2. B

      An LLM is an attention layer, while a transformer is always a finished product

    3. C

      An LLM and a transformer are described as exactly the same kind of thing

    4. D

      An LLM is the next-token-predicting model, while a transformer is one method for building it

    Correct answer
    D

    An LLM is the next-token-predicting model, while a transformer is one method for building it

    Explanation

    The content distinguishes the LLM by its next-token prediction role and the transformer as a specific architecture that can perform that role.

  38. 38

    Which sequence best matches the transformer structure described?

    1. A

      Input tokens pass through a database and a human reviewer, producing labels

    2. B

      Input tokens pass through a tokenizer and are returned unchanged as the answer

    3. C

      Input tokens pass through an image encoder and are stored as documents

    4. D

      Input tokens pass through attention and a feedforward neural network, producing outputs

    Correct answer
    D

    Input tokens pass through attention and a feedforward neural network, producing outputs

    Explanation

    The described transformer passes input tokens through an attention block and then a feedforward neural network to produce output vectors.

  39. 39

    What may later attention layers learn beyond resolving a word’s immediate ambiguity?

    1. A

      The exact identity of the person who typed each token

    2. B

      A fixed spelling rule that removes all contextual meaning

    3. C

      More complex relationships, such as sarcasm or implications

    4. D

      The file format of every document in the training set

    Correct answer
    C

    More complex relationships, such as sarcasm or implications

    Explanation

    The content says later attention layers may identify more complex relationships, including sarcasm and implications.

  40. 40

    Why are attention and feedforward components repeated in stacked transformer layers?

    1. A

      The model can repeatedly process representations to build richer relationships before predicting

    2. B

      Each layer permanently deletes the meaning learned by the previous layer

    3. C

      Stacking guarantees that every token has only one possible meaning

    4. D

      Each layer converts the model into a separate document database

    Correct answer
    A

    The model can repeatedly process representations to build richer relationships before predicting

    Explanation

    Transformer layers are stacked so the model can process input meaning repeatedly and develop more complex representations for prediction.

  41. 41

    What does the car-and-engine analogy convey about an LLM and a transformer?

    1. A

      The LLM is the broader product, while the transformer is one possible underlying architecture

    2. B

      The transformer is the user-facing product, while the LLM is only its database

    3. C

      An LLM and a transformer are unrelated and cannot be used together

    4. D

      Every LLM must use a transformer just as every car must use the same engine

    Correct answer
    A

    The LLM is the broader product, while the transformer is one possible underlying architecture

    Explanation

    The analogy presents the LLM as the product and the transformer as an underlying engine-like method, while allowing that other architectures may be used.

  42. 42

    What possibility does the content raise about future LLM architectures?

    1. A

      A vector database must replace all neural-network architectures

    2. B

      An LLM will no longer need to process input tokens

    3. C

      Fine-tuning will prevent any future change to model architecture

    4. D

      A different architecture could replace transformers for generating text

    Correct answer
    D

    A different architecture could replace transformers for generating text

    Explanation

    The content notes that another architecture could replace the transformer in an LLM.

  43. 43

    What is model context protocol (MCP) described as providing?

    1. A

      A training approach that replaces all human feedback

    2. B

      A method for converting every token into a company policy

    3. C

      A vectorization algorithm for representing only English words

    4. D

      A protocol for connecting a model with external tools or data sources

    Correct answer
    D

    A protocol for connecting a model with external tools or data sources

    Explanation

    MCP is described as a way to communicate context from external servers or tools to a model.

  44. 44

    In the MCP example, what role does an MCP server for an airline play?

    1. A

      It replaces the user’s query with a fixed flight recommendation

    2. B

      It trains the language model on every airline’s private data

    3. C

      It acts as a connection to the airline’s data and capabilities

    4. D

      It stores the model’s neural-network weights

    Correct answer
    C

    It acts as a connection to the airline’s data and capabilities

    Explanation

    The content compares an airline’s MCP server to a wrapper for that airline’s database, allowing the model to access relevant details.

  45. 45

    How can an MCP-enabled system use flight information to book a flight?

    1. A

      Ask the model to invent flight details and save them as a company document

    2. B

      Retrieve flight details, provide them to the model, and make a booking call through the relevant server

    3. C

      Use a vector database to book a flight without contacting an airline

    4. D

      Send the query to an airline server only after the user books independently

    Correct answer
    B

    Retrieve flight details, provide them to the model, and make a booking call through the relevant server

    Explanation

    The example retrieves flight details from external servers, lets the model choose a flight, and then makes a booking API call through the airline’s MCP server.

  46. 46

    What makes an agent different from a system that only generates one response to a query?

    1. A

      An agent is a one-time prompt that cannot continue after generating text

    2. B

      An agent is a longer-running process that can use models and external systems to meet a goal

    3. C

      An agent is a database that stores user queries without acting on them

    4. D

      An agent can only tokenize text and cannot use external systems

    Correct answer
    B

    An agent is a longer-running process that can use models and external systems to meet a goal

    Explanation

    An agent is described as a long-running process with capabilities to query models, external systems, and other agents to meet user requirements.

  47. 47

    Which action best illustrates the travel-agent example?

    1. A

      Listing flight prices without using preferences or taking further action

    2. B

      Training a model to predict the next token in a flight description

    3. C

      Monitoring for a suitable opportunity and booking according to the user’s preferences

    4. D

      Summarizing past travel emails without helping manage a trip

    Correct answer
    C

    Monitoring for a suitable opportunity and booking according to the user’s preferences

    Explanation

    The travel agent example includes finding an opportunity, such as cheaper flights, and making a booking according to the user’s preferences.

  48. 48

    What is reinforcement learning with human feedback intended to reinforce?

    1. A

      Predictions made without any comparison or feedback

    2. B

      Every output equally, regardless of its quality

    3. C

      Outputs that people prefer over less desirable alternatives

    4. D

      Only outputs that reproduce the user’s query word for word

    Correct answer
    C

    Outputs that people prefer over less desirable alternatives

    Explanation

    Human feedback indicates which responses are better, reinforcing outputs intended to improve the user experience.

  49. 49

    In the response-comparison example, what happens to the better and worse responses?

    1. A

      Neither response receives feedback until the model is retrained from scratch

    2. B

      Both responses receive the same score and are treated identically

    3. C

      The better response receives a positive score and the worse response a negative score

    4. D

      The worse response receives a positive score to increase variety

    Correct answer
    C

    The better response receives a positive score and the worse response a negative score

    Explanation

    The example assigns a positive reward to the chosen response and a negative reward to the alternative.

  50. 50

    How does the content describe applying feedback to a generated response?

    1. A

      Feedback can assign scores along the path of tokens that produced the response

    2. B

      Feedback deletes every token before the final response is displayed

    3. C

      Feedback changes the user’s query into a vector database

    4. D

      Feedback is applied only to the first token and never to later choices

    Correct answer
    A

    Feedback can assign scores along the path of tokens that produced the response

    Explanation

    The content explains that a response can be viewed as a path through token choices and that scores can be associated with that path.

  51. 51

    What does reinforcement learning try to encourage in the model’s response process?

    1. A

      Paths that always produce the longest possible response

    2. B

      Paths associated with more beneficial outcomes

    3. C

      Paths that avoid using any context from the input

    4. D

      Paths that reproduce every previous prediction unchanged

    Correct answer
    B

    Paths associated with more beneficial outcomes

    Explanation

    The example describes reinforcing positive paths and discouraging negative ones so the model is more likely to choose beneficial outputs.

  52. 52

    How does the Pavlov example relate to reinforcement?

    1. A

      A model learns language by dividing sentences into tokens

    2. B

      Repeated pairing of a bell with food conditions a response to the bell

    3. C

      A reward is given randomly, regardless of the dog’s behavior

    4. D

      A dog learns a fair coin’s probability by observing many coin flips

    Correct answer
    B

    Repeated pairing of a bell with food conditions a response to the bell

    Explanation

    The example describes the dog associating the bell with food and responding to the bell even when food is not given.

  53. 53

    What limitation of reinforcement learning is illustrated by repeated heads from a fair coin?

    1. A

      A model can infer a coin’s physical properties from its spelling

    2. B

      A fair coin always produces heads after several heads in a row

    3. C

      Outcome-based feedback alone may not represent the coin’s underlying fairness

    4. D

      Human feedback makes it impossible to estimate coin outcomes

    Correct answer
    C

    Outcome-based feedback alone may not represent the coin’s underlying fairness

    Explanation

    The content argues that outcome-based reinforcement could reward repeated heads even though a fair coin still has an equal chance of heads or tails.

  54. 54

    What advantage does a human’s mental model of a fair coin provide in the example?

    1. A

      It supports the judgment that either result remains possible despite a streak

    2. B

      It allows the person to predict the next flip with certainty

    3. C

      It makes observing the coin’s actual outcomes unnecessary

    4. D

      It guarantees that tails must follow a sequence of heads

    Correct answer
    A

    It supports the judgment that either result remains possible despite a streak

    Explanation

    A person who understands that the coin is fair recognizes that a streak does not guarantee the next result; either outcome remains possible.

  55. 55

    What is chain of thought in the content?

    1. A

      A procedure for compressing neural-network weights into fewer bits

    2. B

      A method that forces every problem to use exactly one reasoning step

    3. C

      A list of unrelated answers retrieved from a document database

    4. D

      A step-by-step sequence of deductions or inferences leading to a response

    Correct answer
    D

    A step-by-step sequence of deductions or inferences leading to a response

    Explanation

    Chain of thought is described as a model working through a series of deductions or inferences before giving its final response.

  56. 56

    Why might chain-of-thought training help with new problems?

    1. A

      The model replaces its training data with user preferences

    2. B

      The model may learn to apply stepwise reasoning to problems with different parameters

    3. C

      The model avoids making intermediate deductions on unfamiliar tasks

    4. D

      The model memorizes one exact answer for every possible parameter setting

    Correct answer
    B

    The model may learn to apply stepwise reasoning to problems with different parameters

    Explanation

    The content suggests that practicing step-by-step reasoning can help a model work through new problems, including those with different parameters.

  57. 57

    How does chain of thought differ from few-shot prompting in the comparison provided?

    1. A

      Chain of thought retrieves external tools, while few-shot prompting generates images

    2. B

      Chain of thought supplies company documents, while few-shot prompting changes model weights

    3. C

      Chain of thought is always stateless, while few-shot prompting is a reasoning algorithm

    4. D

      Chain of thought emphasizes a step-by-step breakdown, while few-shot prompting supplies examples

    Correct answer
    D

    Chain of thought emphasizes a step-by-step breakdown, while few-shot prompting supplies examples

    Explanation

    Both can improve responses, but chain of thought focuses on stepwise reasoning, whereas few-shot prompting provides examples.

  58. 58

    What may a reasoning model do when a problem becomes harder?

    1. A

      Use fewer steps because difficult problems require less analysis

    2. B

      Use more reasoning steps than it uses for an easier problem

    3. C

      Stop generating intermediate reasoning and return a random answer

    4. D

      Switch automatically from text generation to document retrieval

    Correct answer
    B

    Use more reasoning steps than it uses for an easier problem

    Explanation

    The content notes that some reasoning models use more steps for harder problems and fewer steps for easier ones.

  59. 59

    Which statement best captures the meaning of “reasoning model” in the content?

    1. A

      A model able to work out how to solve a problem step by step

    2. B

      A model that always follows one fixed reasoning algorithm

    3. C

      A database that returns documents based on exact keyword matches

    4. D

      A model that can only predict the next word without using context

    Correct answer
    A

    A model able to work out how to solve a problem step by step

    Explanation

    A reasoning model is described broadly as one that can determine how to solve a problem step by step; it need not use only chain of thought.

  60. 60

    Which set of capabilities best characterizes multimodal models?

    1. A

      They can work only with text that has been split into sentences

    2. B

      They can use images only as filenames for document searches

    3. C

      They can work with modes such as text, images, or video

    4. D

      They can store company policies but cannot analyze media

    Correct answer
    C

    They can work with modes such as text, images, or video

    Explanation

    Multimodal refers to models that can accept or create different kinds of input data, including text, images, and video.

  61. 61

    Which task is an example of image capability described in the content?

    1. A

      Counting apples in an image or modifying the image

    2. B

      Retrieving a policy document using exact keyword matching

    3. C

      Booking a flight without receiving any external data

    4. D

      Predicting a company’s revenue from its name alone

    Correct answer
    A

    Counting apples in an image or modifying the image

    Explanation

    The content gives counting apples in an image and modifying an image as examples of image-model tasks.

  62. 62

    What video-related capability is identified as a possible application of multimodal models?

    1. A

      Predicting a video’s popularity from its filename alone

    2. B

      Analyzing or generating video content

    3. C

      Storing video frames as user preferences

    4. D

      Replacing every video with a company’s policy document

    Correct answer
    B

    Analyzing or generating video content

    Explanation

    The content discusses models that can accept and create videos and notes potential applications such as generating video content.

  63. 63

    Why might training on both words such as “cat” and images of cats improve performance?

    1. A

      The model can avoid learning what either the words or images mean

    2. B

      The model can use the image filename as the only training signal

    3. C

      The images remove the need for the model to process language

    4. D

      The model can connect textual concepts with visual examples

    Correct answer
    D

    The model can connect textual concepts with visual examples

    Explanation

    The content suggests that training on related text and images can give a model a deeper understanding of the objects being described.

  64. 64

    What general performance benefit does the content associate with multimodal training?

    1. A

      It eliminates the need for training data

    2. B

      It guarantees perfect output for every image and video

    3. C

      It may produce better performance than training on text alone

    4. D

      It makes the model’s outputs independent of input meaning

    Correct answer
    C

    It may produce better performance than training on text alone

    Explanation

    The content states that multimodal models can perform better than models trained only on text, while not claiming that their performance is perfect.

  65. 65

    Why might a company choose a smaller, company-specific language model?

    1. A

      To avoid training the model on any company-specific information

    2. B

      To ensure the model can answer every question in every domain

    3. C

      To gain more control over outputs and keep data closer to the company

    4. D

      To increase the number of parameters beyond that of a large model

    Correct answer
    C

    To gain more control over outputs and keep data closer to the company

    Explanation

    The content says companies may want control over generated content and may not want to expose their data to third parties.

  66. 66

    How do the parameter ranges given for small and large language models compare?

    1. A

      The example SLM range is 3–300 billion, while the LLM range is 3–300 million

    2. B

      The example SLM range is 3–300 million, while the LLM range is 3–300 billion

    3. C

      Both examples give the same range of 3–300 million

    4. D

      Both examples give the same range of 3–300 billion

    Correct answer
    B

    The example SLM range is 3–300 million, while the LLM range is 3–300 billion

    Explanation

    The content gives approximately 3–300 million parameters for an SLM and 3–300 billion for an LLM.

  67. 67

    Why might a task-specific small model perform well for customer support but poorly at detailed weather analysis?

    1. A

      It has more parameters devoted to weather than to customer support

    2. B

      Customer support queries contain no information that can be learned

    3. C

      It may be trained on a limited dataset focused on customer queries

    4. D

      Small models cannot process any language outside their training examples

    Correct answer
    C

    It may be trained on a limited dataset focused on customer queries

    Explanation

    A small model trained on customer queries may become useful for that task without acquiring expertise in unrelated areas such as detailed weather analysis.

  68. 68

    What is model distillation in the described teacher–student setup?

    1. A

      A larger model copies the smaller model’s company policies

    2. B

      A smaller model learns to imitate the outputs of a larger model

    3. C

      A vector database converts its documents into neural-network weights

    4. D

      A model removes all examples before generating an answer

    Correct answer
    B

    A smaller model learns to imitate the outputs of a larger model

    Explanation

    Distillation uses a large model as a teacher and trains a smaller student model to mimic its outputs.

  69. 69

    What happens during distillation when the student model’s output does not match the teacher’s output?

    1. A

      The student’s weights can be adjusted to improve its prediction

    2. B

      The student is automatically expanded to the teacher’s size

    3. C

      The teacher’s output is discarded and the student is frozen

    4. D

      The input is replaced with a human-written document

    Correct answer
    A

    The student’s weights can be adjusted to improve its prediction

    Explanation

    The content explains that a mismatch can lead to updates to the smaller model’s internal weights.

  70. 70

    What is the intended benefit of distilling a large model into a smaller one?

    1. A

      Reduce runtime cost and make the model faster and easier to host

    2. B

      Ensure that the student can perform every task the teacher can

    3. C

      Eliminate the need to evaluate the student’s outputs

    4. D

      Increase the student’s parameter count beyond the teacher’s

    Correct answer
    A

    Reduce runtime cost and make the model faster and easier to host

    Explanation

    The content describes distilled models as faster to run and easier to host, with lower costs, while aiming for reasonably good performance.

  71. 71

    What does quantization do to neural-network weights?

    1. A

      Increases the number of layers in the network

    2. B

      Converts every weight into a company document

    3. C

      Replaces all weights with attention scores

    4. D

      Represents the weights using fewer bits

    Correct answer
    D

    Represents the weights using fewer bits

    Explanation

    Quantization condenses the numerical representation of neural-network weights, such as representing them with fewer bits.

  72. 72

    In the example of reducing weights from 32 bits to 8 bits, what memory saving is expected for those weights?

    1. A

      Approximately 100 percent

    2. B

      Approximately 75 percent

    3. C

      Approximately 25 percent

    4. D

      Approximately 50 percent

    Correct answer
    B

    Approximately 75 percent

    Explanation

    The content says that condensing a 32-bit weight representation to 8 bits is expected to save 75 percent of memory for those weights.

  73. 73

    When is quantization typically applied in the workflow described?

    1. A

      Before any training examples are processed

    2. B

      After each user response has been generated

    3. C

      After the model has been fully trained

    4. D

      Instead of training the model at all

    Correct answer
    C

    After the model has been fully trained

    Explanation

    The content states that quantization is applied once the model is completely trained.

  74. 74

    Which cost is quantization mainly intended to reduce?

    1. A

      The cost of writing the model’s architecture

    2. B

      The cost of collecting every training example

    3. C

      The cost of creating human feedback labels

    4. D

      The cost of running the model during inference

    Correct answer
    D

    The cost of running the model during inference

    Explanation

    Quantization is presented mainly as a way to reduce inference or production costs, not training costs.

  75. 75

    Why does quantization not necessarily reduce training cost in the described approach?

    1. A

      Quantization adds human labels to the training data

    2. B

      The model’s training uses only vector databases

    3. C

      The model is trained without neural-network weights

    4. D

      The model is trained first and quantized afterward

    Correct answer
    D

    The model is trained first and quantized afterward

    Explanation

    Because quantization is applied after training, the cost of initially training the full model is not reduced.

  76. 76

    What limitation does the content mention about applying quantization to the whole model?

    1. A

      The weights are usually associated with the feedforward network, while attention remains

    2. B

      Quantization removes the feedforward network but leaves no model weights

    3. C

      The attention mechanism must be quantized before any training can begin

    4. D

      Quantization can only be applied to user prompts and not model parameters

    Correct answer
    A

    The weights are usually associated with the feedforward network, while attention remains

    Explanation

    The content cautions that the memory reduction does not map directly to the whole model because weights are usually associated with feedforward networks while the attention mechanism remains.

Question 1 of 76
Question 1 of 76

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent