# Can't load tokenizer after fine-tuning

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-load-tokenizer-after-fine-tuning%2F23441%3E%5C
**Category:** Beginners\
**Created:** [September 21, 2022, 1:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-load-tokenizer-after-fine-tuning%2F23441 "2022-09-21T13:03:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![synapse](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/synapse/32/27883_2.png) [@synapse](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsynapse)%5C
**Post date:** [September 21, 2022, 1:03pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-load-tokenizer-after-fine-tuning%2F23441%2F1 "2022-09-21T13:03:01Z")

</div>

Hi, all!

I followed the `Emotion recognition in Greek speech using Wav2Vec2 ` notebook from [here](https://colab.research.google.com/github/m3hrdadfi/soxan/blob/main/notebooks/Emotion_recognition_in_Greek_speech_using_Wav2Vec2.ipynb#scrollTo=DocavTvQWIr_)

After finishing fine-tuning on my own data, I am getting the following error when trying to load the processor with  
`processor = Wav2Vec2Processor.from_pretrained(model_name)`

The error:

`OSError: Can't load tokenizer for '[/path/to/model/]checkpoint-860/'. If you were trying to load it from 'https://huggingface.co/models', Otherwise, make sure '[/path/to/model/]checkpoint-860/' is the correct path to a directory containing all relevant files for a Wav2Vec2CTCTokenizer tokenizer.`

Checking the `checkpoint` folder, there is no tokenizer file in there, am I missing something? The model is actually being saved by `Trainer()`. This is the content of the mentioned folder:  
 ![image](https://us1.discourse-cdn.com/hellohellohello/original/2X/2/26a057a3874dc74f3e7c627ce701e0d27a9f2b8f.png)

PD: the model loads correctly with  
`model = Wav2Vec2ForSpeechClassification.from_pretrained(model_name)`

---

<div class="post-metadata">

**Author:** ![Brizape](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@Brizape](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FBrizape)%5C
**Post date:** [March 1, 2023, 2:55pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-load-tokenizer-after-fine-tuning%2F23441%2F2 "2023-03-01T14:55:57Z")

</div>

I have the same problem, have you found a solution?
