Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,30 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- th
|
4 |
+
tags:
|
5 |
+
- audio
|
6 |
+
- automatic-speech-recognition
|
7 |
+
license: mit
|
8 |
+
library_name: ctranslate2
|
9 |
+
base_model:
|
10 |
+
- biodatlab/whisper-th-large-v3-combined
|
11 |
+
pipeline_tag: automatic-speech-recognition
|
12 |
+
---
|
13 |
+
|
14 |
+
# Whisper Large V3 (Thai): Combined V1 model for CTranslate2
|
15 |
+
|
16 |
+
ที่เก็บข้อมูลนี้มีไฟล์ที่แปลงจาก [biodatlab/whisper-th-large-v3-combined](https://huggingface.co/biodatlab/whisper-th-large-v3-combined) ไปเป็นรูปแบบโมเดลของ [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/whisper-th-large-v3-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 |
+
```
|