Datasets:
Stream specific data_dir
#4
by
yashnbx
- opened
Is there someway we can stream code for a specific data_dir
, I tried running the following code but it seems to iterate from start of items ("Assembly").
dataset = load_dataset(
"bigcode/the-stack-dedup",
data_dir = "data/python",
use_auth_token = token,
streaming = True,
cache_dir = "./",
split="train"
)
If there is some way I can contribute towards this I'd love to be useful.
I think this was caused since I attempted downloading in the same cache_dir
, it works now. Thanks!
Very interested in exploring this and building new datasets.
Glad to hear it's now working. I look forward to seeing what you build with the Stack!
christopher
changed discussion status to
closed
i get the same issue, when the set the data_dir with 'data/go', however, the data I got was BABP