Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
emrgnt-cmplxty commited on
Commit
57fb054
·
verified ·
1 Parent(s): e1d1861

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -20,11 +20,14 @@ To access and utilize the AgentSearch-V1 dataset, you can stream it via HuggingF
20
 
21
  ```python
22
  from datasets import load_dataset
 
 
 
23
  # To stream the entire dataset:
24
- ds = load_dataset("SciPhi/AgentSearch-V1", data_files="**/*", streaming=True)
25
 
26
  # Optional, stream just the "arxiv" dataset
27
- # ds = load_dataset("SciPhi/AgentSearch-V1", data_files="arxiv/*", streaming=True)
28
 
29
  # To process the entries:
30
  for entry in ds:
 
20
 
21
  ```python
22
  from datasets import load_dataset
23
+ import json
24
+ import numpy as np
25
+
26
  # To stream the entire dataset:
27
+ ds = load_dataset("SciPhi/AgentSearch-V1", data_files="**/*", split="train", streaming=True)
28
 
29
  # Optional, stream just the "arxiv" dataset
30
+ # ds = load_dataset("SciPhi/AgentSearch-V1", data_files="**/*", split="train", data_files="arxiv/*", streaming=True)
31
 
32
  # To process the entries:
33
  for entry in ds: