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

**URL:** <https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160>\
**Category:** 🤗Transformers\
**Created:** [May 9, 2023, 3:56am UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160 "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](https://discuss.huggingface.co/u/selucca)\
**Post date:** [May 9, 2023, 3:56am UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/1 "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](https://discuss.huggingface.co/u/waghjalesiddhant)\
**Post date:** [May 9, 2023, 4:37am UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/2 "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](https://discuss.huggingface.co/u/Aayushee)\
**Post date:** [May 9, 2023, 5:52am UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/3 "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](https://discuss.huggingface.co/u/tjmooney98)\
**Post date:** [May 9, 2023, 10:21am UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/4 "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](https://discuss.huggingface.co/u/data-penny)\
**Post date:** [May 9, 2023, 1:53pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/5 "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](https://discuss.huggingface.co/u/joaopedrofp)\
**Post date:** [May 9, 2023, 1:55pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/6 "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](https://discuss.huggingface.co/u/jmskinner)\
**Post date:** [May 9, 2023, 2:02pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/7 "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](https://discuss.huggingface.co/u/jburns)\
**Post date:** [May 9, 2023, 2:17pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/8 "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](https://discuss.huggingface.co/u/radames)\
**Post date:** [May 9, 2023, 3:27pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/9 "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](https://discuss.huggingface.co/u/sh-mirzargar)\
**Post date:** [May 9, 2023, 3:53pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/10 "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](https://discuss.huggingface.co/u/dtsuki)\
**Post date:** [May 9, 2023, 4:19pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/11 "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](https://discuss.huggingface.co/u/radames)\
**Post date:** [May 9, 2023, 5:03pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/12 "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](https://discuss.huggingface.co/u/selucca)\
**Post date:** [May 10, 2023, 6:09pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/13 "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](https://discuss.huggingface.co/u/radames)\
**Post date:** [May 10, 2023, 6:12pm UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/14 "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](https://discuss.huggingface.co/u/JorgeMTT97)\
**Post date:** [May 26, 2023, 12:33am UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/15 "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](https://discuss.huggingface.co/u/radames)\
**Post date:** [May 26, 2023, 3:37am UTC](https://discuss.huggingface.co/t/404-error-while-accessing-bert-base-nli-mean-tokens/39160/16 "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.
