We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug IRDS corpus_iter are not subscriptable
To Reproduce
dataset = pt.get_dataset('irds:msmarco-passage') corpus = dataset.get_corpus_iter()[2824500:2824700]
Expected behavior IRDS are itself subscriptable, so this should work
Additional context
The GeneratorLen object in PyTerrier is the problem - see https://github.com/terrier-org/pyterrier/blob/master/pyterrier/datasets.py#L30-L39
The text was updated successfully, but these errors were encountered:
addresses #315 IRDS corpus_iter are not subscriptable
9ee1f5e
For future reference, the API is now: def get_corpus_iter(self, verbose=True, start=0, count=None): for IRDS datasets
def get_corpus_iter(self, verbose=True, start=0, count=None):
Sorry, something went wrong.
3ba46c2
Successfully merging a pull request may close this issue.
Describe the bug
IRDS corpus_iter are not subscriptable
To Reproduce
Expected behavior
IRDS are itself subscriptable, so this should work
Additional context
The GeneratorLen object in PyTerrier is the problem - see https://github.com/terrier-org/pyterrier/blob/master/pyterrier/datasets.py#L30-L39
The text was updated successfully, but these errors were encountered: