Update test_repo.py
Browse files- test_repo.py +1 -1
test_repo.py
CHANGED
@@ -82,6 +82,6 @@ class TestRepo(datasets.GeneratorBasedBuilder):
|
|
82 |
"context": data.get("context", ""),
|
83 |
"num_options": data.get("num_options", ""),
|
84 |
"question_type": data.get("question_type", ""),
|
85 |
-
"dataset_name": filepath.replace(".jsonl","")
|
86 |
}
|
87 |
key_idx +=1
|
|
|
82 |
"context": data.get("context", ""),
|
83 |
"num_options": data.get("num_options", ""),
|
84 |
"question_type": data.get("question_type", ""),
|
85 |
+
"dataset_name": os.path.split(filepath)[-1].replace(".jsonl","")
|
86 |
}
|
87 |
key_idx +=1
|