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.py
wikifact_002.py
wikifact_003.py
L6, your Claude userOAuthToken and channel_id intest_wikifact.sh
L9, and your model-path intest_wikifact.sh
L12-24; -
To get the evaluation scores of all models:
bash test_wikifact.sh
-
All generated outputs are saved in
wikifact/generation
.