# 404 error while accessing bert-base-nli-mean-tokens

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%3E%5C
**Category:** 🤗Transformers\
**Created:** [May 9, 2023, 3:56am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160 "2023-05-09T03:56:52Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![selucca](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@selucca](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fselucca)%5C
**Post date:** [May 9, 2023, 3:56am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F1 "2023-05-09T03:56:52Z")

</div>

My python code throws error while loading sentence-transformer/bert-base-nli-mean-tokens model.

---

<div class="post-metadata">

**Author:** ![waghjalesiddhant](https://avatars.discourse-cdn.com/v4/letter/w/3ec8ea/32.png) [@waghjalesiddhant](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fwaghjalesiddhant)%5C
**Post date:** [May 9, 2023, 4:37am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F2 "2023-05-09T04:37:04Z")

</div>

I’m also facing the same issue

---

<div class="post-metadata">

**Author:** ![Aayushee](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@Aayushee](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FAayushee)%5C
**Post date:** [May 9, 2023, 5:52am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F3 "2023-05-09T05:52:49Z")

</div>

I am also facing access issues for any sentence transformer model. Do we need to use any specific version of the library?

---

<div class="post-metadata">

**Author:** ![tjmooney98](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@tjmooney98](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Ftjmooney98)%5C
**Post date:** [May 9, 2023, 10:21am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F4 "2023-05-09T10:21:49Z")

</div>

I’m also having the same issue, currently cannot access; “all-mpnet-base-v2”, “all-MiniLM-L12-v2”, “all-MiniLM-L6-v2” models. I’m sure there are more with the same Error 404.

---

<div class="post-metadata">

**Author:** ![data-penny](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@data-penny](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdata-penny)%5C
**Post date:** [May 9, 2023, 1:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F5 "2023-05-09T13:53:27Z")

</div>

Also facing the exact same issue for multi-lingual models like “distiluse-base-multilingual-cased-v2”. Everything was working fine a few days ago. Lot of models with Error 404 today, looks like something is broken?

---

<div class="post-metadata">

**Author:** ![joaopedrofp](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@joaopedrofp](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjoaopedrofp)%5C
**Post date:** [May 9, 2023, 1:55pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F6 "2023-05-09T13:55:47Z")

</div>

Been facing the same issue here. Apparently, sentence-transformers are all returning error 404.

---

<div class="post-metadata">

**Author:** ![jmskinner](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jmskinner](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjmskinner)%5C
**Post date:** [May 9, 2023, 2:02pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F7 "2023-05-09T14:02:49Z")

</div>

Seeing this as well for the LABSE variant, anyone have an idea if this is a server issue or if HF just decided to nuke the sentence transformer library?

---

<div class="post-metadata">

**Author:** ![jburns](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jburns](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjburns)%5C
**Post date:** [May 9, 2023, 2:17pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F8 "2023-05-09T14:17:20Z")

</div>

I am also having the same issue. I have tried to access multiple sentence transformers as well.

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fradames)%5C
**Post date:** [May 9, 2023, 3:27pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F9 "2023-05-09T15:27:41Z")

</div>

Sentence Transformers are back online, sorry for the temporary disruption

> **[sentence-transformers (Sentence Transformers)](https://huggingface.co/sentence-transformers)**
>
> In the following you find models tuned to be used for sentence / text embedding generation. They can be used with the sentence-transformers package.

---

<div class="post-metadata">

**Author:** ![sh-mirzargar](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@sh-mirzargar](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsh-mirzargar)%5C
**Post date:** [May 9, 2023, 3:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F10 "2023-05-09T15:53:56Z")

</div>

Hello,  
I am brand new to the Huggingface library. I am trying to use the keyBert and I get a 404 error. Is this a temporary thing? Kindly find below my code:

```auto
from keybert import KeyBERT
kw_model = KeyBERT()

```

Error message: HTTPError: 404 Client Error: Not Found for url: [https://huggingface.co/api/models/sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/api/models/sentence-transformers/all-MiniLM-L6-v2)

---

<div class="post-metadata">

**Author:** ![dtsuki](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@dtsuki](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdtsuki)%5C
**Post date:** [May 9, 2023, 4:19pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F11 "2023-05-09T16:19:18Z")

</div>

Hi, instead of 404s, I see 401s instead now.

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fradames)%5C
**Post date:** [May 9, 2023, 5:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F12 "2023-05-09T17:03:05Z")

</div>

hi @sh-mirzargar and @dtsuki , please try it again, it’s back online, sorry for the disruption.

> **[sentence-transformers/all-MiniLM-L6-v2 · Hugging Face](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

<div class="post-metadata">

**Author:** ![selucca](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@selucca](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fselucca)%5C
**Post date:** [May 10, 2023, 6:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F13 "2023-05-10T18:09:21Z")

</div>

Hey @radames , if in case, I store the BERT Model as a “.pt” file and load it during the disruption, I hope it may work right?

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fradames)%5C
**Post date:** [May 10, 2023, 6:12pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F14 "2023-05-10T18:12:26Z")

</div>

hi @selucca ,

You probably want to download the whole repo, you can follow this guide here on how to user transformers offline, i.e. how to cache all required tokenizers, models etc.

> **[Installation](https://huggingface.co/docs/transformers/installation#fetch-models-and-tokenizers-to-use-offline)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

<div class="post-metadata">

**Author:** ![JorgeMTT97](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@JorgeMTT97](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJorgeMTT97)%5C
**Post date:** [May 26, 2023, 12:33am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F15 "2023-05-26T00:33:10Z")

</div>

Hi @radames.

Seems like the spanish versions of BERT `'dccuchile/bert-base-spanish-wwm-cased'` and `'dccuchile/bert-base-spanish-wwm-uncased`’ are also offline.

Any help would be appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fradames)%5C
**Post date:** [May 26, 2023, 3:37am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2F404-error-while-accessing-bert-base-nli-mean-tokens%2F39160%2F16 "2023-05-26T03:37:42Z")

</div>

hi @JorgeMTT97 , both are working for me at the moment

> **[dccuchile/bert-base-spanish-wwm-cased at main](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased/tree/main)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

> **[dccuchile/bert-base-spanish-wwm-uncased at main](https://huggingface.co/dccuchile/bert-base-spanish-wwm-uncased/tree/main)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.
