Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def process_questions(example):
|
|
18 |
example["question_text"] = example["question"]
|
19 |
options = "\n".join([f"{chr(65+e)}. {op}" for e, op in enumerate(example["options"])])
|
20 |
example["question_text"] += "\n" + options
|
21 |
-
example["question_text"] =
|
22 |
return example
|
23 |
|
24 |
dataset = concatenate_datasets([
|
@@ -26,7 +26,7 @@ dataset = concatenate_datasets([
|
|
26 |
load_dataset("PhysicsWallahAI/JEE-Main-2025-Math", "apr", split="test"),
|
27 |
])
|
28 |
examples = dataset.map(process_questions, remove_columns=dataset.column_names)["question_text"]
|
29 |
-
|
30 |
|
31 |
|
32 |
# add options
|
|
|
18 |
example["question_text"] = example["question"]
|
19 |
options = "\n".join([f"{chr(65+e)}. {op}" for e, op in enumerate(example["options"])])
|
20 |
example["question_text"] += "\n" + options
|
21 |
+
example["question_text"] = example["question_text"]
|
22 |
return example
|
23 |
|
24 |
dataset = concatenate_datasets([
|
|
|
26 |
load_dataset("PhysicsWallahAI/JEE-Main-2025-Math", "apr", split="test"),
|
27 |
])
|
28 |
examples = dataset.map(process_questions, remove_columns=dataset.column_names)["question_text"]
|
29 |
+
print(type(examples))
|
30 |
|
31 |
|
32 |
# add options
|