RASMUS's picture
Update README.md
1a34264
|
raw
history blame
516 Bytes
metadata
license: apache-2.0
language:
  - fi
tags:
  - speech-recognition

Repo for files to be used with faster-whisper (Tested with versio 0.10

```python import faster_whisper model = faster_whisper.WhisperModel("Finnish-NLP/whisper-large-finnish-v3-ct2") print("model loaded")

segments, info = model.transcribe(audio_path, word_timestamps=True, beam_size=5, language='fi')

for segment in segments: for word in segment.words: print("[%.2fs -> %.2fs] %s" % (word.start, word.end, word.word)) ```