From dcf1df28f796e71836f287166017696c11a758fc Mon Sep 17 00:00:00 2001 From: Arid Hasan <18038960+AridHasan@users.noreply.github.com> Date: Tue, 24 Sep 2024 22:06:07 -0300 Subject: [PATCH] Update MultiNativQA.py --- llmebench/datasets/MultiNativQA.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmebench/datasets/MultiNativQA.py b/llmebench/datasets/MultiNativQA.py index 5f8a9bd6..7e041cec 100644 --- a/llmebench/datasets/MultiNativQA.py +++ b/llmebench/datasets/MultiNativQA.py @@ -90,7 +90,7 @@ def load_data(self, data_path, no_labels=False): id = row[0] question = row[3] answer = row[4] - length = answer.split() + length = len(answer.split()) data.append( { "data_id": id,