Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce precision in pipeline eval print functions (#943)
A proposal to reduce the precision shown in the `EvalRetriever.print` and `EvalReader.print` to 4 significant figures. If the user wants the full precision, they can access the class attributes directly. Before ``` Retriever ----------------- has_answer recall: 0.8739495798319328 (208/238) no_answer recall: 1.00 (120/120) (no_answer samples are always treated as correctly retrieved) recall: 0.9162011173184358 (328 / 358) ``` After ``` Retriever ----------------- has_answer recall: 0.8739 (208/238) no_answer recall: 1.00 (120/120) (no_answer samples are always treated as correctly retrieved) recall: 0.9162 (328 / 358) ```
- Loading branch information