Load_dataset error:

Hi,
I’m a new to HuggingFace and I’m working through the LLM course.

From Chapter 3, I’m trying to load datasets in Jupyter Notebook using the following notebook cell:

from datasets import load_dataset
raw_datasets = load_dataset(“glue”, “mrpc”)

It then results in the following error:

OSError: [WinError 433] A device which does not exist was specified: ‘glue\state.json’

I ensured that I was logged into the appropriate token using:

!huggingface-cli whoami

I’ve also updated datasets, transformers etc to the most recent versions and I’m running Python 3.10.9

Has anyone come across this error? Or have any ideas on how to correct it?

1 Like

Seems OS behavior related error?
https://stackoverflow.com/questions/76538222/oserror-winerror-433-a-device-which-does-not-exist-was-specified-csv-files

In my env.

from datasets import load_dataset
raw_datasets = load_dataset("glue", "mrpc")
print(raw_datasets)
"""
DatasetDict({
    train: Dataset({
        features: ['sentence1', 'sentence2', 'label', 'idx'],
        num_rows: 3668
    })
    validation: Dataset({
        features: ['sentence1', 'sentence2', 'label', 'idx'],
        num_rows: 408
    })
    test: Dataset({
        features: ['sentence1', 'sentence2', 'label', 'idx'],
        num_rows: 1725
    })
})
"""