Closed Huisw closed 2 years ago
bash ef_knnlm/adaptive_retrieval/train_ar.sh
Traceback (most recent call last): File "ef_knnlm/adaptive_retrieval/adaptive_retrieval.py", line 13, in from datasets import load_dataset ImportError: cannot import name 'load_dataset' from 'datasets' (unknown location)
how to get "datasets"?
I think you can just run pip install datasets
pip install datasets
🐛 Bug
bash ef_knnlm/adaptive_retrieval/train_ar.sh
Traceback (most recent call last): File "ef_knnlm/adaptive_retrieval/adaptive_retrieval.py", line 13, in
from datasets import load_dataset
ImportError: cannot import name 'load_dataset' from 'datasets' (unknown location)
how to get "datasets"?