Open MathiasKraus opened 8 months ago
I made it work now by putting the demons.json file in the folder. However, I am wondering why I need this for a custom knowledge base. Could you help me understand this?
Hi @MathiasKraus, thanks a lot for your interest in our work!
The demonstrations are needed for atomic fact generation with davinci-003
, which is used irrespective of the knowledge base. Did you run the following command in your setup? It downloads all the needed data for you. https://github.com/shmsw25/FActScore#download-the-data
You could skip the --llama_7B_HF_path "llama-7B"
flag here if you are only using OpenAI models.
Hello,
First off, I'd like to express my appreciation for this great package you've developed. I'm in the process of testing a scenario where I evaluate the quality of generated summaries based on a custom knowledge base. Any guidance or pointers would be greatly appreciated!
For this purpose, I create the following knowledge.jsonl file:
and, following the example in the README, run the code:
In the last line however I receive the following error message:
I'm trying to understand the role of demons.json and necessity. Despite my efforts to comb through the code, I couldn't quite grasp its purpose. Could you shed some light on this?
System: I am running this on colab and installed the factscore package using pip install --upgrade factscore.
Thank you very much in advance!