question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection timed out

See original GitHub issue

Are these models still available to download? I am trying out the Semantic Similarity example, but when I download the model:

embedder = SentenceTransformer('bert-base-nli-mean-tokens'),

I get a Connection Error:

ConnectionError: HTTPSConnectionPool(host=‘public.ukp.informatik.tu-darmstadt.de’, port=443): Max retries exceeded with url: /reimers/sentence-transformers/v0.2/bert-base-nli-mean-tokens.zip (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x151808128>: Failed to establish a new connection: [Errno 60] Operation timed out’,))

I checked my network settings, and everything looks fine: no proxies, I can download models from other packages, no firewall.

Anyone had the same issue?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
nreimerscommented, Jan 23, 2020

Hi @AMChierici If the automatic download does not work, you can find all models here: https://public.ukp.informatik.tu-darmstadt.de/reimers/sentence-transformers/v0.2/

Download it, unzip it and then you can get the embedder like this:

embedder = SentenceTransformer('path/to/unzipped/model')
0reactions
nreimerscommented, Sep 2, 2020

There is currently a power outage. I hope the server is back up soon.

You can also access the models via huggingface https://huggingface.co/sentence-transformers/bert-base-nli-mean-tokens

This is how you load them from huggingface https://sbert.net/docs/training/overview.html#creating-networks-from-scratch

As model name put sentence-transformers/bert-…

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the ERR_CONNECTION_TIMED_OUT Error - Kinsta
According to the WordPress support documentation, a connection timed out error appears when your website is trying to do more than your ...
Read more >
[SOLVED] How to Fix the ERR_CONNECTION_TIMED_OUT ...
An 'err connection timed out' error is something that can be easily fixed by updating your system's network adapter driver. We recommend using ......
Read more >
What Does a Server Connection Timeout Mean?
A server connection timeout means that a server is taking too long to reply to a data request made from another device. Timeouts...
Read more >
11 Ways to Fix the ERR_CONNECTION_TIMED_OUT Error
The connection timed out error isn't a dangerous error, nor is it an infected file that can harm your computer.
Read more >
How to Fix the ERR_CONNECTION_TIMED_OUT Error
ERR_CONNECTION_TIMED_OUT, also called the timeout error, means a website took too long to respond to the browser's request. Generally, a site ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found