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

tevatron.retriever.dataset unfound #2

Open
IIEzhangzm opened this issue Jun 17, 2024 · 1 comment
Open

tevatron.retriever.dataset unfound #2

IIEzhangzm opened this issue Jun 17, 2024 · 1 comment

Comments

@IIEzhangzm
Copy link

tevatron.retriever.dataset unfound in tevatron files,may other version?

Traceback (most recent call last):
File "/workspace/projects/PromptReps-main/encode.py", line 17, in
from dataset import PromptRepsEncodeDataset, PromptRepsEncodeCollator
File "/workspace/projects/PromptReps-main/dataset.py", line 3, in
from tevatron.retriever.dataset import EncodeDataset, TrainDataset
ModuleNotFoundError: No module named 'tevatron.retriever'

@ArvinZhuang
Copy link
Collaborator

hi @IIEzhangzm
How did you install the tevatron? you should install it from the source by cloning the latest repo (tevatron v2).

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

2 participants