Learn Before
Applying Key-Value Structure to a Retrieval System
Imagine you are designing a simple recipe retrieval system. The system's memory is structured as a collection of pairs, {(K, V)}, where each pair represents one recipe. When a user enters a query like 'spicy chicken pasta', the system compares the query to each K to find relevant recipes and then returns the corresponding V for the best matches. In this scenario, what would be the most logical choice for the content of K and the content of V?
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
A computational system uses a collection of information structured as a set of pairs:
{(Key_1, Value_1), (Key_2, Value_2), ..., (Key_n, Value_n)}. To respond to a new query, the system first compares the query to eachKeyto compute a relevance score for every pair. Based on this process, what is the distinct role of theValuecomponents?Applying Key-Value Structure to a Retrieval System
Match each notational component with its correct description in the context of a memory system used for information retrieval.