davidggphy commited on
Commit
2bb994b
·
1 Parent(s): 59f5d47

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - dv
4
+ metrics:
5
+ - wer
6
+ - cer
7
+ pipeline_tag: automatic-speech-recognition
8
+ tags:
9
+ - audio
10
+ - automatic-speech-recognition
11
+ license: mit
12
+ library_name: ctranslate2
13
+ ---
14
+
15
+ # Whisper small-dv model for CTranslate2
16
+
17
+ This repository contains the conversion of [whisper-small-dv](https://huggingface.co/davidggphy/whisper-small-dv) to the [CTranslate2](https://github.com/OpenNMT/CTranslate2) model format.
18
+ The model is a finetuned version of openai/whisper-small to Divehi language using the [Common Voice 13 dataset](https://huggingface.co/datasets/mozilla-foundation/common_voice_13_0)
19
+ This model can be used in CTranslate2 or projects based on CTranslate2 such as [faster-whisper](https://github.com/guillaumekln/faster-whisper).
20
+
21
+ ## Example
22
+
23
+ ```python
24
+ from faster_whisper import WhisperModel
25
+
26
+ model = WhisperModel("whisper-small-dv-ct2")
27
+
28
+ segments, info = model.transcribe("audio.mp3")
29
+ for segment in segments:
30
+ print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
31
+ ```
32
+
33
+ ## Conversion details
34
+
35
+ The original model was converted with the following command:
36
+
37
+ ```
38
+ ct2-transformers-converter --model davidggphy/whisper-small-dv --output_dir whisper-small-dv-ct2 --copy_files tokenizer.json --quantization float16
39
+ ```
40
+
41
+ Note that the model weights are saved in FP16. This type can be changed when the model is loaded using the [`compute_type` option in CTranslate2](https://opennmt.net/CTranslate2/quantization.html).
42
+
43
+ ## More information
44
+
45
+ **For more information about the original model, see its [model card](https://huggingface.co/davidggphy/whisper-small-dv).**
46
+ ---