Skip to content
ml-recall

#sentiment-analysis

3 questions from Recurrent Neural Networks, NLP Fundamentals, Text Representation & Embeddings

Timed test

3 questions · 3 min · score and explanations at the end

Take a test
Q 1 / 3Score 0 / 0

Question 1: Single choice

mediumAI-checkedRecurrent Neural Networks

A sentiment LSTM reads reviews padded or truncated to 200 tokens and classifies each review from the LSTM output at the last time step only, lstm_out[:, -1, :]. Why are short reviews padded with zeros on the left, e.g. [0, 0, …, 0, 117, 18, 128]?

Choose one option