Which of the following are true about one-hot vectors? Select all that apply. 1. A…
- User
Which of the following are true about one-hot vectors? Select all that apply.
- A one-hot vector is the same as a bag of words.
- A special index can be used to designate words that are not included in the vocabulary.
- From the encoder-decoder model, the one-hot vector is input to the encoder and also the output to the decoder.
- The amount of memory required to store a single word in a GPU is proportional to the number of words in the vocabulary.
- Assistant
Correct options: 2, 3 and 4
Why?
-
One-hot ≠ Bag-of-Words
• One-hot: exactly one “1” (represents a single token). • Bag-of-Words: counts of all tokens in a document → can have many non-zero entries.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.