Comments (3)
@wntg, hello. It seems you are using an English-only model like tiny.en, small.en, etc.
Could you try again with other multilingual models ?
Ex:
from faster_whisper import WhisperModel
model = WhisperModel("large-v3", device="cuda")
segments, info = model.transcribe("audio.mp3", language="zh")
for segment in segments:
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
from faster-whisper.
@wntg, hello. It seems you are using an English-only model like tiny.en, small.en, etc. Could you try again with other multilingual models ? Ex:
from faster_whisper import WhisperModel model = WhisperModel("large-v3", device="cuda") segments, info = model.transcribe("audio.mp3", language="zh") for segment in segments: print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
I used large-v3:
model_size = "large-v3"
model = WhisperModel(model_size, device="cuda", compute_type="float16")
from faster-whisper.
It's a bit weird because "large-v3" is a multilingual model. This warning appears only with condition from here.
Could you show full code and attach your audio ?
from faster-whisper.
Related Issues (20)
- to_cpu isn't switching HOT 1
- initial_prompt used to the long speech HOT 1
- Issues with Capitalization and Punctuation in Transcribed Audios
- ImportError: cannot import name 'WhisperModel' from partially initialized module 'faster_whisper' (most likely due to a circular import) HOT 1
- Transcribe crash jupyter notebook kernels HOT 7
- Transcription contains unicode
- How to use the local cached model? HOT 5
- support for running through docker HOT 2
- Model not producing accurate transcriptions in Python HOT 12
- Gibberish Outputs HOT 3
- "Thanks for watching" shows up repeatedly HOT 6
- Faster-whisper issue with the latest NVIDIA 55x series drivers HOT 1
- Will it support c++/c just like whisper.cpp? HOT 2
- With `faster-distil-whisper-large-v3` or `large-v3`, `transcribe` instruction is ignored (it translates instead) HOT 3
- ON arm64 'for segment in segments' run a lot of time HOT 2
- Faster whisper loads the wrong tokenizer for whisper-large-v3 derivatives HOT 2
- Having issue in decoding audio chunks properly for fasterWhisper transcribe func
- finetuning encounter multiple errors on the 2nd step (Fine-tuning XTTS Encoder) HOT 1
- clip_timestamps does not work across multiple files [faster-whisper 1.0.2] HOT 3
- What are the ways to improve the speed of continuously recognizing multiple audio files? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faster-whisper.