sleeepeer / PoisonedRAG

[USENIX Security 2025] PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
https://arxiv.org/abs/2402.07867
MIT License
73 stars 10 forks source link

Missing 'results/target_queries/hotpotqa.json' #10

Closed tamtakapanadze closed 2 weeks ago

tamtakapanadze commented 2 weeks ago

" FileNotFoundError: [Errno 2] No such file or directory: 'results/target_queries/hotpotqa.json' " Is prepare_datasets.py responsible for creating this directory, or should I download the datasets under results/target_queries/ myself? I only have 'adv_targeted_results' and 'beir_results' folders under results.

tamtakapanadze commented 2 weeks ago

Found Issue #8

sleeepeer commented 2 weeks ago

Thanks for pointing it out, will remove results/target_queries/ related code.

sleeepeer commented 2 weeks ago

Hi, I've fixed the path bug in the latest commit and you could have a try. Feel free to reopen this issue if have further questions! Thanks again!