From 5e06febae510bc98ec68c7d80251cc1b4d156d84 Mon Sep 17 00:00:00 2001 From: Arid Hasan <18038960+AridHasan@users.noreply.github.com> Date: Tue, 24 Sep 2024 22:12:53 -0300 Subject: [PATCH] Update MultiNativQA.py (#367) --- 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 744b0411..8ada9a32 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,