CoolFace
Modelpublic

Systran/faster-whisper-tiny

sourceHugging Facemitupdated 3y agoView on Hugging Face
28likes2.5mdownloads
README.md141 linesDownload Raw Back to root
1---2language:3  - en4  - zh5  - de6  - es7  - ru8  - ko9  - fr10  - ja11  - pt12  - tr13  - pl14  - ca15  - nl16  - ar17  - sv18  - it19  - id20  - hi21  - fi22  - vi23  - he24  - uk25  - el26  - ms27  - cs28  - ro29  - da30  - hu31  - ta32  - 'no'33  - th34  - ur35  - hr36  - bg37  - lt38  - la39  - mi40  - ml41  - cy42  - sk43  - te44  - fa45  - lv46  - bn47  - sr48  - az49  - sl50  - kn51  - et52  - mk53  - br54  - eu55  - is56  - hy57  - ne58  - mn59  - bs60  - kk61  - sq62  - sw63  - gl64  - mr65  - pa66  - si67  - km68  - sn69  - yo70  - so71  - af72  - oc73  - ka74  - be75  - tg76  - sd77  - gu78  - am79  - yi80  - lo81  - uz82  - fo83  - ht84  - ps85  - tk86  - nn87  - mt88  - sa89  - lb90  - my91  - bo92  - tl93  - mg94  - as95  - tt96  - haw97  - ln98  - ha99  - ba100  - jw101  - su102tags:103  - audio104  - automatic-speech-recognition105license: mit106library_name: ctranslate2107---108 109# Whisper tiny model for CTranslate2110 111This repository contains the conversion of [openai/whisper-tiny](https://huggingface.co/openai/whisper-tiny) to the [CTranslate2](https://github.com/OpenNMT/CTranslate2) model format.112 113This model can be used in CTranslate2 or projects based on CTranslate2 such as [faster-whisper](https://github.com/systran/faster-whisper).114 115## Example116 117```python118from faster_whisper import WhisperModel119 120model = WhisperModel("tiny")121 122segments, info = model.transcribe("audio.mp3")123for segment in segments:124    print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))125```126 127## Conversion details128 129The original model was converted with the following command:130 131```132ct2-transformers-converter --model openai/whisper-tiny --output_dir faster-whisper-tiny \133    --copy_files tokenizer.json --quantization float16134```135 136Note 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).137 138## More information139 140**For more information about the original model, see its [model card](https://huggingface.co/openai/whisper-tiny).**141