Introduction to intelligent agents and their types
Easy
A.A system that perceives and acts
B.A network that only transfers files
C.A database that stores records
D.A compiler that translates code
Correct Answer: A system that perceives and acts
Explanation:
An intelligent agent perceives its environment and takes actions to achieve goals.
Incorrect! Try again.
2Which type of agent acts only on the current percept using condition-action rules?
Introduction to intelligent agents and their types
Easy
A.Model-based agent
B.Simple reflex agent
C.Goal-based agent
D.Learning agent
Correct Answer: Simple reflex agent
Explanation:
A simple reflex agent selects actions from the current percept without maintaining an internal model.
Incorrect! Try again.
3Which agent type improves its behavior through experience?
Introduction to intelligent agents and their types
Easy
A.Utility-based agent
B.Learning agent
C.Goal-based agent
D.Simple reflex agent
Correct Answer: Learning agent
Explanation:
A learning agent uses experience and feedback to improve its future actions.
Incorrect! Try again.
4What distinguishes Agentic AI from a basic text-generation system?
Emergence of Agentic AI
Easy
A.It only stores training data
B.It only predicts user age
C.It autonomously pursues goals
D.It manually labels every token
Correct Answer: It autonomously pursues goals
Explanation:
Agentic AI can plan and perform actions toward goals with some degree of autonomy.
Incorrect! Try again.
5Which capability is commonly associated with Agentic AI?
Emergence of Agentic AI
Easy
A.Planning a sequence of actions
B.Displaying only static web pages
C.Compressing files without input
D.Replacing all computer hardware
Correct Answer: Planning a sequence of actions
Explanation:
Agentic AI often plans multiple actions and executes them to complete a task.
Incorrect! Try again.
6Which architecture forms the foundation of most modern large language models?
Transformer architecture basics
Easy
A.Linear regression
B.Transformer
C.Decision tree
D.K-means clustering
Correct Answer: Transformer
Explanation:
Most modern LLMs are built using the Transformer architecture.
Incorrect! Try again.
7What information do positional encodings provide to a Transformer?
Transformer architecture basics
Easy
A.The price of tokens
B.The color of tokens
C.The order of tokens
D.The owner of tokens
Correct Answer: The order of tokens
Explanation:
Positional encodings help the model represent where each token occurs in a sequence.
Incorrect! Try again.
8Which Transformer component converts token representations into contextual representations?
Transformer architecture basics
Easy
A.Network routers
B.Transformer layers
C.Storage sectors
D.Display drivers
Correct Answer: Transformer layers
Explanation:
Transformer layers process token representations to capture context and relationships.
Incorrect! Try again.
9What does the attention mechanism help a language model do?
Attention mechanism
Easy
A.Focus on relevant tokens
B.Delete every repeated token
C.Measure the monitor size
D.Encrypt the training dataset
Correct Answer: Focus on relevant tokens
Explanation:
Attention assigns different importance to tokens based on their relevance to the current context.
Incorrect! Try again.
10What does self-attention compare within a sequence?
Attention mechanism
Easy
A.Each model with its license
B.Each file with its folder
C.Each token with other tokens
D.Each server with its keyboard
Correct Answer: Each token with other tokens
Explanation:
Self-attention relates each token to other tokens in the same sequence.
Incorrect! Try again.
11Why are multiple attention heads used in a Transformer?
Attention mechanism
Easy
A.To replace the training objective
B.To remove all token positions
C.To capture different relationships
D.To reduce every sentence equally
Correct Answer: To capture different relationships
Explanation:
Multiple heads allow the model to attend to different patterns and relationships simultaneously.
Incorrect! Try again.
12What is tokenization in an LLM pipeline?
Tokenization approaches
Easy
A.Converting images into paper copies
B.Dividing text into smaller units
C.Sorting computers by processor speed
D.Removing all spaces from documents
Correct Answer: Dividing text into smaller units
Explanation:
Tokenization divides text into units that a language model can process.
Incorrect! Try again.
13Which tokenization approach represents text using pieces smaller than many complete words?
Tokenization approaches
Easy
A.Document tokenization
B.Subword tokenization
C.Paragraph tokenization
D.Sentence tokenization
Correct Answer: Subword tokenization
Explanation:
Subword tokenization splits words into reusable pieces, helping handle rare or unfamiliar words.
Incorrect! Try again.
14What is the usual objective of next-token prediction?
Pre-training objectives in LLMs
Easy
A.Predict the following token
B.Count all paragraphs
C.Translate every sentence
D.Remove the first token
Correct Answer: Predict the following token
Explanation:
Next-token prediction trains a model to predict the token that follows the preceding context.
Incorrect! Try again.
15In masked language modeling, what does the model learn to predict?
Pre-training objectives in LLMs
Easy
A.Hidden tokens in text
B.User locations on maps
C.Screen colors in images
D.File sizes on disk
Correct Answer: Hidden tokens in text
Explanation:
Masked language modeling hides selected tokens and trains the model to recover them from context.
Incorrect! Try again.
16What is the first main step in an agent's perception-action cycle?
Agent perception-action cycle
Easy
A.Ending every process
B.Rebuilding the hardware
C.Deleting the environment
D.Perceiving the environment
Correct Answer: Perceiving the environment
Explanation:
The cycle begins when an agent receives information about its environment through percepts.
Incorrect! Try again.
17After selecting an action, what does an agent normally do next?
Agent perception-action cycle
Easy
A.Retrains every language model
B.Executes it in the environment
C.Erases its entire memory
D.Stops observing permanently
Correct Answer: Executes it in the environment
Explanation:
The selected action is executed, potentially changing the environment and producing new percepts.
Incorrect! Try again.
18What is a percept in agent-environment interaction?
Agent-environment interaction
Easy
A.A device built by the agent
B.Information sensed by the agent
C.A reward hidden from the agent
D.A goal deleted by the agent
Correct Answer: Information sensed by the agent
Explanation:
A percept is information that an agent receives from its environment.
Incorrect! Try again.
19What can an agent use to affect its environment?
Agent-environment interaction
Easy
A.Actuators
B.Embeddings
C.Tokenizers
D.Datasets
Correct Answer: Actuators
Explanation:
Actuators allow an agent to perform actions that affect its environment.
Incorrect! Try again.
20Which organization developed the GPT family of language models?
Overview of popular LLMs
Easy
A.Google
B.Meta
C.Anthropic
D.OpenAI
Correct Answer: OpenAI
Explanation:
OpenAI developed the GPT family of large language models.
Incorrect! Try again.
21A warehouse robot selects routes using a fixed set of condition-action rules and does not maintain an internal representation of previously observed obstacles. Which type of agent best describes it?
Introduction to intelligent agents and their types
Medium
A.A learning agent
B.A simple reflex agent
C.A utility-based agent
D.A model-based reflex agent
Correct Answer: A simple reflex agent
Explanation:
A simple reflex agent chooses actions from the current percept using predefined rules, without maintaining an internal state.
Incorrect! Try again.
22A delivery drone evaluates several safe routes and chooses the one that best balances travel time, energy use, and customer priority. Which agent type is most appropriate?
Introduction to intelligent agents and their types
Medium
A.A utility-based agent
B.A goal-based agent
C.A model-based agent
D.A simple reflex agent
Correct Answer: A utility-based agent
Explanation:
A utility-based agent compares outcomes using a utility function, allowing it to balance multiple competing preferences.
Incorrect! Try again.
23A language model is asked to organize a conference. It creates a task list, calls calendar and email tools, checks the responses, and revises its schedule. What most clearly makes this an agentic AI system?
Emergence of Agentic AI
Medium
A.It was trained on conference documents
B.It generates fluent natural-language text
C.It autonomously plans, acts, and revises
D.It stores prompts in a context window
Correct Answer: It autonomously plans, acts, and revises
Explanation:
Agentic AI goes beyond text generation by pursuing goals through planning, tool use, observation, and adaptation.
Incorrect! Try again.
24An LLM agent repeatedly calls an expensive search tool even after it has enough evidence to answer. Which design addition would most directly reduce this behavior?
Emergence of Agentic AI
Medium
A.A lower embedding dimension
B.A larger tokenizer vocabulary
C.A tool-use stopping policy
D.A longer pre-training corpus
Correct Answer: A tool-use stopping policy
Explanation:
A stopping policy helps the agent decide when sufficient information has been gathered and further tool calls are unnecessary.
Incorrect! Try again.
25A transformer receives the same words in two different orders. Which component enables it to distinguish the sequences before attention is applied?
Transformer architecture basics
Medium
A.Vocabulary decoding
B.Layer normalization
C.Positional encoding
D.Output projection
Correct Answer: Positional encoding
Explanation:
Positional encoding adds order information because self-attention alone does not inherently represent token positions.
Incorrect! Try again.
26Why can transformer training usually process all tokens in a sequence more parallelly than a traditional recurrent neural network?
Unlike recurrent networks, transformers do not need to compute a hidden state token by token, so sequence positions can be processed in parallel during training.
Incorrect! Try again.
27In a transformer block, what is the primary role of the position-wise feed-forward network?
Transformer architecture basics
Medium
A.To transform each position's representation nonlinearly
B.To select the final generated vocabulary
C.To tokenize the original input sequence
D.To assign absolute positions to all tokens
Correct Answer: To transform each position's representation nonlinearly
Explanation:
The feed-forward network independently applies learned nonlinear transformations to the representation at each sequence position.
Incorrect! Try again.
28In scaled dot-product attention, scores are divided by . What problem does this scaling mainly address?
Attention mechanism
Medium
A.Large dot products can saturate the softmax
B.Long sequences can remove positional information
C.Small vocabularies can produce unknown tokens
D.Multiple heads can generate identical embeddings
Correct Answer: Large dot products can saturate the softmax
Explanation:
As the key dimension grows, dot products can become large. Scaling keeps softmax values in a range with more useful gradients.
Incorrect! Try again.
29In the sentence "The animal did not cross the street because it was tired," an attention head links "it" strongly to "animal." What capability does this illustrate?
Attention mechanism
Medium
A.Resolving a contextual dependency
B.Splitting text into subwords
C.Assigning a positional embedding
D.Predicting sequence length
Correct Answer: Resolving a contextual dependency
Explanation:
Attention can connect related tokens across a sequence, helping the model interpret references and other contextual dependencies.
Incorrect! Try again.
30Two attention heads in the same layer consistently focus on different relationships: one tracks nearby syntax, while another tracks long-range references. What is the main benefit?
Attention mechanism
Medium
A.The model can avoid using token embeddings entirely
B.The model can reduce every sequence to one token
C.The model can guarantee factually correct generations
D.The model can represent varied relationships simultaneously
Correct Answer: The model can represent varied relationships simultaneously
Explanation:
Multi-head attention lets different heads learn complementary relationships and combine them into richer token representations.
Incorrect! Try again.
31A tokenizer encounters the rare word "microbioluminescence," which is absent from its vocabulary. Which approach is most likely to represent it using meaningful reusable pieces?
Tokenization approaches
Medium
A.Document-level tokenization
B.Subword tokenization
C.Fixed word-level tokenization
D.Sentence-level tokenization
Correct Answer: Subword tokenization
Explanation:
Subword tokenization can decompose rare words into known fragments, reducing unknown tokens while preserving useful structure.
Incorrect! Try again.
32A model uses byte-level tokenization rather than a fixed word vocabulary. Which advantage is most relevant when processing multilingual text and unusual symbols?
Tokenization approaches
Medium
A.Every sentence uses exactly one token
B.Token sequences are always shorter
C.Nearly any input can be represented
D.Word meanings are explicitly encoded
Correct Answer: Nearly any input can be represented
Explanation:
Byte-level tokenization can encode arbitrary text without relying on a language-specific vocabulary, though it may create longer sequences.
Incorrect! Try again.
33A decoder-only model is trained on the sequence "Agents use tools" by predicting each token from only the tokens before it. Which objective is being used?
Pre-training objectives in LLMs
Medium
A.Causal language modeling
B.Masked language modeling
C.Contrastive image learning
D.Sequence classification
Correct Answer: Causal language modeling
Explanation:
Causal language modeling predicts the next token using only preceding context, which matches decoder-only generation.
Incorrect! Try again.
34During pre-training, selected words in a sentence are hidden and the model predicts them using context on both sides. Which task does this describe?
Pre-training objectives in LLMs
Medium
A.Masked language modeling
B.Autoregressive decoding
C.Reinforcement learning
D.Causal language modeling
Correct Answer: Masked language modeling
Explanation:
Masked language modeling reconstructs hidden tokens from bidirectional context and is commonly associated with encoder-based models.
Incorrect! Try again.
35A pre-trained LLM produces grammatically strong answers but does not reliably follow user instructions. Which additional training stage most directly targets this limitation?
Pre-training objectives in LLMs
Medium
A.Instruction tuning on prompt-response examples
B.Expanding positional encodings without training
C.Replacing subwords with word-level tokens
D.Removing normalization from every layer
Correct Answer: Instruction tuning on prompt-response examples
Explanation:
Instruction tuning teaches a pre-trained model to map user requests to appropriate responses using supervised task examples.
Incorrect! Try again.
36A cleaning robot observes that a room remains dirty after one pass and then increases suction power for the next pass. Which sequence best represents this behavior?
Agent perception-action cycle
Medium
A.Plan, ignore feedback, repeat, stop
B.Act, terminate, perceive, initialize
C.Perceive, evaluate, act, perceive again
D.Train, tokenize, embed, decode
Correct Answer: Perceive, evaluate, act, perceive again
Explanation:
The agent uses a feedback loop: it perceives the environment, evaluates the situation, acts, and observes the new state.
Incorrect! Try again.
37A web-browsing agent submits a form and immediately assumes success without checking the resulting page. Which part of the perception-action cycle is missing?
Agent perception-action cycle
Medium
A.Observing the action's outcome
B.Encoding the original instruction
C.Selecting the model vocabulary
D.Pre-training the language model
Correct Answer: Observing the action's outcome
Explanation:
After acting, an agent should perceive the resulting environment state so it can detect failure and adjust its next action.
Incorrect! Try again.
38A game agent can see only the area immediately around its character, while important objects may be elsewhere on the map. How should this environment be classified?
Agent-environment interaction
Medium
A.Fully observable
B.Completely deterministic
C.Single-state episodic
D.Partially observable
Correct Answer: Partially observable
Explanation:
The environment is partially observable because the agent's current percept does not reveal the complete underlying state.
Incorrect! Try again.
39A trading simulation changes in response both to the agent's orders and to other participants' unpredictable decisions. Which description best captures the environment?
Agent-environment interaction
Medium
A.Static and deterministic
B.Discrete and single-agent
C.Dynamic and stochastic
D.Episodic and fully known
Correct Answer: Dynamic and stochastic
Explanation:
The environment changes over time and includes uncertain outcomes caused by other participants, making it dynamic and stochastic.
Incorrect! Try again.
40A team needs a model whose weights can be deployed on its own infrastructure and adapted for a specialized internal task. Which model family is commonly suited to this requirement?
Overview of popular LLMs
Medium
A.Gemini through a hosted API only
B.Llama
C.Claude through a hosted API only
D.GPT through a hosted API only
Correct Answer: Llama
Explanation:
Llama models are available in downloadable-weight variants, making local deployment and task-specific adaptation possible under their applicable licenses.
Incorrect! Try again.
41An agent must select between two routes. Route X always yields utility 6. Route Y yields utility 20 with probability 0.4 and utility 0 otherwise. The agent knows these probabilities and consistently selects Route Y. Which classification best explains its behavior?
Introduction to intelligent agents and their types
Hard
Correct Answer: A utility-based rational agent maximizing expected utility
Explanation:
Route Y has expected utility , exceeding Route X's utility of . Comparing graded outcome preferences under uncertainty is characteristic of a utility-based agent.
Incorrect! Try again.
42A language model generates a complete multi-step plan but cannot inspect results, call tools, revise actions, or preserve state. Which missing capability most directly prevents the system from being genuinely agentic?
Emergence of Agentic AI
Hard
A.A larger context window for storing the generated plan
B.A higher sampling temperature for producing diverse plans
C.A bidirectional encoder for understanding user instructions
D.A closed-loop mechanism linking actions, observations, and replanning
Correct Answer: A closed-loop mechanism linking actions, observations, and replanning
Explanation:
Agentic behavior requires a feedback loop in which actions affect an environment and subsequent observations guide revised decisions. Producing a static plan alone is open-loop generation.
Incorrect! Try again.
43In a deep pre-layer-normalized Transformer block, which update equation correctly places layer normalization while preserving an unnormalized residual stream?
Transformer architecture basics
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Pre-LN applies normalization before the sublayer and adds its output to the original residual stream. This arrangement generally improves gradient flow in deep Transformers.
Incorrect! Try again.
44A single attention head has , query , keys and , and scalar values , . With scaled dot-product attention and no mask, what is the output?
Attention mechanism
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The scaled logits are and . Softmax therefore assigns the first value weight .
Incorrect! Try again.
45A BPE tokenizer is trained only on a fixed corpus and then applied to a new domain. Which claim about an unseen technical term is most accurate?
Tokenization approaches
Hard
A.It is always represented by one universal unknown token
B.It is decomposed using learned merges, possibly down to base symbols
C.It is assigned a new token without changing the vocabulary
D.It is segmented according to its linguistic morphemes alone
Correct Answer: It is decomposed using learned merges, possibly down to base symbols
Explanation:
BPE applies its fixed merge rules to available base symbols. An unseen word can therefore be represented as several known subword or byte-level units without adding vocabulary entries.
Incorrect! Try again.
46Two models use identical Transformer capacity. Model C is trained with causal language modeling, while Model M predicts independently selected masked tokens using bidirectional context. Which consequence follows directly from the objectives?
Pre-training objectives in LLMs
Hard
A.Model M defines the same normalized autoregressive sequence likelihood
B.Model C can condition each token on all future sequence tokens
C.Model M must generate complete sequences in one parallel operation
D.Model C defines a left-to-right factorization of sequence likelihood
Correct Answer: Model C defines a left-to-right factorization of sequence likelihood
Explanation:
Causal modeling optimizes , directly defining an autoregressive sequence distribution. Standard masked-token prediction does not provide that same factorization.
Incorrect! Try again.
47A warehouse agent observes shelf occupancy, acts, and then immediately plans again using its previous observation even though another robot may have moved items. What is the most precise defect in its perception-action cycle?
Agent perception-action cycle
Hard
A.It senses the environment more often than it acts
B.It replans before incorporating the post-action percept
C.It uses a model rather than a reflex policy
D.It updates utility before selecting its previous action
Correct Answer: It replans before incorporating the post-action percept
Explanation:
The agent is acting on stale state information. A closed perception-action cycle should observe the consequences of the action and environmental changes before updating state and planning again.
Incorrect! Try again.
48In a partially observable environment with known transition and observation models, what statistic is sufficient for optimal decision-making under the standard POMDP formulation?
Agent-environment interaction
Hard
A.The single most probable latent state estimate
B.The most recently observed environmental symbol
C.The complete action history without observations
D.The posterior belief distribution over latent states
Correct Answer: The posterior belief distribution over latent states
Explanation:
A POMDP belief state summarizes the action-observation history as a posterior distribution over hidden states. Using only the most likely state discards uncertainty relevant to expected returns.
Incorrect! Try again.
49Which architecture-objective mapping is correct for the original pre-training formulations of BERT, GPT-style models, and T5?
BERT uses bidirectional encoder representations with masked-token prediction, GPT uses decoder-only causal prediction, and T5 uses an encoder-decoder text-to-text framework with corrupted spans.
Incorrect! Try again.
50In the classical learning-agent decomposition, a component evaluates the agent's behavior against a performance standard and supplies feedback to the learning component. Which component performs this role?
Introduction to intelligent agents and their types
Hard
A.The critic
B.The problem generator
C.The performance element
D.The internal actuator
Correct Answer: The critic
Explanation:
The critic assesses outcomes using the performance measure and provides feedback. The learning element uses that feedback to modify the performance element.
Incorrect! Try again.
51An LLM-based system gains tool use, persistent memory, explicit goals, and iterative replanning. Which addition most fundamentally changes it from isolated text generation into an agent-environment system?
Emergence of Agentic AI
Hard
A.A decoder using more attention heads per layer
B.A tokenizer supporting a larger multilingual vocabulary
C.Tool actions whose observable outcomes influence later decisions
D.Prompt templates containing several solved reasoning examples
Correct Answer: Tool actions whose observable outcomes influence later decisions
Explanation:
Agency emerges most directly from consequential actions combined with feedback that affects future behavior. Memory and planning help, but without environment interaction the system remains primarily a generator.
Incorrect! Try again.
52Suppose positional information is removed from a Transformer encoder and no attention masks depend on token position. What property does the resulting network have with respect to permutations of input tokens?
B.Its token-level outputs are permutation-equivariant
C.Its hidden states become permutation-invariant at every position
D.Its sequence output is inherently order-sensitive
Correct Answer: Its token-level outputs are permutation-equivariant
Explanation:
Permuting input tokens correspondingly permutes token-level outputs because self-attention and position-wise feed-forward layers contain no order signal. Equivariance is not the same as invariance.
Incorrect! Try again.
53A decoder replaces standard multi-head attention with grouped-query attention while keeping the number of query heads unchanged. What is the principal inference-time effect?
Grouped-query attention retains many query heads but uses fewer key-value heads shared across groups. This reduces cached key-value tensors and can accelerate autoregressive inference.
Incorrect! Try again.
54A byte-level tokenizer and a word-level tokenizer have fixed vocabularies learned from English data. When processing arbitrary valid UTF-8 text from an unseen script, which comparative statement is correct?
Tokenization approaches
Hard
A.Word-level tokenization guarantees representability with fewer tokens
B.Word-level tokenization reconstructs unseen words from learned merges
C.Byte-level tokenization guarantees one token for each Unicode character
D.Byte-level tokenization guarantees representability but may use longer sequences
Correct Answer: Byte-level tokenization guarantees representability but may use longer sequences
Explanation:
Any UTF-8 string can be represented through byte units, avoiding unknown words. Characters may occupy multiple bytes, so the resulting token sequence can be substantially longer.
Incorrect! Try again.
55A masked-language model masks each selected token independently, but the corruption token used during pre-training never occurs during downstream use. Which issue motivated BERT's mixed replacement strategy for selected positions?
Pre-training objectives in LLMs
Hard
A.Converting masked prediction into exact causal likelihood training
B.Ensuring every selected position retains its original input token
C.Reducing mismatch caused by relying exclusively on a special mask token
D.Preventing bidirectional attention from accessing left-side context
Correct Answer: Reducing mismatch caused by relying exclusively on a special mask token
Explanation:
BERT sometimes uses a random token or leaves the token unchanged instead of always inserting the mask symbol. This reduces dependence on an artificial symbol absent during fine-tuning.
Incorrect! Try again.
56An agent executes the first action of a five-step plan, observes an unexpected state that invalidates the remaining plan, but continues executing it unchanged. Which design principle would most directly correct this failure?
Agent perception-action cycle
Hard
A.Deterministic decoding with a fixed low temperature
B.Open-loop execution with a longer initial planning horizon
C.Receding-horizon execution with state updates and replanning
Correct Answer: Receding-horizon execution with state updates and replanning
Explanation:
Receding-horizon control executes a limited portion of a plan, observes the resulting state, and replans. It therefore adapts when actual outcomes diverge from predictions.
Incorrect! Try again.
57In a multi-agent environment, an agent's transition statistics change even though the physical rules remain fixed because other agents continually update their policies. From the focal agent's perspective, what challenge does this create?
Agent-environment interaction
Hard
A.Elimination of uncertainty through repeated interaction
B.Full observability of every agent's internal objective
C.Guaranteed convergence to a unique optimal policy
D.Effective non-stationarity in the environment dynamics
Correct Answer: Effective non-stationarity in the environment dynamics
Explanation:
Other learning agents alter the distribution of future states and rewards. Consequently, dynamics inferred under earlier policies may no longer describe later interactions.
Incorrect! Try again.
58Which statement correctly distinguishes the core architectures associated with the BERT, LLaMA, and T5 model families?
Overview of popular LLMs
Hard
A.BERT is encoder-decoder, LLaMA is decoder-only, and T5 is encoder-only
B.BERT is encoder-only, LLaMA is encoder-decoder, and T5 is decoder-only
C.BERT is decoder-only, LLaMA is encoder-only, and T5 is encoder-decoder
D.BERT is encoder-only, LLaMA is decoder-only, and T5 is encoder-decoder
Correct Answer: BERT is encoder-only, LLaMA is decoder-only, and T5 is encoder-decoder
Explanation:
BERT primarily encodes bidirectional context, LLaMA uses causal decoder-only generation, and T5 maps input text to output text through an encoder-decoder architecture.
Incorrect! Try again.
59Compared with masked-language modeling, ELECTRA's replaced-token detection can obtain a training signal at more sequence positions. Why?
Pre-training objectives in LLMs
Hard
A.Its generator predicts every token through causal factorization
B.Its encoder reconstructs only tokens hidden by span masks
C.Its discriminator computes loss only on substituted positions
D.Its discriminator classifies every position as original or replaced
Correct Answer: Its discriminator classifies every position as original or replaced
Explanation:
ELECTRA trains a discriminator to judge each input position, including unchanged positions. Masked-language modeling typically computes prediction loss only for selected masked positions.
Incorrect! Try again.
60Rotary positional embeddings apply position-dependent rotations to query and key vector pairs. Which property explains their usefulness in attention scoring?
B.Their dot products implement an exact causal attention mask
C.Their key vectors become identical across different positions
D.Their rotations make attention independent of all token positions
Correct Answer: Their query-key dot products encode relative positional displacement
Explanation:
The interaction between position-dependent rotations makes a query-key score depend on the relative offset between positions. Causal masking remains a separate operation.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →