Having trouble getting the model, first time trying this out

#1
by ZaidRox1234 - opened

Hi Machine Learning People,
I'm trying to use this pretrained model as part of another project, I'm kind of new to this and not all too sure on how things work around here, but typically I just try and load the model however this time it's giving me an error that I don't have some tokenizer, any help would be greatly appreciated, Cheers.

I tried adding a "tokenizer_class": "Wav2Vec2CTCTokenizer" to the config.json but that didn't work.

Error message is as follows:
OSError: Can't load tokenizer for 'MelodyMachine/Deepfake-audio-detection-V2'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'MelodyMachine/Deepfake-audio-detection-V2' is the correct path to a directory containing all relevant files for a Wav2Vec2CTCTokenizer tokenizer.

Melody Machine org

Hey, sorry for the late response,

You're facing this error because the model doesn't contain a tokenizer since it is only for classification purposes.

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment