From ca2fa5bc97e0d44a4cdabd5b8fa046fcea8007f2 Mon Sep 17 00:00:00 2001 From: liushz Date: Wed, 23 Aug 2023 12:17:41 +0800 Subject: [PATCH] Update icl_tot_inferencer.py --- opencompass/openicl/icl_inferencer/icl_tot_inferencer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opencompass/openicl/icl_inferencer/icl_tot_inferencer.py b/opencompass/openicl/icl_inferencer/icl_tot_inferencer.py index 0cf4f2dde..ba6eac383 100644 --- a/opencompass/openicl/icl_inferencer/icl_tot_inferencer.py +++ b/opencompass/openicl/icl_inferencer/icl_tot_inferencer.py @@ -123,9 +123,9 @@ def get_value(self, Args: x (str): The input text to be evaluated. y (str): The partial output to be evaluated. - n_evaluate_sample (int): _description_ - cache_value (bool): _description_. Defaults to True. - + n_evaluate_sample (int): Times to evaluate each partial output. + cache_value (bool): Cache to avoid duplicate candidates. + Defaults to True. Returns: str: Value of evaluated partial outputs. """