引导式测验 · 中等 等级
双向循环网络测验
测试前向和后向传递、组合上下文状态、离线序列任务、流限制和完整输入要求。
问题 1 的 8
双向 RNN 如何处理输入序列?
预览每个问题8 问题
当您参加测验时,就会出现答案和解释。
- 双向 RNN 如何处理输入序列?
- Processes only the first half forward
- Processes it in forward and backward directions and combines the contextual states
- Uses future tokens as training labels
- Runs the same hidden state twice in the same direction
- 为什么来自两个方向的上下文有助于标记诸如“bank”之类的词?
- Words before and after it can clarify the intended meaning
- The word has only one possible meaning
- The model needs no surrounding text
- The label is stored in the sequence position
- 两个方向的隐藏状态通常如何在某个位置进行组合?
- Average all positions in the sequence first
- Discard the backward state
- Use only the final forward state for every position
- Concatenate them or otherwise combine them for the output
- 为什么双向 RNN 可能不适合流式生成?
- It cannot process tokens in order
- It requires class labels at inference
- It needs future sequence context that is not yet available
- 它仅适用于图像
- 离线序列标记与双向性结合的一个优势是什么?
- Each position can use context on both sides
- The model needs no sequence boundaries
- It removes the need for recurrent parameters
- It guarantees correct token labels
- Do forward and backward passes share the same recurrent parameters in the guide’s described architecture?
- Yes, by definition every bidirectional RNN shares weights
- No; it uses separate recurrent layers for the two directions
- Only when the sequence has even length
- They have no parameters
- Which task is a natural fit when the entire sequence is available?
- Left-to-right text generation before later tokens exist
- Live word prediction with zero lookahead
- Part-of-speech tagging or named-entity recognition
- Predicting the next unseen sensor reading in a stream
- What does bidirectional context not guarantee?
- Access to following input tokens in offline use
- A combined representation at each position
- Two traversal directions
- That the model will correctly interpret every token