Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Re: Long Term Memory #4012

Answered by klshuster
renziver asked this question in Q&A
Discussion options

You must be logged in to vote

The LongTermMemory module stores the memories; we store both the encodings of the memories and the memories themselves. A read from the memory involves a retrieval step using DPR such that memories are returned according to a similarity score with the given context.

The memory is written to work appropriately with batched inputs, such that the module stores a different set of memories for each batch element (memory is not shared across batch items)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by renziver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants