This update adds a few new important features to our PIP package (thanks again to our beta users!):
- (https://github.com/shmsw25/FActScore/pull/21) To penalize very short generations, we have added a length penalty similar to the BLEU scores. This is enabled by default and can be customized using the `--gamma` flag. See [here](https://github.com/shmsw25/FActScore#running-factscore-using-a-command-line) for more details.
- (https://github.com/shmsw25/FActScore/pull/20) Users can now customize their abstain detection workflow using the `--abstain_detection` flag. We have added two abstain detection functions (`generic`, `perplexity_ai`), but disabled them by default. See [here](https://github.com/shmsw25/FActScore#running-factscore-using-a-command-line) for more details.
- (d768d818f7fcdeeb61e90a92491b08c1a0e640c6) bug fixes in custom corpus retrieval