Closed
Description
System Info
transformers
version: 4.46.0- Platform: Linux-5.15.0-203.146.5.1.el9uek.x86_64-x86_64-with-glibc2.34
- Python version: 3.11.5
- Huggingface_hub version: 0.24.6
- Safetensors version: 0.4.5
- Accelerate version: 0.34.2
- Accelerate config: not found
- PyTorch version (GPU?): 2.5.1+cu124 (False)
- Tensorflow version (GPU?): 2.17.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using distributed or parallel set-up in script?: No
Who can help?
@ylacombe, @eustlb, @patrickvonplaten
Information
- The official example scripts
- My own modified scripts
Tasks
- An officially supported task in the
examples
folder (such as GLUE/SQuAD, ...) - My own task or dataset (give details below)
Reproduction
I am trying to follow the instruction under this page on running facebook/wav2vec2-xlsr-53-espeak-cv-ft
model. But I encounter this error:
processor = Wav2Vec2Processor.from_pretrained("facebook/wav2vec2-lv-60-espeak-cv-ft")
.....
TypeError: Received a bool for argument tokenizer, but a PreTrainedTokenizerBase was expected.
Expected behavior
Loading and running the processor and model without error.