Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataSet WikiText103 Not Working #3

Open
lvxudong opened this issue Feb 26, 2024 · 0 comments
Open

DataSet WikiText103 Not Working #3

lvxudong opened this issue Feb 26, 2024 · 0 comments

Comments

@lvxudong
Copy link

  File "/home/pycharm-project/download_dataset.py", line 2, in <module>
    prenlp.data.WikiText103()
  File "/root/miniconda3/envs/py39-2/lib/python3.9/site-packages/prenlp/data/dataset/language_modeling.py", line 126, in __init__
    super(WikiText103, self)._download(to_path = self.root)
  File "/root/miniconda3/envs/py39-2/lib/python3.9/site-packages/prenlp/data/dataset/base.py", line 29, in _download
    unzip_archive(from_path, to_path)
  File "/root/miniconda3/envs/py39-2/lib/python3.9/site-packages/prenlp/data/utils.py", line 53, in unzip_archive
    with zipfile.ZipFile(from_path, 'r') as zfile:
  File "/root/miniconda3/envs/py39-2/lib/python3.9/zipfile.py", line 1266, in __init__
    self._RealGetContents()
  File "/root/miniconda3/envs/py39-2/lib/python3.9/zipfile.py", line 1333, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant