amazon-science / RefChecker

RefChecker provides automatic checking pipeline and benchmark dataset for detecting fine-grained hallucinations generated by Large Language Models.
Apache License 2.0
281 stars 24 forks source link

The cli.py code in failing in line 221 #18

Open vinayvarahabhotla opened 5 months ago

vinayvarahabhotla commented 5 months ago

The Checker.check function in line 221 fails in the cli.py. The most likely reason is that the triples list in not in the correct format. A possible solution is to make a change in line 208 : triplets = item["triplets"] --> triplets = item["triplets"][0]