Closed XinyuDu closed 1 month ago
升级最新代码解决了。
@XinyuDu did you ever receive the error below after this line of code:
pipe.memorize(small_part, save_dir="constitution/", print_stats=True)
Error:
AttributeError: 'LlamaForCausalLM' object has no attribute 'memory'
when loading a different model than TommyChien/memorag-qwen2-7b-inst?
Did you try llama3 official HF model?
测试中文模型"shenzhi-wang/Llama3.1-8B-Chinese-Chat"的时候,报‘got an unexpected keyword argument 'beacon_ratio'的错误。