GAIR-NLP / factool

FacTool: Factuality Detection in Generative AI
https://ethanc111.github.io/factool_website/
Apache License 2.0
804 stars 62 forks source link

Exception handling when calculate average claim_level_factuality #41

Open EthanC111 opened 7 months ago

EthanC111 commented 7 months ago

https://github.com/GAIR-NLP/factool/blob/main/factool/factool.py#L106

For code responses, line 106 might fail.