NLP - Sequence Models for NLP
Which of the following is the correct way to create an embedding layer in TensorFlow Keras for 1000 words with 50 dimensions?
input_dim is vocabulary size (1000), second output_dim is embedding size (50).Embedding(input_dim=1000, output_dim=50) has the correct parameters: input_dim as vocabulary size (1000) and output_dim as embedding dimension (50). The others either swap these values or use incorrect dimensions.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions