How to download java datasets from the stack to my computer?

#38
by gaboness - opened

I mean not all datasets,just some limited programming language,such as Java、JavaScript、SQL. but i can not find java datasets or SQL datasets from the stack

you can do

ds = load_dataset("bigcode/the-stack", data_dir="data/java", split="train")

and same for the other languages (they are lowercase)

Thank you very much

you can do

ds = load_dataset("bigcode/the-stack", data_dir="data/java", split="train")

and same for the other languages (they are lowercase)

Thank you very much!i got it

Hi @loubnabnl ,

I'm facing some issues when trying to use the dataset offline. I have opened a github issue here: https://github.com/huggingface/datasets/issues/6609

Thanks for the great dataset

Sign up or log in to comment