Spaces:
Paused
Paused
Update helper.py
Browse files
helper.py
CHANGED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
import pandas as pd
|
| 2 |
|
| 3 |
-
|
| 4 |
-
FILE_NAME = "gaia_validation.jsonl"
|
| 5 |
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
| 7 |
df = pd.read_json(FILE_NAME, lines = True)
|
| 8 |
-
level_df = df[df["Level"] ==
|
| 9 |
|
| 10 |
result = []
|
| 11 |
|
|
|
|
| 1 |
import pandas as pd
|
| 2 |
|
| 3 |
+
LEVEL = 1
|
|
|
|
| 4 |
|
| 5 |
+
FILE_NAME = "gaia_20.jsonl"
|
| 6 |
+
#FILE_NAME = "gaia_validation.jsonl"
|
| 7 |
+
|
| 8 |
+
def get_questions():
|
| 9 |
df = pd.read_json(FILE_NAME, lines = True)
|
| 10 |
+
level_df = df[df["Level"] == LEVEL]
|
| 11 |
|
| 12 |
result = []
|
| 13 |
|