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

ja dataset seems to have one line without text #1

Open
PhilipMay opened this issue Mar 20, 2021 · 1 comment
Open

ja dataset seems to have one line without text #1

PhilipMay opened this issue Mar 20, 2021 · 1 comment

Comments

@PhilipMay
Copy link
Owner

See here

/home/mike/.cache/huggingface/datasets/downloads/f12d10e84012b8e838b51ba4b122f22ffaecca1178a0925e88b8aefd5579c034 {'sentence1': '', 'sentence2': '', 'similarity_score': '1.2'}
Traceback (most recent call last):     
  File "x.py", line 5, in <module>
    dataset = load_dataset('stsb_multi_mt', LANG, split='train')
  File "/home/mike/dev/fork/datasets/src/datasets/load.py", line 741, in load_dataset
    builder_instance.download_and_prepare(
  File "/home/mike/dev/fork/datasets/src/datasets/builder.py", line 578, in download_and_prepare
    self._download_and_prepare(
  File "/home/mike/dev/fork/datasets/src/datasets/builder.py", line 656, in _download_and_prepare
    self._prepare_split(split_generator, **prepare_split_kwargs)
  File "/home/mike/dev/fork/datasets/src/datasets/builder.py", line 976, in _prepare_split
    for key, record in utils.tqdm(
  File "/home/mike/miniconda3/envs/datasets-dev/lib/python3.8/site-packages/tqdm/std.py", line 1133, in __iter__
    for obj in iterable:
  File "/home/mike/.cache/huggingface/modules/datasets_modules/datasets/stsb_multi_mt/c37541c03e69560a27343e49c46f9aac2701c64c1b712c6e21ab9791c87eb43e/stsb_multi_mt.py", line 144, in _generate_examples
    assert len(row['sentence1'].strip()) > 0
AssertionError
@PhilipMay
Copy link
Owner Author

link to line with issue

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