Thai Faster-Whisper
Collection
2 items
•
Updated
•
1
ที่เก็บข้อมูลนี้มีไฟล์ที่แปลงจาก biodatlab/whisper-th-medium-combined ไปเป็นรูปแบบโมเดลของ CTranslate2.
โมเดลนี้สามารถใช้ได้ใน CTranslate2 หรือโปรเจกต์ที่พัฒนาต่อจาก CTranslate2 เช่น faster-whisper.
from faster_whisper import WhisperModel
model = WhisperModel("Vinxscribe/biodatlab-whisper-th-medium-faster")
segments, info = model.transcribe("audio.mp3")
for segment in segments:
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
Base model
openai/whisper-medium