-
Notifications
You must be signed in to change notification settings - Fork 178
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 retriever fails when trying to download gated dataset #371
Comments
Hey @saum7800, I took a look at this and if you read the error, it says that the dataset may be private or gated. There are two solutions to this:
"1." is a solution for this dataset, but you might always run into a new dataset that has problems, so I think "2." will need to be implemented. There are two ways that we could do this:
Maybe we could just go with the first option for now. |
Right, that makes sense! In prompt2model_demo.py and .ipynb, user manually selects the dataset number/name. maybe it makes sense to inform the user that the dataset is gated and they should select another one from the retrieved datasets (assuming huggingface allows us to programatically know a dataset is gated). Does that sound right? |
Yep. And in the worst case you could always catch the exception and programmatically parse the error message to see if it indicates that the model is gated. |
This will be resolved once reranking PR is merged! |
Here is the output from my prompt_spec:
Got the following error when trying to retrieve the dataset
The text was updated successfully, but these errors were encountered: