返回模型
说明文档
OVOS - Whisper Small 葡萄牙语
该模型是 remynd/whisper-small-pt 模型的 ONNX 格式导出版本, 便于在边缘设备和基于 CPU 的推理环境中使用。
依赖
导出基于以下工具:
依赖可通过以下命令安装:
$ pip install optimum[onnxruntime] onnx-asr
用法
import onnx_asr
model = onnx_asr.load_model("OpenVoiceOS/whisper-small-pt-onnx")
print(model.recognize("test.wav"))
导出
参考 onnx-asr/convert-model-to-onnx):
$ export FORCE_ONNX_EXTERNAL_DATA=1
$ optimum-cli export onnx --task automatic-speech-recognition-with-past --model remynd/whisper-small-pt whisper-onnx
$ cd whisper-onnx && rm decoder.onnx* decoder_with_past_model.onnx* # only the merged decoder is needed
许可证
许可证源自原始模型:Apache 2.0。更多详情请参阅 remynd/whisper-small-pt。
OpenVoiceOS/whisper-small-pt-onnx
作者 OpenVoiceOS
↓ 18
♥ 0
创建时间: 2026-02-23 11:45:17+00:00
更新时间: 2026-02-23 11:51:28+00:00
在 Hugging Face 上查看文件 (16)
.gitattributes
README.md
added_tokens.json
config.json
decoder_model_merged.onnx
ONNX
decoder_model_merged.onnx_data
encoder_model.onnx
ONNX
encoder_model.onnx_data
generation_config.json
merges.txt
normalizer.json
preprocessor_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.json