# Unable to load saved tokenizer

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-load-saved-tokenizer%2F86631%3E%5C
**Category:** 🤗Tokenizers\
**Created:** [May 14, 2024, 9:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-load-saved-tokenizer%2F86631 "2024-05-14T09:05:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![willsaliba](https://avatars.discourse-cdn.com/v4/letter/w/a698b9/32.png) [@willsaliba](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fwillsaliba)%5C
**Post date:** [May 14, 2024, 9:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Funable-to-load-saved-tokenizer%2F86631%2F1 "2024-05-14T09:05:26Z")

</div>

I’m able to successfully train and save my tokenizer but then i cant reload it.

```auto
tokenizer.save(tokenizer_save_path+"tokenizer.json") #works
newTokenizer = Tokenizer.from_file(tokenizer_save_path+"tokenizer.json") #breaks

```

I always get this error:  
Exception: data did not match any variant of untagged enum ModelWrapper at line 3258 column 3
