Vinxscribe commited on
Commit
9ca765b
·
verified ·
1 Parent(s): 0dcf1d4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -3
README.md CHANGED
@@ -1,3 +1,30 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - th
4
+ tags:
5
+ - audio
6
+ - automatic-speech-recognition
7
+ license: apache-2.0
8
+ library_name: ctranslate2
9
+ base_model:
10
+ - kotoba-tech/kotoba-whisper-v2.2
11
+ pipeline_tag: automatic-speech-recognition
12
+ ---
13
+
14
+ # Kotoba-Whisper-v2.2 model for CTranslate2
15
+
16
+ ที่เก็บข้อมูลนี้มีไฟล์ที่แปลงจาก [kotoba-tech/kotoba-whisper-v2.2](https://huggingface.co/kotoba-tech/kotoba-whisper-v2.2) ไปเป็นรูปแบบโมเดลของ [CTranslate2](https://github.com/OpenNMT/CTranslate2).
17
+
18
+ โมเดลนี้สามารถใช้ได้ใน CTranslate2 หรือโปรเจกต์ที่พัฒนาต่อจาก CTranslate2 เช่น [faster-whisper](https://github.com/systran/faster-whisper).
19
+
20
+ ## ตัวอย่างการใช้งาน
21
+
22
+ ```python
23
+ from faster_whisper import WhisperModel
24
+
25
+ model = WhisperModel("Vinxscribe/kotoba-whisper-v2.2-faster")
26
+
27
+ segments, info = model.transcribe("audio.mp3")
28
+ for segment in segments:
29
+ print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
30
+ ```