Vinxscribe's picture
Update README.md
af076ce verified
metadata
language:
  - ja
tags:
  - audio
  - automatic-speech-recognition
license: apache-2.0
library_name: ctranslate2
base_model:
  - kotoba-tech/kotoba-whisper-v2.2
pipeline_tag: automatic-speech-recognition

Kotoba-Whisper-v2.2 model for CTranslate2

ที่เก็บข้อมูลนี้มีไฟล์ที่แปลงจาก kotoba-tech/kotoba-whisper-v2.2 ไปเป็นรูปแบบโมเดลของ CTranslate2.

โมเดลนี้สามารถใช้ได้ใน CTranslate2 หรือโปรเจกต์ที่พัฒนาต่อจาก CTranslate2 เช่น faster-whisper.

ตัวอย่างการใช้งาน

from faster_whisper import WhisperModel

model = WhisperModel("Vinxscribe/kotoba-whisper-v2.2-faster")

segments, info = model.transcribe("audio.mp3")
for segment in segments:
    print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))