Update README.md
Browse files
README.md
CHANGED
@@ -134,7 +134,7 @@ def load_rag_eval_data(target_pdf_dir:str):
|
|
134 |
pid = f"p_{i}"
|
135 |
output_path = f"{target_pdf_dir}/{pid}.pdf"
|
136 |
sub_ds = ds.select(grouped_pid_indices[pid])
|
137 |
-
sub_meta =
|
138 |
|
139 |
# merge and save pdf in local
|
140 |
merge_pdf_data(sub_ds['pdf'], output_path)
|
|
|
134 |
pid = f"p_{i}"
|
135 |
output_path = f"{target_pdf_dir}/{pid}.pdf"
|
136 |
sub_ds = ds.select(grouped_pid_indices[pid])
|
137 |
+
sub_meta = sub_ds[0]['json']
|
138 |
|
139 |
# merge and save pdf in local
|
140 |
merge_pdf_data(sub_ds['pdf'], output_path)
|