datalama commited on
Commit
c00e3d2
·
verified ·
1 Parent(s): 69aa939

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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 = ds[0]['json']
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)