# Error on creating the Wav2Vec2CTCTokenizer

**URL:** <https://discuss.huggingface.co/t/error-on-creating-the-wav2vec2ctctokenizer/24086>\
**Category:** Beginners\
**Created:** [October 6, 2022, 5:53pm UTC](https://discuss.huggingface.co/t/error-on-creating-the-wav2vec2ctctokenizer/24086 "2022-10-06T17:53:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aciobanitei](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@aciobanitei](https://discuss.huggingface.co/u/aciobanitei)\
**Post date:** [October 6, 2022, 5:53pm UTC](https://discuss.huggingface.co/t/error-on-creating-the-wav2vec2ctctokenizer/24086/1 "2022-10-06T17:53:03Z")

</div>

Hi,

I tried to follow tutorial [Google Colab](https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/Fine_Tune_XLS_R_on_Common_Voice.ipynb#scrollTo=V7YOT2mnUiea) in order to finetune a wav2vec model.  
I generated my dicitonary for the chosen dataset.  
Still, I encounter an error when I try to create the tokenizer.

python line: tokenizer = Wav2Vec2CTCTokenizer.from\_pretrained(“./”, unk\_token=“[UNK]”, pad\_token=“[PAD]”, word\_delimiter\_token=" ")

response: Traceback (most recent call last):  
File “”, line 1, in   
File “/home/some\_user/anaconda3/envs/some\_conda\_space/lib/python3.10/site-packages/transformers/tokenization\_utils\_base.py”, line 1764, in from\_pretrained  
raise EnvironmentError(  
OSError: Can’t load tokenizer for ‘./’. If you were trying to load it from ‘[Models - Hugging Face](https://huggingface.co/models)’, make sure you don’t have a local directory with the same name. Otherwise, make sure ‘./’ is the correct path to a directory containing all relevant files for a Wav2Vec2CTCTokenizer tokenizer.

If I understood it corectly, I cannot go forward to finetune the model since I don’t have a tokenizer available.

Can anyone help in this matter?
