Views
No views yet
whisper-large-v3-ft-verbatim-cy-en-ct2, a conversion of the techiaith/whisper-large-v3-ft-verbatim-cy-en
fine-tuned OpenAI whisper model to the CTranslate2 format. This conversion allows for significantly faster and more efficient
inference, particularly on CPU and with batching.1from faster_whisper import WhisperModel
2
3audio_file_path=<path to your audio file>
4
5model = WhisperModel("techiaith/whisper-large-v3-ft-verbatim-cy-en-ct2")
6segments, info = model.transcribe(audio_file_path, beam_size=5)
7
8print("Detected language '%s' with probability %f" % (info.language, info.language_probability))
9for segment in segments:
10 print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))Detected language 'cy' with probability 0.999987
[0.00s -> 4.24s] Dwi teimlo weithie unwaith ti'n cyfadda bo' na rwbath yn bod ma'n wir wedyn dydi?