zhongwanjun / MemoryBank-SiliconFriend

Source code and demo for memory bank and SiliconFriend
MIT License
159 stars 19 forks source link

关于遗忘曲线的运用这个代码里怎么体现 #9

Open victorjiax opened 8 months ago

victorjiax commented 8 months ago

看了下finetune和memory bank,没看懂遗忘曲线怎么运用

zhongwanjun commented 8 months ago

Here is a option in activating it:

if data_args.enable_forget_mechanism: from memory_retrieval.forget_memory_new import LocalMemoryRetrieval else: from memory_retrieval.local_doc_qa import LocalMemoryRetrieval

if activated, it will forget the memory according to the calculated ratio