[fix] fix typo s/muiti-node /multi-node etc. (#5448)

This commit is contained in:
digger yu
2024-04-07 18:42:15 +08:00
committed by GitHub
parent 15055f9a36
commit a799ca343b
10 changed files with 16 additions and 16 deletions

View File

@@ -670,7 +670,7 @@ def calculate_scores_form_logprobs(logprobs: Dict[str, Any]) -> float:
def calculate_scores_form_response(response: str, evaluation: Dict[str, Any]) -> int:
"""
Calculate the score from the response returned by gpt-3.5-turbo or gpt-4.
Different from text-davinci-003, this fuction directly calculates the score according to the plain response returned by gpt-3.5-turbo or gpt-4.
Different from text-davinci-003, this function directly calculates the score according to the plain response returned by gpt-3.5-turbo or gpt-4.
Although text-davinci-003 can return log probabilities, it costs ten times as much as gpt-3.5-turbo.
Args: