# Having issues accessing tokenizer\_config.json for T5

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhaving-issues-accessing-tokenizer-config-json-for-t5%2F138851%3E%5C
**Category:** Models\
**Created:** [February 4, 2025, 4:19am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhaving-issues-accessing-tokenizer-config-json-for-t5%2F138851 "2025-02-04T04:19:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RoyalCities](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/royalcities/32/40337_2.png) [@RoyalCities](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRoyalCities)%5C
**Post date:** [February 4, 2025, 4:19am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhaving-issues-accessing-tokenizer-config-json-for-t5%2F138851%2F1 "2025-02-04T04:19:51Z")

</div>

Getting the following error about not being able to access tokenizer\_config.json…which doesnt appear to exist anymore?

```
raise HTTPError(http_error_msg, response=self)

```

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: [https://huggingface.co/t5-base/resolve/main/tokenizer\_config.json](https://huggingface.co/t5-base/resolve/main/tokenizer_config.json)

Repository Not Found for url: [https://huggingface.co/t5-base/resolve/main/tokenizer\_config.json](https://huggingface.co/t5-base/resolve/main/tokenizer_config.json).

For context this repo and existing code worked prior but for one reason or another the in-built HF downloader does not tag the correct config file for the repo? Or it’s been removed. Any assistance would be helpful.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [February 4, 2025, 7:14am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhaving-issues-accessing-tokenizer-config-json-for-t5%2F138851%2F2 "2025-02-04T07:14:01Z")

</div>

google-t5/t5-base  
How about this format for the repo name, not just t5-base?

> **[google-t5/t5-base · Hugging Face](https://huggingface.co/google-t5/t5-base)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

<div class="post-metadata">

**Author:** ![ajsbsd](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ajsbsd/32/48202_2.png) [@ajsbsd](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fajsbsd)%5C
**Post date:** [May 24, 2025, 8:57pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhaving-issues-accessing-tokenizer-config-json-for-t5%2F138851%2F4 "2025-05-24T20:57:18Z")

</div>

Can confirm google/t5-flan-base was the only thing I could load on HF for fine-tuning.

The other models I had to download locally to fine-tune/train.

---

<div class="post-metadata">

**Author:** ![Pimpcat-AU](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/pimpcat-au/32/48989_2.png) [@Pimpcat-AU](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPimpcat-AU)%5C
**Post date:** [June 10, 2025, 8:09pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhaving-issues-accessing-tokenizer-config-json-for-t5%2F138851%2F5 "2025-06-10T20:09:47Z")

</div>

Fix:

```
The repo is private or the file is missing.

Log in to Hugging Face with huggingface-cli login and set your token.

Or, use "t5-small" or "t5-base"—official repos, which are public and have the config file.

Example:

```

from transformers import AutoTokenizer  
tokenizer = AutoTokenizer.from\_pretrained(“t5-base”)

Solution provided by Triskel Data Deterministic AI.
