difficulty in Downloading the dataset

#1
by satya8484 - opened

How can i Download the dataset please guide for this ?
i tried with

from datasets import load_dataset

# Load the dataset for Xhosa ('xho')
data = load_dataset("masakhane/masakhapos", "xho")

# You can also try other languages like 'yor' (Yoruba), 'swa' (Swahili), etc.
print(data) 

but got the error

'''error
File "/home/satyam/miniconda3/envs/test_env/lib/python3.11/site-packages/datasets/load.py", line 1036, in dataset_module_factory
raise e1 from None
File "/home/satyam/miniconda3/envs/test_env/lib/python3.11/site-packages/datasets/load.py", line 994, in dataset_module_factory
raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
RuntimeError: Dataset scripts are no longer supported, but found masakhapos.py
```

Sign up or log in to comment