Learn Before
A team is developing a language model for processing lengthy legal documents. They use a dual-memory architecture: a 'local memory' that stores the most recent 1024 tokens and a 'compressive memory' that stores a summarized representation of older text. To allow a query (representing a new token) to access information from both recent and long-term history, how should the attention mechanism be structured?
0
1
Tags
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Evaluating a Dual-Memory Attention Mechanism
A team is developing a language model for processing lengthy legal documents. They use a dual-memory architecture: a 'local memory' that stores the most recent 1024 tokens and a 'compressive memory' that stores a summarized representation of older text. To allow a query (representing a new token) to access information from both recent and long-term history, how should the attention mechanism be structured?
Functional Role of Memory Concatenation in Attention