Question 24
You are training an RNN-based text classification model with the following three sequences:
Sequence 1: "I love deep learning" → 4 tokensSequence 2: "NLP is great" → 3 tokensSequence 3: "AI" → 1 tokenUnder which training scenario is padding NOT strictly required for processing these sequences?
Using mini-batch gradient descent with batch size = 32
Using stochastic gradient descent (SGD) with batch size = 1
Using batch gradient descent processing all samples at once
Using mini-batch gradient descent with batch size = 16