-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solved: TypeError: TranscriptionOptions.__new__() got an unexpected keyword argument 'max_new_tokens' #711
Comments
Seems new faster-whisper broke it For me |
I'm wondering would WhisperX work with https://github.com/SYSTRAN/faster-whisper/releases/tag/v1.0.0 ? |
Hi, I just solved the problem
Yes, I just tried and it worked perfect now. Problem Solved: |
Hi, how do you override the faster-whisper from |
after installing whisperx you can do this: pip install --upgrade faster-whisper==1.0.0 |
Hi, you can modify, clone and install in editable mode using the instruction like in Readme.txt: |
TypeError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/whisperx/asr.py in load_model(whisper_arch, device, device_index, compute_type, asr_options, language, vad_model_fp, vad_options, model, task, download_root, threads) TypeError: TranscriptionOptions.new() missing 3 required positional arguments: 'max_new_tokens', 'clip_timestamps', and 'hallucination_silence_threshold' i am still gettting this error after upgrading faster-whisper to 1.0.0 |
I just tried to install it on colab and it ran so I don't know why you still had that problem |
Hi @sushk0841 , This way is working for my now: pip install whisperx==3.1.1 I still haven't tried what @longdaothanh said |
Update 2: Update: pip install -U speechbrain==0.5.16 Because of this #723 |
For me, the latest working version of WhisperX, with the capability of using Cuda 11.8 is: |
@longdaothanh are you satisfied this issue has now been solved? if so, could you close it please. Thank you. |
TypeError: TranscriptionOptions.new() got an unexpected keyword argument 'max_new_tokens'
Anyone has an idea how to fix this or has similar issues?
Problem Solved:
Change faster-whisper~=0.10.0 in requirements.txt to the newest version 1.0.0 then install -> working
The text was updated successfully, but these errors were encountered: