Infersent: Download InferSent models via curl request failing

Created on 17 Oct 2018  路  7Comments  路  Source: facebookresearch/InferSent

I tried downloading both of the infersent models provided via link:
curl -Lo encoder/infersent1.pkl https://s3.amazonaws.com/senteval/infersent/infersent1.pkl curl -Lo encoder/infersent2.pkl https://s3.amazonaws.com/senteval/infersent/infersent2.pkl

Both of them throw same error:

Warning: Failed to create the file encode/infersent/allnli.pickle: No such file or directory

Is there an updated path to download them?

Most helpful comment

Still not working!

All 7 comments

The models are still there, you can check this in your browser by entering https://s3.amazonaws.com/senteval/infersent/infersent1.pkl or https://s3.amazonaws.com/senteval/infersent/infersent2.pkl respectively. You can also download from this source by a web browser.
The root of this cause is that there is no 'encoder' folder in the directory from which you are running curl. You can solve this by:

mkdir encoder
curl -Lo encoder/infersent1.pkl https://s3.amazonaws.com/senteval/infersent/infersent1.pkl
curl -Lo encoder/infersent2.pkl https://s3.amazonaws.com/senteval/infersent/infersent2.pkl

Hi

I am witnessing the same problem.

curl -Lo encoder/infersent2.pkl https://s3.amazonaws.com/senteval/infersent/infersent2.pkl

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NoSuchBucket</Code><Message>The specified bucket does not exist</Message><BucketName>senteval</BucketName><RequestId>D37F88F72AE3A33C</RequestId><HostId>
GRJyTXLYwtXSO7Zf+EgBQKcuM9xEBQ/1SiVDWddgcafTjGLd3Sct7xN6WCJhyL6V4boncB8Z62c=</HostId></Error>

@tsiq-peyman I created the issue: https://github.com/facebookresearch/InferSent/issues/109
There are temporary links specified there

@tsiq-peyman I created the issue: #109
There are temporary links specified there

Just wanted to mention that I am not affiliated with Facebook. The models on google drive are only there temporarily.

So how can one use infersent?

See the updated documentation: we moved to a different S3 bucket and the the new command to get the models is

curl -Lo examples/infersent1.pkl https://dl.fbaipublicfiles.com/senteval/infersent/infersent1.pkl
curl -Lo examples/infersent2.pkl https://dl.fbaipublicfiles.com/senteval/infersent/infersent2.pkl

Still not working!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dami23 picture dami23  路  9Comments

antoinecomp picture antoinecomp  路  3Comments

LeenaShekhar picture LeenaShekhar  路  3Comments

Priya22 picture Priya22  路  7Comments

hitzkrieg picture hitzkrieg  路  3Comments