allenai / scifact

Data and models for the SciFact verification task.
Other
225 stars 25 forks source link

Cannot download pre-trained models #11

Closed rajaln-3197 closed 3 years ago

rajaln-3197 commented 3 years ago

I was trying to download the pretrained models but I keep getting the error that access is denied to AWS. Please help with resolving this problem. Thanks!

./script/download-model.sh [model-component] [bert-variant] [training-dataset]
Warning: wildcards not supported in HTTP.
--2021-02-08 11:25:17--  https://scifact.s3-us-west-2.amazonaws.com/release/latest/models/[model-component]_[bert-variant]_[training-dataset].tar.gz
Resolving scifact.s3-us-west-2.amazonaws.com (scifact.s3-us-west-2.amazonaws.com)... 52.218.234.9
Connecting to scifact.s3-us-west-2.amazonaws.com (scifact.s3-us-west-2.amazonaws.com)|52.218.234.9|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-02-08 11:25:17 ERROR 403: Forbidden.

tar (child): model/[model-component]_[bert-variant]_[training-dataset].tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: cannot remove ‘model/[model-component]_[bert-variant]_[training-dataset].tar.gz’: No such file or directory
dwadden commented 3 years ago

Thanks for your interest! You need to select an option for each of the arguments. See the documentation.

For instance, you could do ./script/download-model.sh rationale roberta_large scifact.

Closing this; feel free to reopen if this doesn't solve your problem.