Download FActScore data and knowledge sources
mainUse the factscore.download_data module to download the knowledge source, example data, and optionally reconstruct the Inst-LLAMA model.
If you only want to use the ChatGPT version of FActScore, omit the --llama_7B_HF_path flag.
Optional flags:
--data_dir: Directory to store the knowledge source and example data (default:.cache/factscore).--model_dir: Directory to store Inst-LLAMA weights (default:.cache/factscore).
Troubleshooting:
If you encounter ERROR 429: Too Many Requests while downloading the DB file, download the DB manually from the provided Google Drive link and place it under your --data_dir.
python -m factscore.download_data --llama_7B_HF_path "llama-7B"