Xnli is not loading
I’m trying to load the xnli dataset like this:xnli = nlp.load_dataset(path=‘xnli’)and i got an error:ConnectionError: Couldn’t reachhttps://www.nyu.edu/projects/bowman/xnli/XNLI-1.0.zipCan someone tell me what’s the problem and can i get this dataset some other way?Thanks in advance
2021-12-14T13:29:43Z
Hi,thenlpproject was renamed todatasetsover a year ago, so I’d suggest you install that package and let us know if you still have issues downloading the dataset.
2021-12-14T17:48:47Z
Hi, thanks for replying.I installed datasets and tried loading xnli dataset:xnli = load_dataset(path=‘xnli’)but I get another error:FileNotFoundError: No data files or dataset script found in xnliso it still doesn’t work. :(. Whar’s the problem?
2021-12-14T20:46:07Z
It works on my side. Are you sure you haven’t created a directory with the namexnli(relative to your script) that is now interfering? What doesprint(os.path.exists("xnli"))return when you run it in your script?
2021-12-15T00:51:44Z
I’m sure I created such directory. That was the problem. It works fine now. Thank you very much!
2023-02-20T19:39:31Z
To add to this with my experience. I faced a similar problem and deleting a folder named ‘xnli’ solved the issue. The ‘xnli’ folder was located within the same path as my python script.