LaVieEnRose365 / ReLLa

Code of Paper "ReLLa: Retrieval-enhanced Large Language Models for Mitigating Long Context Problems in Recommendation".
41 stars 4 forks source link

FileNotFoundError: [Errno 2] No such file or directory: './data/ml-1m/proc_data/movie_detail.json' #1

Closed Ding991105 closed 10 months ago

Ding991105 commented 10 months ago

您好!我在使用python get_semantic_embed.py --model_path Vicuna-7B --dataset ml-1m --pooling average时出现以下报错: FileNotFoundError: [Errno 2] No such file or directory: './data/ml-1m/proc_data/movie_detail.json' 请问这个文件是怎么获得的呢?

LaVieEnRose365 commented 10 months ago

Thanks for pointing out the issue! We have added the processing procedure in scripts/ml-1m.ipynb. You can find the modification in #2 . The missing file "data/ml-1m/proc_data/movie_detail.json" is just the meta information of movies, with the original movie id in movies.dat as key, and [title, genre] as value. Hope we have resolved your issue.

LaVieEnRose365 commented 10 months ago

I think this issue has been resolved. If you have other questions, feel free to open another issue.