Recall & Review
beginner
What does GRU stand for in machine learning?
GRU stands for Gated Recurrent Unit, a type of neural network layer used to process sequences like text.
Click to reveal answer
beginner
How does a GRU help in understanding text sequences?
A GRU keeps track of important information from earlier words and decides what to remember or forget, helping the model understand context in text.
Click to reveal answer
intermediate
Name the two main gates in a GRU cell and their roles.
The two main gates are the update gate, which decides how much past information to keep, and the reset gate, which decides how to combine new input with past memory.
Click to reveal answer
intermediate
Why might GRUs be preferred over LSTMs for some text tasks?
GRUs are simpler with fewer parameters, making them faster to train and sometimes better for smaller datasets while still capturing sequence information well.
Click to reveal answer
beginner
In a text classification task using a GRU, what is the typical output after the GRU layer?
The typical output is a fixed-size vector summarizing the text, which is then passed to a classifier like a dense layer to predict categories.
Click to reveal answer
What is the main purpose of the update gate in a GRU?
✗ Incorrect
The update gate controls how much of the past information is kept for the current step.
Which of these is a benefit of using GRUs over traditional RNNs for text?
✗ Incorrect
GRUs use gates to better remember important information over longer sequences compared to basic RNNs.
In text processing, what kind of data does a GRU layer take as input?
✗ Incorrect
GRUs process sequences, so they take sequences of vectors representing words or characters as input.
What does the reset gate in a GRU do?
✗ Incorrect
The reset gate decides how much past memory to forget when combining with new input.
Which task is a GRU commonly used for in NLP?
✗ Incorrect
GRUs are often used for tasks like text classification where understanding sequences is important.
Explain how a GRU processes a sequence of words in a text.
Think about how the GRU decides what to remember and what to forget at each word.
You got /5 concepts.
Describe the advantages of using a GRU over a simple RNN for text tasks.
Focus on how GRUs improve remembering important information in text.
You got /4 concepts.