Closed Linyxus closed 2 years ago
The read_problems function in human_eval.data is actually returning a dictionary, but it is wrongly declared to return a iterable of dictionaries:
read_problems
human_eval.data
def read_problems(evalset_file: str = HUMAN_EVAL) -> Iterable[Dict[str, Dict]]:
This is a simple fix of the typo.
Thank you!
The
read_problems
function inhuman_eval.data
is actually returning a dictionary, but it is wrongly declared to return a iterable of dictionaries:This is a simple fix of the typo.