https://drive.google.com/file/d/1bdwjmnPIZEObNh1T-YTXH4HCAVcK_AaR/view?usp=drive_link
pip install -r requirements.txt
-
Put the dataset in
WikiFact/data; -
Set your openai api_key in
wikifact_chatgpt.pywikifact_002.pywikifact_003.pyL6, your Claude userOAuthToken and channel_id intest_wikifact.shL9, and your model-path intest_wikifact.shL12-24; -
To get the evaluation scores of all models:
bash test_wikifact.sh -
All generated outputs are saved in
wikifact/generation.