Edit model card
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

FsmnVad 模型介绍

使用方法

下载模型

git clone https://github.com/manyeyes/AliFsmnVad.git
cd /AliFsmnVad/AliFsmnVad.Examples
git clone https://huggingface.co/manyeyes/speech_fsmn_vad_zh-cn-16k-common-onnx.git

编辑 Program.cs 中的 modelName 值:

string modelName="speech_fsmn_vad_zh-cn-16k-common-onnx";
//[fp32模型/int8模型],二选一
//fp32模型
//string modelFilePath = applicationBase + "./"+ modelName + "/model.onnx";
//int8模型
string modelFilePath = applicationBase + "./"+ modelName + "/model_quant.onnx";

将文件夹 speech_fsmn_vad_zh-cn-16k-common-onnx 中的文件属性-》复制到输出目录-》如果较新则复制。 或者 编辑 AliFsmnVad.Examples.csproj ,添加

<ItemGroup>
    <None Update="speech_fsmn_vad_zh-cn-16k-common-onnx\example\0.wav">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="speech_fsmn_vad_zh-cn-16k-common-onnx\model.onnx">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="speech_fsmn_vad_zh-cn-16k-common-onnx\model_quant.onnx">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="speech_fsmn_vad_zh-cn-16k-common-onnx\vad.mvn">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="speech_fsmn_vad_zh-cn-16k-common-onnx\vad.yaml">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>

启动 AliFsmnVad.Examples

通过modelscope了解更多

原模型

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference API
Unable to determine this model's library. Check the docs .