Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.48 KB

README_en.md

File metadata and controls

36 lines (26 loc) · 1.48 KB

Windows Desktop

简体中文 | English

Disclaimer, this document was obtained through machine translation, please check the original document here.

The program was translated using Whisper, and the source code can be found in the previous project. The model format is GGML, which is the same as the Android deployment, so you'll need to convert the model format before you can use it.

Convert model

  1. To start by cloning the Whisper native source code, as we need some of its files, run the following command from the root of the whisper-finetune project.
git clone https://github.com/openai/whisper.git
  1. To convert your models, run convert-ggml.py from the root of your Whisper-Finetune project to convert your models to ggml format for your Android project. The models you need to convert can be original Transformers. It can also be a fine-tuned model.
python convert-ggml.py --model_dir=models/whisper-tiny-finetune/ --whisper_dir=whisper/ --output_path=models/whisper-tiny-finetune-ggml.bin

Effect picture

效果图如下:

Windows桌面应用效果图
图1:加载模型页面
Windows桌面应用效果图
图2:选择音频文件转录
Windows桌面应用效果图
图3:录音转录