Upload folder using huggingface_hub
Browse files- README.md +105 -0
- SHA256SUMS.txt +22 -0
- fa-zh/README.md +191 -0
- fa-zh/am.mvn +8 -0
- fa-zh/config.yaml +115 -0
- fa-zh/configuration.json +14 -0
- fa-zh/model.pt +3 -0
- fa-zh/seg_dict +0 -0
- fa-zh/tokens.json +0 -0
- licenses/FunASR-MODEL-LICENSE-upstream-v1.1.txt +107 -0
- licenses/FunASR-MODEL-LICENSE.txt +57 -0
- licenses/MODEL-SOURCES.txt +45 -0
- licenses/Silero-LICENSE-upstream.txt +21 -0
- licenses/Silero-LICENSE.txt +28 -0
- licenses/sherpa-onnx-LICENSE.txt +202 -0
- offline-models.json +11 -0
- sensevoice-small-int8/LICENSE +1 -0
- sensevoice-small-int8/README.md +4 -0
- sensevoice-small-int8/model.int8.onnx +3 -0
- sensevoice-small-int8/tokens.txt +0 -0
- silero-vad/LICENSE +28 -0
- silero-vad/README.md +10 -0
- silero-vad/silero_vad.onnx +3 -0
README.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: model-license
|
| 4 |
+
license_link: https://github.com/modelscope/FunASR/blob/main/MODEL_LICENSE
|
| 5 |
+
library_name: funasr
|
| 6 |
+
pipeline_tag: automatic-speech-recognition
|
| 7 |
+
language:
|
| 8 |
+
- zh
|
| 9 |
+
- en
|
| 10 |
+
- ja
|
| 11 |
+
- ko
|
| 12 |
+
- yue
|
| 13 |
+
tags:
|
| 14 |
+
- automatic-speech-recognition
|
| 15 |
+
- voice-activity-detection
|
| 16 |
+
- timestamp-prediction
|
| 17 |
+
- onnx
|
| 18 |
+
- asr
|
| 19 |
+
- offline
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# ASRTools offline models
|
| 23 |
+
|
| 24 |
+
Model collection used by the ASRTools offline transcription flow: speech
|
| 25 |
+
recognition, voice activity detection and per-character timestamp alignment,
|
| 26 |
+
all running on CPU without a compiler, Python environment or GPU on the
|
| 27 |
+
receiving machine.
|
| 28 |
+
|
| 29 |
+
These are the upstream weights redistributed byte-for-byte. Nothing here is
|
| 30 |
+
retrained, quantized, fused or re-exported by this repository; every file is
|
| 31 |
+
published exactly as it was received from the upstream projects credited
|
| 32 |
+
below. This repository only repackages the files so the ASRTools application
|
| 33 |
+
can fetch them separately from its application archive.
|
| 34 |
+
|
| 35 |
+
This repository does not contain application code, inference runtimes
|
| 36 |
+
(PyTorch, FunASR, sherpa-onnx, Qt, FFmpeg) or any user audio. The application
|
| 37 |
+
archive still carries those; the models here are data files it loads.
|
| 38 |
+
|
| 39 |
+
## Contents
|
| 40 |
+
|
| 41 |
+
| Path | Purpose | Size | Licence |
|
| 42 |
+
| --- | --- | ---: | --- |
|
| 43 |
+
| `sensevoice-small-int8/model.int8.onnx` | Speech recognition (zh / en / ja / ko / yue) | 239,233,841 B | FunASR Model License |
|
| 44 |
+
| `sensevoice-small-int8/tokens.txt` | Token map for the recogniser | 315,894 B | FunASR Model License |
|
| 45 |
+
| `silero-vad/silero_vad.onnx` | Voice activity detection and segmentation | 643,854 B | MIT |
|
| 46 |
+
| `fa-zh/model.pt` | Per-character timestamp prediction | 158,469,618 B | FunASR Model License |
|
| 47 |
+
| `fa-zh/config.yaml` | fa-zh model configuration | 2,455 B | FunASR Model License |
|
| 48 |
+
| `fa-zh/configuration.json` | fa-zh model configuration | 448 B | FunASR Model License |
|
| 49 |
+
| `fa-zh/tokens.json` | fa-zh token map | 93,676 B | FunASR Model License |
|
| 50 |
+
| `fa-zh/seg_dict` | fa-zh segmentation dictionary | 8,287,834 B | FunASR Model License |
|
| 51 |
+
| `fa-zh/am.mvn` | fa-zh feature normalisation statistics | 11,203 B | FunASR Model License |
|
| 52 |
+
|
| 53 |
+
Nine model files, 407,058,823 bytes in total (388.20 MiB). `offline-models.json`
|
| 54 |
+
records the SHA-256 of each one; `SHA256SUMS.txt` covers every file in this
|
| 55 |
+
repository, including the documentation below.
|
| 56 |
+
|
| 57 |
+
## Sources and attribution
|
| 58 |
+
|
| 59 |
+
| Here | Upstream | Licence |
|
| 60 |
+
| --- | --- | --- |
|
| 61 |
+
| `sensevoice-small-int8/` | FunAudioLLM / Alibaba SenseVoice Small, converted to INT8 ONNX by the k2-fsa **sherpa-onnx** project, archive `sherpa-onnx-sense-voice-zh-en-ja-ko-yue-int8-2024-07-17` | FunASR Model Open Source License Agreement v1.1 |
|
| 62 |
+
| `silero-vad/silero_vad.onnx` | **Silero Team** VAD, redistributed from the same sherpa-onnx release | MIT |
|
| 63 |
+
| `fa-zh/` | Alibaba / **FunASR** `fa-zh` timestamp prediction model, revision `d7701644d6e336f093501241beca010519c0986f` | FunASR Model Open Source License Agreement v1.1 |
|
| 64 |
+
|
| 65 |
+
Upstream locations: [FunAudioLLM/SenseVoice](https://github.com/FunAudioLLM/SenseVoice),
|
| 66 |
+
[sherpa-onnx pretrained models](https://k2-fsa.github.io/sherpa/onnx/sense-voice/pretrained.html),
|
| 67 |
+
[snakers4/silero-vad](https://github.com/snakers4/silero-vad),
|
| 68 |
+
[funasr/fa-zh](https://huggingface.co/funasr/fa-zh).
|
| 69 |
+
|
| 70 |
+
The FunASR agreement requires attribution of source and author and retention of
|
| 71 |
+
the model names; both are kept here, and the agreement text, the retained
|
| 72 |
+
notices and snapshots of the upstream licence files are in `licenses/`, with
|
| 73 |
+
`licenses/MODEL-SOURCES.txt` recording where every file came from. The original
|
| 74 |
+
model cards ship with the weights (`sensevoice-small-int8/README.md`,
|
| 75 |
+
`fa-zh/README.md`) and are not replaced by this file.
|
| 76 |
+
|
| 77 |
+
The `license_name: model-license` metadata above is the licence of the
|
| 78 |
+
redistributed weights, not of the ASRTools application. `sensevoice-small-int8/LICENSE`
|
| 79 |
+
is the 71-byte pointer the conversion archive shipped, kept as received.
|
| 80 |
+
|
| 81 |
+
The repositories also publish a code licence (Apache-2.0 for FunASR and
|
| 82 |
+
sherpa-onnx, MIT for SenseVoice) that does not cover the weights; the
|
| 83 |
+
Apache-2.0 text that sherpa-onnx releases ship next to the onnxruntime wheels
|
| 84 |
+
is retained in `licenses/sherpa-onnx-LICENSE.txt`.
|
| 85 |
+
|
| 86 |
+
## Download
|
| 87 |
+
|
| 88 |
+
Command-line, `huggingface_hub` installed:
|
| 89 |
+
|
| 90 |
+
```bash
|
| 91 |
+
hf download lvmmai2/asrtools-models --revision <full-commit-sha> --local-dir ./_runtime/models
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
Source checkouts use `--local-dir ./models` instead. Pin the full commit SHA,
|
| 95 |
+
not `main`, so the bytes cannot change between runs.
|
| 96 |
+
|
| 97 |
+
The layout matches what the application loads: the three directories sit at the
|
| 98 |
+
repository root, exactly as they must appear under `models/`. Without the Hub
|
| 99 |
+
CLI, download the nine files from the file browser into that directory and
|
| 100 |
+
verify against `offline-models.json`.
|
| 101 |
+
|
| 102 |
+
Not included, by design: `export-onnx.py` from the conversion archive (a
|
| 103 |
+
conversion tool, not needed to run the ONNX file) and its `test_wavs/` demo
|
| 104 |
+
audio (not used by the offline flow, and its own audio licence was not
|
| 105 |
+
reviewed).
|
SHA256SUMS.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
29B3C740A2C0CFC6B308126D31D7F265FA2BE74F3BB095CD2F143EA970896AE5 fa-zh/am.mvn
|
| 2 |
+
BF673207F2A2E2263403D64ADEC49666166C047DC74BC03153B0E7882F8D09B4 fa-zh/config.yaml
|
| 3 |
+
FBB37220A629E1EB5468C8486FCD5F5650BC0817B28551530E5485DB41662C73 fa-zh/configuration.json
|
| 4 |
+
F34EDE558AF831FB504206B25F1C2F27CA2F77753C26C4DD38D03323153B6F73 fa-zh/model.pt
|
| 5 |
+
256F5445E89B126021AE852B7838EC0E8DF03867C2C7D288D20FA9600FF9B87D fa-zh/README.md
|
| 6 |
+
59A2EF803A3F1648AD03A2E1480DB1C1EE0C0D7DC4EF4DBD16CEA33944329022 fa-zh/seg_dict
|
| 7 |
+
2B20C2B12572D682AFFF84CE1C8D560F67B8B32A4C1F21567411D141ED352127 fa-zh/tokens.json
|
| 8 |
+
7DBA975A2069691DB4992B0592D70828B330D2F8A30A71450F4E152A554E84F8 licenses/FunASR-MODEL-LICENSE-upstream-v1.1.txt
|
| 9 |
+
747C308AEC79BCAFB46BD814A25B28809F2D365A2218E610E3B143E5A7F943BF licenses/FunASR-MODEL-LICENSE.txt
|
| 10 |
+
C9CD221E91F690AAFE1AFE9E6611C1BCCA20F45EEDB40BAA032D74C7749FDA52 licenses/MODEL-SOURCES.txt
|
| 11 |
+
CFC7749B96F63BD31C3C42B5C471BF756814053E847C10F3EB003417BC523D30 licenses/sherpa-onnx-LICENSE.txt
|
| 12 |
+
2E63E9A38B6E8FC0C7BC37CE174CACA1862870856C6DAF5697CFB785E925520B licenses/Silero-LICENSE-upstream.txt
|
| 13 |
+
F91729667BFE4467B4EBC719F2D2EA452441FE029135D2C2AEB3151601F8AD89 licenses/Silero-LICENSE.txt
|
| 14 |
+
82252421B1937A790ABE47A1473678479D667B8989B9706BDD7AF77ED6DBCE43 offline-models.json
|
| 15 |
+
3A9F9ED9AF6FDEFA4FA587C04C8B81F71F6ED0B2B955EC589BB3212BA90621C6 README.md
|
| 16 |
+
221C6DF10B0931A5629ADAD671EA48FB7747E034C414B6D2BFA275BC3DD4EA17 sensevoice-small-int8/LICENSE
|
| 17 |
+
C71F0CE00BEC95B07744E116345E33D8CBBE08CEF896382CF907BF4B51A2CD51 sensevoice-small-int8/model.int8.onnx
|
| 18 |
+
763991A00EDAEA534AB36BF1B7CF89E61E911666DCFABBBA71F91F9F7C593A63 sensevoice-small-int8/README.md
|
| 19 |
+
F449EB28DC567533D7FA59BE34E2ABCA8784F771850C78A47FB731A31429A1DC sensevoice-small-int8/tokens.txt
|
| 20 |
+
F91729667BFE4467B4EBC719F2D2EA452441FE029135D2C2AEB3151601F8AD89 silero-vad/LICENSE
|
| 21 |
+
3533DAE679968C165BD7A3824DBEBA2B43B426CF9F141A6709EC970BEE8FA188 silero-vad/README.md
|
| 22 |
+
9E2449E1087496D8D4CABA907F23E0BD3F78D91FA552479BB9C23AC09CBB1FD6 silero-vad/silero_vad.onnx
|
fa-zh/README.md
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: model-license
|
| 4 |
+
license_link: https://github.com/alibaba-damo-academy/FunASR
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
<div align="center">
|
| 8 |
+
|
| 9 |
+
### ⭐ Powered by [FunASR](https://github.com/modelscope/FunASR) — please give us a GitHub Star!
|
| 10 |
+
|
| 11 |
+
This model is part of the **FunASR** ecosystem — one industrial-grade open-source toolkit for **ASR · VAD · punctuation · speaker diarization · emotion / event · LLM-ASR**. A Star really helps the project (and keeps you updated):
|
| 12 |
+
|
| 13 |
+
[**🌟 FunASR**](https://github.com/modelscope/FunASR) · [**🌟 SenseVoice**](https://github.com/FunAudioLLM/SenseVoice) · [**🌟 Fun-ASR**](https://github.com/FunAudioLLM/Fun-ASR) · [**🌟 FunClip**](https://github.com/modelscope/FunClip)
|
| 14 |
+
|
| 15 |
+
</div>
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
# FunASR: A Fundamental End-to-End Speech Recognition Toolkit
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
[](https://pypi.org/project/funasr/)
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
<strong>FunASR</strong> hopes to build a bridge between academic research and industrial applications on speech recognition. By supporting the training & finetuning of the industrial-grade speech recognition model, researchers and developers can conduct research and production of speech recognition models more conveniently, and promote the development of speech recognition ecology. ASR for Fun!
|
| 27 |
+
|
| 28 |
+
[**Highlights**](#highlights)
|
| 29 |
+
| [**News**](https://github.com/alibaba-damo-academy/FunASR#whats-new)
|
| 30 |
+
| [**Installation**](#installation)
|
| 31 |
+
| [**Quick Start**](#quick-start)
|
| 32 |
+
| [**Runtime**](./runtime/readme.md)
|
| 33 |
+
| [**Model Zoo**](#model-zoo)
|
| 34 |
+
| [**Contact**](#contact)
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
<a name="highlights"></a>
|
| 38 |
+
## Highlights
|
| 39 |
+
- FunASR is a fundamental speech recognition toolkit that offers a variety of features, including speech recognition (ASR), Voice Activity Detection (VAD), Punctuation Restoration, Language Models, Speaker Verification, Speaker Diarization and multi-talker ASR. FunASR provides convenient scripts and tutorials, supporting inference and fine-tuning of pre-trained models.
|
| 40 |
+
- We have released a vast collection of academic and industrial pretrained models on the [ModelScope](https://www.modelscope.cn/models?page=1&tasks=auto-speech-recognition) and [huggingface](https://huggingface.co/FunASR), which can be accessed through our [Model Zoo](https://github.com/alibaba-damo-academy/FunASR/blob/main/docs/model_zoo/modelscope_models.md). The representative [Paraformer-large](https://www.modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/summary), a non-autoregressive end-to-end speech recognition model, has the advantages of high accuracy, high efficiency, and convenient deployment, supporting the rapid construction of speech recognition services. For more details on service deployment, please refer to the [service deployment document](runtime/readme_cn.md).
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
<a name="Installation"></a>
|
| 44 |
+
## Installation
|
| 45 |
+
|
| 46 |
+
```shell
|
| 47 |
+
pip3 install -U funasr
|
| 48 |
+
```
|
| 49 |
+
Or install from source code
|
| 50 |
+
``` sh
|
| 51 |
+
git clone https://github.com/alibaba/FunASR.git && cd FunASR
|
| 52 |
+
pip3 install -e ./
|
| 53 |
+
```
|
| 54 |
+
Install modelscope for the pretrained models (Optional)
|
| 55 |
+
|
| 56 |
+
```shell
|
| 57 |
+
pip3 install -U modelscope
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
## Model Zoo
|
| 61 |
+
FunASR has open-sourced a large number of pre-trained models on industrial data. You are free to use, copy, modify, and share FunASR models under the [Model License Agreement](./MODEL_LICENSE). Below are some representative models, for more models please refer to the [Model Zoo]().
|
| 62 |
+
|
| 63 |
+
(Note: 🤗 represents the Huggingface model zoo link, ⭐ represents the ModelScope model zoo link)
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
| Model Name | Task Details | Training Data | Parameters |
|
| 67 |
+
|:------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------:|:--------------------------------:|:----------:|
|
| 68 |
+
| paraformer-zh <br> ([⭐](https://www.modelscope.cn/models/damo/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch/summary) [🤗]() ) | speech recognition, with timestamps, non-streaming | 60000 hours, Mandarin | 220M |
|
| 69 |
+
| <nobr>paraformer-zh-streaming <br> ( [⭐](https://modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online/summary) [🤗]() )</nobr> | speech recognition, streaming | 60000 hours, Mandarin | 220M |
|
| 70 |
+
| paraformer-en <br> ( [⭐](https://www.modelscope.cn/models/damo/speech_paraformer-large-vad-punc_asr_nat-en-16k-common-vocab10020/summary) [🤗]() ) | speech recognition, with timestamps, non-streaming | 50000 hours, English | 220M |
|
| 71 |
+
| conformer-en <br> ( [⭐](https://modelscope.cn/models/damo/speech_conformer_asr-en-16k-vocab4199-pytorch/summary) [🤗]() ) | speech recognition, non-streaming | 50000 hours, English | 220M |
|
| 72 |
+
| ct-punc <br> ( [⭐](https://modelscope.cn/models/damo/punc_ct-transformer_cn-en-common-vocab471067-large/summary) [🤗]() ) | punctuation restoration | 100M, Mandarin and English | 1.1G |
|
| 73 |
+
| fsmn-vad <br> ( [⭐](https://modelscope.cn/models/damo/speech_fsmn_vad_zh-cn-16k-common-pytorch/summary) [🤗]() ) | voice activity detection | 5000 hours, Mandarin and English | 0.4M |
|
| 74 |
+
| fa-zh <br> ( [⭐](https://modelscope.cn/models/damo/speech_timestamp_prediction-v1-16k-offline/summary) [🤗]() ) | timestamp prediction | 5000 hours, Mandarin | 38M |
|
| 75 |
+
| cam++ <br> ( [⭐](https://modelscope.cn/models/iic/speech_campplus_sv_zh-cn_16k-common/summary) [🤗]() ) | speaker verification/diarization | 5000 hours | 7.2M |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
[//]: # ()
|
| 81 |
+
[//]: # (FunASR supports pre-trained or further fine-tuned models for deployment as a service. The CPU version of the Chinese offline file conversion service has been released, details can be found in [docs](funasr/runtime/docs/SDK_tutorial.md). More detailed information about service deployment can be found in the [deployment roadmap](funasr/runtime/readme_cn.md).)
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
<a name="quick-start"></a>
|
| 85 |
+
## Quick Start
|
| 86 |
+
|
| 87 |
+
Below is a quick start tutorial. Test audio files ([Mandarin](https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/vad_example.wav), [English]()).
|
| 88 |
+
|
| 89 |
+
### Command-line usage
|
| 90 |
+
|
| 91 |
+
```shell
|
| 92 |
+
funasr +model=paraformer-zh +vad_model="fsmn-vad" +punc_model="ct-punc" +input=asr_example_zh.wav
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
Notes: Support recognition of single audio file, as well as file list in Kaldi-style wav.scp format: `wav_id wav_pat`
|
| 96 |
+
|
| 97 |
+
### Speech Recognition (Non-streaming)
|
| 98 |
+
```python
|
| 99 |
+
from funasr import AutoModel
|
| 100 |
+
# paraformer-zh is a multi-functional asr model
|
| 101 |
+
# use vad, punc, spk or not as you need
|
| 102 |
+
model = AutoModel(model="paraformer-zh", model_revision="v2.0.4",
|
| 103 |
+
vad_model="fsmn-vad", vad_model_revision="v2.0.4",
|
| 104 |
+
punc_model="ct-punc-c", punc_model_revision="v2.0.4",
|
| 105 |
+
# spk_model="cam++", spk_model_revision="v2.0.2",
|
| 106 |
+
)
|
| 107 |
+
res = model.generate(input=f"{model.model_path}/example/asr_example.wav",
|
| 108 |
+
batch_size_s=300,
|
| 109 |
+
hotword='魔搭')
|
| 110 |
+
print(res)
|
| 111 |
+
```
|
| 112 |
+
Note: `model_hub`: represents the model repository, `ms` stands for selecting ModelScope download, `hf` stands for selecting Huggingface download.
|
| 113 |
+
|
| 114 |
+
### Speech Recognition (Streaming)
|
| 115 |
+
```python
|
| 116 |
+
from funasr import AutoModel
|
| 117 |
+
|
| 118 |
+
chunk_size = [0, 10, 5] #[0, 10, 5] 600ms, [0, 8, 4] 480ms
|
| 119 |
+
encoder_chunk_look_back = 4 #number of chunks to lookback for encoder self-attention
|
| 120 |
+
decoder_chunk_look_back = 1 #number of encoder chunks to lookback for decoder cross-attention
|
| 121 |
+
|
| 122 |
+
model = AutoModel(model="paraformer-zh-streaming", model_revision="v2.0.4")
|
| 123 |
+
|
| 124 |
+
import soundfile
|
| 125 |
+
import os
|
| 126 |
+
|
| 127 |
+
wav_file = os.path.join(model.model_path, "example/asr_example.wav")
|
| 128 |
+
speech, sample_rate = soundfile.read(wav_file)
|
| 129 |
+
chunk_stride = chunk_size[1] * 960 # 600ms
|
| 130 |
+
|
| 131 |
+
cache = {}
|
| 132 |
+
total_chunk_num = int(len((speech)-1)/chunk_stride+1)
|
| 133 |
+
for i in range(total_chunk_num):
|
| 134 |
+
speech_chunk = speech[i*chunk_stride:(i+1)*chunk_stride]
|
| 135 |
+
is_final = i == total_chunk_num - 1
|
| 136 |
+
res = model.generate(input=speech_chunk, cache=cache, is_final=is_final, chunk_size=chunk_size, encoder_chunk_look_back=encoder_chunk_look_back, decoder_chunk_look_back=decoder_chunk_look_back)
|
| 137 |
+
print(res)
|
| 138 |
+
```
|
| 139 |
+
Note: `chunk_size` is the configuration for streaming latency.` [0,10,5]` indicates that the real-time display granularity is `10*60=600ms`, and the lookahead information is `5*60=300ms`. Each inference input is `600ms` (sample points are `16000*0.6=960`), and the output is the corresponding text. For the last speech segment input, `is_final=True` needs to be set to force the output of the last word.
|
| 140 |
+
|
| 141 |
+
### Voice Activity Detection (Non-Streaming)
|
| 142 |
+
```python
|
| 143 |
+
from funasr import AutoModel
|
| 144 |
+
|
| 145 |
+
model = AutoModel(model="fsmn-vad", model_revision="v2.0.4")
|
| 146 |
+
wav_file = f"{model.model_path}/example/asr_example.wav"
|
| 147 |
+
res = model.generate(input=wav_file)
|
| 148 |
+
print(res)
|
| 149 |
+
```
|
| 150 |
+
### Voice Activity Detection (Streaming)
|
| 151 |
+
```python
|
| 152 |
+
from funasr import AutoModel
|
| 153 |
+
|
| 154 |
+
chunk_size = 200 # ms
|
| 155 |
+
model = AutoModel(model="fsmn-vad", model_revision="v2.0.4")
|
| 156 |
+
|
| 157 |
+
import soundfile
|
| 158 |
+
|
| 159 |
+
wav_file = f"{model.model_path}/example/vad_example.wav"
|
| 160 |
+
speech, sample_rate = soundfile.read(wav_file)
|
| 161 |
+
chunk_stride = int(chunk_size * sample_rate / 1000)
|
| 162 |
+
|
| 163 |
+
cache = {}
|
| 164 |
+
total_chunk_num = int(len((speech)-1)/chunk_stride+1)
|
| 165 |
+
for i in range(total_chunk_num):
|
| 166 |
+
speech_chunk = speech[i*chunk_stride:(i+1)*chunk_stride]
|
| 167 |
+
is_final = i == total_chunk_num - 1
|
| 168 |
+
res = model.generate(input=speech_chunk, cache=cache, is_final=is_final, chunk_size=chunk_size)
|
| 169 |
+
if len(res[0]["value"]):
|
| 170 |
+
print(res)
|
| 171 |
+
```
|
| 172 |
+
### Punctuation Restoration
|
| 173 |
+
```python
|
| 174 |
+
from funasr import AutoModel
|
| 175 |
+
|
| 176 |
+
model = AutoModel(model="ct-punc", model_revision="v2.0.4")
|
| 177 |
+
res = model.generate(input="那今天的会就到这里吧 happy new year 明年见")
|
| 178 |
+
print(res)
|
| 179 |
+
```
|
| 180 |
+
### Timestamp Prediction
|
| 181 |
+
```python
|
| 182 |
+
from funasr import AutoModel
|
| 183 |
+
|
| 184 |
+
model = AutoModel(model="fa-zh", model_revision="v2.0.4")
|
| 185 |
+
wav_file = f"{model.model_path}/example/asr_example.wav"
|
| 186 |
+
text_file = f"{model.model_path}/example/text.txt"
|
| 187 |
+
res = model.generate(input=(wav_file, text_file), data_type=("sound", "text"))
|
| 188 |
+
print(res)
|
| 189 |
+
```
|
| 190 |
+
|
| 191 |
+
More examples ref to [docs](https://github.com/alibaba-damo-academy/FunASR/tree/main/examples/industrial_data_pretraining)
|
fa-zh/am.mvn
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<Nnet>
|
| 2 |
+
<Splice> 560 560
|
| 3 |
+
[ 0 ]
|
| 4 |
+
<AddShift> 560 560
|
| 5 |
+
<LearnRateCoef> 0 [ -8.311879 -8.600912 -9.615928 -10.43595 -11.21292 -11.88333 -12.36243 -12.63706 -12.8818 -12.83066 -12.89103 -12.95666 -13.19763 -13.40598 -13.49113 -13.5546 -13.55639 -13.51915 -13.68284 -13.53289 -13.42107 -13.65519 -13.50713 -13.75251 -13.76715 -13.87408 -13.73109 -13.70412 -13.56073 -13.53488 -13.54895 -13.56228 -13.59408 -13.62047 -13.64198 -13.66109 -13.62669 -13.58297 -13.57387 -13.4739 -13.53063 -13.48348 -13.61047 -13.64716 -13.71546 -13.79184 -13.90614 -14.03098 -14.18205 -14.35881 -14.48419 -14.60172 -14.70591 -14.83362 -14.92122 -15.00622 -15.05122 -15.03119 -14.99028 -14.92302 -14.86927 -14.82691 -14.7972 -14.76909 -14.71356 -14.61277 -14.51696 -14.42252 -14.36405 -14.30451 -14.23161 -14.19851 -14.16633 -14.15649 -14.10504 -13.99518 -13.79562 -13.3996 -12.7767 -11.71208 -8.311879 -8.600912 -9.615928 -10.43595 -11.21292 -11.88333 -12.36243 -12.63706 -12.8818 -12.83066 -12.89103 -12.95666 -13.19763 -13.40598 -13.49113 -13.5546 -13.55639 -13.51915 -13.68284 -13.53289 -13.42107 -13.65519 -13.50713 -13.75251 -13.76715 -13.87408 -13.73109 -13.70412 -13.56073 -13.53488 -13.54895 -13.56228 -13.59408 -13.62047 -13.64198 -13.66109 -13.62669 -13.58297 -13.57387 -13.4739 -13.53063 -13.48348 -13.61047 -13.64716 -13.71546 -13.79184 -13.90614 -14.03098 -14.18205 -14.35881 -14.48419 -14.60172 -14.70591 -14.83362 -14.92122 -15.00622 -15.05122 -15.03119 -14.99028 -14.92302 -14.86927 -14.82691 -14.7972 -14.76909 -14.71356 -14.61277 -14.51696 -14.42252 -14.36405 -14.30451 -14.23161 -14.19851 -14.16633 -14.15649 -14.10504 -13.99518 -13.79562 -13.3996 -12.7767 -11.71208 -8.311879 -8.600912 -9.615928 -10.43595 -11.21292 -11.88333 -12.36243 -12.63706 -12.8818 -12.83066 -12.89103 -12.95666 -13.19763 -13.40598 -13.49113 -13.5546 -13.55639 -13.51915 -13.68284 -13.53289 -13.42107 -13.65519 -13.50713 -13.75251 -13.76715 -13.87408 -13.73109 -13.70412 -13.56073 -13.53488 -13.54895 -13.56228 -13.59408 -13.62047 -13.64198 -13.66109 -13.62669 -13.58297 -13.57387 -13.4739 -13.53063 -13.48348 -13.61047 -13.64716 -13.71546 -13.79184 -13.90614 -14.03098 -14.18205 -14.35881 -14.48419 -14.60172 -14.70591 -14.83362 -14.92122 -15.00622 -15.05122 -15.03119 -14.99028 -14.92302 -14.86927 -14.82691 -14.7972 -14.76909 -14.71356 -14.61277 -14.51696 -14.42252 -14.36405 -14.30451 -14.23161 -14.19851 -14.16633 -14.15649 -14.10504 -13.99518 -13.79562 -13.3996 -12.7767 -11.71208 -8.311879 -8.600912 -9.615928 -10.43595 -11.21292 -11.88333 -12.36243 -12.63706 -12.8818 -12.83066 -12.89103 -12.95666 -13.19763 -13.40598 -13.49113 -13.5546 -13.55639 -13.51915 -13.68284 -13.53289 -13.42107 -13.65519 -13.50713 -13.75251 -13.76715 -13.87408 -13.73109 -13.70412 -13.56073 -13.53488 -13.54895 -13.56228 -13.59408 -13.62047 -13.64198 -13.66109 -13.62669 -13.58297 -13.57387 -13.4739 -13.53063 -13.48348 -13.61047 -13.64716 -13.71546 -13.79184 -13.90614 -14.03098 -14.18205 -14.35881 -14.48419 -14.60172 -14.70591 -14.83362 -14.92122 -15.00622 -15.05122 -15.03119 -14.99028 -14.92302 -14.86927 -14.82691 -14.7972 -14.76909 -14.71356 -14.61277 -14.51696 -14.42252 -14.36405 -14.30451 -14.23161 -14.19851 -14.16633 -14.15649 -14.10504 -13.99518 -13.79562 -13.3996 -12.7767 -11.71208 -8.311879 -8.600912 -9.615928 -10.43595 -11.21292 -11.88333 -12.36243 -12.63706 -12.8818 -12.83066 -12.89103 -12.95666 -13.19763 -13.40598 -13.49113 -13.5546 -13.55639 -13.51915 -13.68284 -13.53289 -13.42107 -13.65519 -13.50713 -13.75251 -13.76715 -13.87408 -13.73109 -13.70412 -13.56073 -13.53488 -13.54895 -13.56228 -13.59408 -13.62047 -13.64198 -13.66109 -13.62669 -13.58297 -13.57387 -13.4739 -13.53063 -13.48348 -13.61047 -13.64716 -13.71546 -13.79184 -13.90614 -14.03098 -14.18205 -14.35881 -14.48419 -14.60172 -14.70591 -14.83362 -14.92122 -15.00622 -15.05122 -15.03119 -14.99028 -14.92302 -14.86927 -14.82691 -14.7972 -14.76909 -14.71356 -14.61277 -14.51696 -14.42252 -14.36405 -14.30451 -14.23161 -14.19851 -14.16633 -14.15649 -14.10504 -13.99518 -13.79562 -13.3996 -12.7767 -11.71208 -8.311879 -8.600912 -9.615928 -10.43595 -11.21292 -11.88333 -12.36243 -12.63706 -12.8818 -12.83066 -12.89103 -12.95666 -13.19763 -13.40598 -13.49113 -13.5546 -13.55639 -13.51915 -13.68284 -13.53289 -13.42107 -13.65519 -13.50713 -13.75251 -13.76715 -13.87408 -13.73109 -13.70412 -13.56073 -13.53488 -13.54895 -13.56228 -13.59408 -13.62047 -13.64198 -13.66109 -13.62669 -13.58297 -13.57387 -13.4739 -13.53063 -13.48348 -13.61047 -13.64716 -13.71546 -13.79184 -13.90614 -14.03098 -14.18205 -14.35881 -14.48419 -14.60172 -14.70591 -14.83362 -14.92122 -15.00622 -15.05122 -15.03119 -14.99028 -14.92302 -14.86927 -14.82691 -14.7972 -14.76909 -14.71356 -14.61277 -14.51696 -14.42252 -14.36405 -14.30451 -14.23161 -14.19851 -14.16633 -14.15649 -14.10504 -13.99518 -13.79562 -13.3996 -12.7767 -11.71208 -8.311879 -8.600912 -9.615928 -10.43595 -11.21292 -11.88333 -12.36243 -12.63706 -12.8818 -12.83066 -12.89103 -12.95666 -13.19763 -13.40598 -13.49113 -13.5546 -13.55639 -13.51915 -13.68284 -13.53289 -13.42107 -13.65519 -13.50713 -13.75251 -13.76715 -13.87408 -13.73109 -13.70412 -13.56073 -13.53488 -13.54895 -13.56228 -13.59408 -13.62047 -13.64198 -13.66109 -13.62669 -13.58297 -13.57387 -13.4739 -13.53063 -13.48348 -13.61047 -13.64716 -13.71546 -13.79184 -13.90614 -14.03098 -14.18205 -14.35881 -14.48419 -14.60172 -14.70591 -14.83362 -14.92122 -15.00622 -15.05122 -15.03119 -14.99028 -14.92302 -14.86927 -14.82691 -14.7972 -14.76909 -14.71356 -14.61277 -14.51696 -14.42252 -14.36405 -14.30451 -14.23161 -14.19851 -14.16633 -14.15649 -14.10504 -13.99518 -13.79562 -13.3996 -12.7767 -11.71208 ]
|
| 6 |
+
<Rescale> 560 560
|
| 7 |
+
<LearnRateCoef> 0 [ 0.155775 0.154484 0.1527379 0.1518718 0.1506028 0.1489256 0.147067 0.1447061 0.1436307 0.1443568 0.1451849 0.1455157 0.1452821 0.1445717 0.1439195 0.1435867 0.1436018 0.1438781 0.1442086 0.1448844 0.1454756 0.145663 0.146268 0.1467386 0.1472724 0.147664 0.1480913 0.1483739 0.1488841 0.1493636 0.1497088 0.1500379 0.1502916 0.1505389 0.1506787 0.1507102 0.1505992 0.1505445 0.1505938 0.1508133 0.1509569 0.1512396 0.1514625 0.1516195 0.1516156 0.1515561 0.1514966 0.1513976 0.1512612 0.151076 0.1510596 0.1510431 0.151077 0.1511168 0.1511917 0.151023 0.1508045 0.1505885 0.1503493 0.1502373 0.1501726 0.1500762 0.1500065 0.1499782 0.150057 0.1502658 0.150469 0.1505335 0.1505505 0.1505328 0.1504275 0.1502438 0.1499674 0.1497118 0.1494661 0.1493102 0.1493681 0.1495501 0.1499738 0.1509654 0.155775 0.154484 0.1527379 0.1518718 0.1506028 0.1489256 0.147067 0.1447061 0.1436307 0.1443568 0.1451849 0.1455157 0.1452821 0.1445717 0.1439195 0.1435867 0.1436018 0.1438781 0.1442086 0.1448844 0.1454756 0.145663 0.146268 0.1467386 0.1472724 0.147664 0.1480913 0.1483739 0.1488841 0.1493636 0.1497088 0.1500379 0.1502916 0.1505389 0.1506787 0.1507102 0.1505992 0.1505445 0.1505938 0.1508133 0.1509569 0.1512396 0.1514625 0.1516195 0.1516156 0.1515561 0.1514966 0.1513976 0.1512612 0.151076 0.1510596 0.1510431 0.151077 0.1511168 0.1511917 0.151023 0.1508045 0.1505885 0.1503493 0.1502373 0.1501726 0.1500762 0.1500065 0.1499782 0.150057 0.1502658 0.150469 0.1505335 0.1505505 0.1505328 0.1504275 0.1502438 0.1499674 0.1497118 0.1494661 0.1493102 0.1493681 0.1495501 0.1499738 0.1509654 0.155775 0.154484 0.1527379 0.1518718 0.1506028 0.1489256 0.147067 0.1447061 0.1436307 0.1443568 0.1451849 0.1455157 0.1452821 0.1445717 0.1439195 0.1435867 0.1436018 0.1438781 0.1442086 0.1448844 0.1454756 0.145663 0.146268 0.1467386 0.1472724 0.147664 0.1480913 0.1483739 0.1488841 0.1493636 0.1497088 0.1500379 0.1502916 0.1505389 0.1506787 0.1507102 0.1505992 0.1505445 0.1505938 0.1508133 0.1509569 0.1512396 0.1514625 0.1516195 0.1516156 0.1515561 0.1514966 0.1513976 0.1512612 0.151076 0.1510596 0.1510431 0.151077 0.1511168 0.1511917 0.151023 0.1508045 0.1505885 0.1503493 0.1502373 0.1501726 0.1500762 0.1500065 0.1499782 0.150057 0.1502658 0.150469 0.1505335 0.1505505 0.1505328 0.1504275 0.1502438 0.1499674 0.1497118 0.1494661 0.1493102 0.1493681 0.1495501 0.1499738 0.1509654 0.155775 0.154484 0.1527379 0.1518718 0.1506028 0.1489256 0.147067 0.1447061 0.1436307 0.1443568 0.1451849 0.1455157 0.1452821 0.1445717 0.1439195 0.1435867 0.1436018 0.1438781 0.1442086 0.1448844 0.1454756 0.145663 0.146268 0.1467386 0.1472724 0.147664 0.1480913 0.1483739 0.1488841 0.1493636 0.1497088 0.1500379 0.1502916 0.1505389 0.1506787 0.1507102 0.1505992 0.1505445 0.1505938 0.1508133 0.1509569 0.1512396 0.1514625 0.1516195 0.1516156 0.1515561 0.1514966 0.1513976 0.1512612 0.151076 0.1510596 0.1510431 0.151077 0.1511168 0.1511917 0.151023 0.1508045 0.1505885 0.1503493 0.1502373 0.1501726 0.1500762 0.1500065 0.1499782 0.150057 0.1502658 0.150469 0.1505335 0.1505505 0.1505328 0.1504275 0.1502438 0.1499674 0.1497118 0.1494661 0.1493102 0.1493681 0.1495501 0.1499738 0.1509654 0.155775 0.154484 0.1527379 0.1518718 0.1506028 0.1489256 0.147067 0.1447061 0.1436307 0.1443568 0.1451849 0.1455157 0.1452821 0.1445717 0.1439195 0.1435867 0.1436018 0.1438781 0.1442086 0.1448844 0.1454756 0.145663 0.146268 0.1467386 0.1472724 0.147664 0.1480913 0.1483739 0.1488841 0.1493636 0.1497088 0.1500379 0.1502916 0.1505389 0.1506787 0.1507102 0.1505992 0.1505445 0.1505938 0.1508133 0.1509569 0.1512396 0.1514625 0.1516195 0.1516156 0.1515561 0.1514966 0.1513976 0.1512612 0.151076 0.1510596 0.1510431 0.151077 0.1511168 0.1511917 0.151023 0.1508045 0.1505885 0.1503493 0.1502373 0.1501726 0.1500762 0.1500065 0.1499782 0.150057 0.1502658 0.150469 0.1505335 0.1505505 0.1505328 0.1504275 0.1502438 0.1499674 0.1497118 0.1494661 0.1493102 0.1493681 0.1495501 0.1499738 0.1509654 0.155775 0.154484 0.1527379 0.1518718 0.1506028 0.1489256 0.147067 0.1447061 0.1436307 0.1443568 0.1451849 0.1455157 0.1452821 0.1445717 0.1439195 0.1435867 0.1436018 0.1438781 0.1442086 0.1448844 0.1454756 0.145663 0.146268 0.1467386 0.1472724 0.147664 0.1480913 0.1483739 0.1488841 0.1493636 0.1497088 0.1500379 0.1502916 0.1505389 0.1506787 0.1507102 0.1505992 0.1505445 0.1505938 0.1508133 0.1509569 0.1512396 0.1514625 0.1516195 0.1516156 0.1515561 0.1514966 0.1513976 0.1512612 0.151076 0.1510596 0.1510431 0.151077 0.1511168 0.1511917 0.151023 0.1508045 0.1505885 0.1503493 0.1502373 0.1501726 0.1500762 0.1500065 0.1499782 0.150057 0.1502658 0.150469 0.1505335 0.1505505 0.1505328 0.1504275 0.1502438 0.1499674 0.1497118 0.1494661 0.1493102 0.1493681 0.1495501 0.1499738 0.1509654 0.155775 0.154484 0.1527379 0.1518718 0.1506028 0.1489256 0.147067 0.1447061 0.1436307 0.1443568 0.1451849 0.1455157 0.1452821 0.1445717 0.1439195 0.1435867 0.1436018 0.1438781 0.1442086 0.1448844 0.1454756 0.145663 0.146268 0.1467386 0.1472724 0.147664 0.1480913 0.1483739 0.1488841 0.1493636 0.1497088 0.1500379 0.1502916 0.1505389 0.1506787 0.1507102 0.1505992 0.1505445 0.1505938 0.1508133 0.1509569 0.1512396 0.1514625 0.1516195 0.1516156 0.1515561 0.1514966 0.1513976 0.1512612 0.151076 0.1510596 0.1510431 0.151077 0.1511168 0.1511917 0.151023 0.1508045 0.1505885 0.1503493 0.1502373 0.1501726 0.1500762 0.1500065 0.1499782 0.150057 0.1502658 0.150469 0.1505335 0.1505505 0.1505328 0.1504275 0.1502438 0.1499674 0.1497118 0.1494661 0.1493102 0.1493681 0.1495501 0.1499738 0.1509654 ]
|
| 8 |
+
</Nnet>
|
fa-zh/config.yaml
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This is an example that demonstrates how to configure a model file.
|
| 2 |
+
# You can modify the configuration according to your own requirements.
|
| 3 |
+
|
| 4 |
+
# to print the register_table:
|
| 5 |
+
# from funasr.register import tables
|
| 6 |
+
# tables.print()
|
| 7 |
+
|
| 8 |
+
# network architecture
|
| 9 |
+
model: MonotonicAligner
|
| 10 |
+
model_conf:
|
| 11 |
+
length_normalized_loss: False
|
| 12 |
+
predictor_bias: 1
|
| 13 |
+
|
| 14 |
+
# encoder
|
| 15 |
+
encoder: SANMEncoder
|
| 16 |
+
encoder_conf:
|
| 17 |
+
output_size: 320
|
| 18 |
+
attention_heads: 4
|
| 19 |
+
linear_units: 1280
|
| 20 |
+
num_blocks: 30
|
| 21 |
+
dropout_rate: 0.1
|
| 22 |
+
positional_dropout_rate: 0.1
|
| 23 |
+
attention_dropout_rate: 0.1
|
| 24 |
+
input_layer: pe
|
| 25 |
+
pos_enc_class: SinusoidalPositionEncoder
|
| 26 |
+
normalize_before: true
|
| 27 |
+
kernel_size: 11
|
| 28 |
+
sanm_shfit: 0
|
| 29 |
+
selfattention_layer_type: sanm
|
| 30 |
+
|
| 31 |
+
predictor: CifPredictorV3
|
| 32 |
+
predictor_conf:
|
| 33 |
+
idim: 320
|
| 34 |
+
threshold: 1.0
|
| 35 |
+
l_order: 1
|
| 36 |
+
r_order: 1
|
| 37 |
+
tail_threshold: 0.45
|
| 38 |
+
smooth_factor2: 0.25
|
| 39 |
+
noise_threshold2: 0.01
|
| 40 |
+
upsample_times: 3
|
| 41 |
+
use_cif1_cnn: false
|
| 42 |
+
upsample_type: cnn_blstm
|
| 43 |
+
|
| 44 |
+
# frontend related
|
| 45 |
+
frontend: WavFrontend
|
| 46 |
+
frontend_conf:
|
| 47 |
+
fs: 16000
|
| 48 |
+
window: hamming
|
| 49 |
+
n_mels: 80
|
| 50 |
+
frame_length: 25
|
| 51 |
+
frame_shift: 10
|
| 52 |
+
lfr_m: 7
|
| 53 |
+
lfr_n: 6
|
| 54 |
+
|
| 55 |
+
specaug: SpecAugLFR
|
| 56 |
+
specaug_conf:
|
| 57 |
+
apply_time_warp: false
|
| 58 |
+
time_warp_window: 5
|
| 59 |
+
time_warp_mode: bicubic
|
| 60 |
+
apply_freq_mask: true
|
| 61 |
+
freq_mask_width_range:
|
| 62 |
+
- 0
|
| 63 |
+
- 30
|
| 64 |
+
lfr_rate: 6
|
| 65 |
+
num_freq_mask: 1
|
| 66 |
+
apply_time_mask: true
|
| 67 |
+
time_mask_width_range:
|
| 68 |
+
- 0
|
| 69 |
+
- 12
|
| 70 |
+
num_time_mask: 1
|
| 71 |
+
|
| 72 |
+
train_conf:
|
| 73 |
+
accum_grad: 1
|
| 74 |
+
grad_clip: 5
|
| 75 |
+
max_epoch: 150
|
| 76 |
+
val_scheduler_criterion:
|
| 77 |
+
- valid
|
| 78 |
+
- acc
|
| 79 |
+
best_model_criterion:
|
| 80 |
+
- - valid
|
| 81 |
+
- acc
|
| 82 |
+
- max
|
| 83 |
+
keep_nbest_models: 10
|
| 84 |
+
log_interval: 50
|
| 85 |
+
|
| 86 |
+
optim: adam
|
| 87 |
+
optim_conf:
|
| 88 |
+
lr: 0.0005
|
| 89 |
+
scheduler: warmuplr
|
| 90 |
+
scheduler_conf:
|
| 91 |
+
warmup_steps: 30000
|
| 92 |
+
|
| 93 |
+
dataset: AudioDataset
|
| 94 |
+
dataset_conf:
|
| 95 |
+
index_ds: IndexDSJsonl
|
| 96 |
+
batch_sampler: DynamicBatchLocalShuffleSampler
|
| 97 |
+
batch_type: example # example or length
|
| 98 |
+
batch_size: 1 # if batch_type is example, batch_size is the numbers of samples; if length, batch_size is source_token_len+target_token_len;
|
| 99 |
+
max_token_length: 2048 # filter samples if source_token_len+target_token_len > max_token_length,
|
| 100 |
+
buffer_size: 500
|
| 101 |
+
shuffle: True
|
| 102 |
+
num_workers: 0
|
| 103 |
+
|
| 104 |
+
tokenizer: CharTokenizer
|
| 105 |
+
tokenizer_conf:
|
| 106 |
+
unk_symbol: <unk>
|
| 107 |
+
split_with_space: true
|
| 108 |
+
|
| 109 |
+
ctc_conf:
|
| 110 |
+
dropout_rate: 0.0
|
| 111 |
+
ctc_type: builtin
|
| 112 |
+
reduce: true
|
| 113 |
+
ignore_nan_grad: true
|
| 114 |
+
|
| 115 |
+
normalize: null
|
fa-zh/configuration.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"framework": "pytorch",
|
| 3 |
+
"task" : "auto-speech-recognition",
|
| 4 |
+
"model": {"type" : "funasr"},
|
| 5 |
+
"pipeline": {"type":"funasr-pipeline"},
|
| 6 |
+
"model_name_in_hub": {
|
| 7 |
+
"ms":"iic/speech_timestamp_prediction-v1-16k-offline",
|
| 8 |
+
"hf":""},
|
| 9 |
+
"file_path_metas": {
|
| 10 |
+
"init_param":"model.pt",
|
| 11 |
+
"config":"config.yaml",
|
| 12 |
+
"tokenizer_conf": {"token_list": "tokens.json", "seg_dict_file": "seg_dict"},
|
| 13 |
+
"frontend_conf":{"cmvn_file": "am.mvn"}}
|
| 14 |
+
}
|
fa-zh/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f34ede558af831fb504206b25f1c2f27ca2f77753c26c4dd38d03323153b6f73
|
| 3 |
+
size 158469618
|
fa-zh/seg_dict
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
fa-zh/tokens.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
licenses/FunASR-MODEL-LICENSE-upstream-v1.1.txt
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FunASR Model Open Source License Agreement
|
| 2 |
+
|
| 3 |
+
Version: 1.1
|
| 4 |
+
|
| 5 |
+
Copyright (C) [2023-2028] [Alibaba Group]. All rights reserved.
|
| 6 |
+
|
| 7 |
+
Thank you for choosing the FunASR open-source model. The FunASR open-source model includes a range of free and open industrial models for you to use, modify, share, and learn from.
|
| 8 |
+
|
| 9 |
+
To ensure better community collaboration, we have established the following agreement, and we hope you will read and comply with its terms.
|
| 10 |
+
Definitions
|
| 11 |
+
|
| 12 |
+
In this agreement, [FunASR Software] refers to FunASR open-source model weights and their derivatives, including finetuned models; [You] refers to individuals or organizations using, modifying, sharing, and learning from [FunASR Software].
|
| 13 |
+
|
| 14 |
+
2 License and Restrictions
|
| 15 |
+
|
| 16 |
+
2.1 License
|
| 17 |
+
|
| 18 |
+
You are free to use, copy, modify, and share [FunASR Software] under the terms of this agreement.
|
| 19 |
+
|
| 20 |
+
2.2 Restrictions
|
| 21 |
+
|
| 22 |
+
When using, copying, modifying, and sharing [FunASR Software], you must attribute the source and author information and retain relevant model names in [FunASR Software].
|
| 23 |
+
|
| 24 |
+
3 Responsibility and Risk
|
| 25 |
+
|
| 26 |
+
[FunASR Software] is provided for reference and learning purposes only, and Alibaba Group assumes no responsibility for any direct or indirect losses resulting from your use or modification of [FunASR Software]. You should assume all risks associated with using and modifying [FunASR Software].
|
| 27 |
+
|
| 28 |
+
4 Community Conduct Guidelines
|
| 29 |
+
|
| 30 |
+
4.1 Encouraged Behavior
|
| 31 |
+
|
| 32 |
+
The community welcomes developers and users to engage in discussions about [FunASR Software]. Participants are encouraged to interact in a friendly, polite, and respectful manner to foster constructive discussion and collaboration.
|
| 33 |
+
|
| 34 |
+
4.2 Prohibited Behavior
|
| 35 |
+
|
| 36 |
+
Individual or organizational users shall not engage in unjustified denigration, malicious smearing, or baseless insults against [FunASR Software]. Such behavior is considered a violation of the spirit of community cooperation. If a user is found to be engaging in the prohibited behavior mentioned above, it will be considered an automatic forfeiture of all licenses under this agreement.
|
| 37 |
+
|
| 38 |
+
5 Termination
|
| 39 |
+
|
| 40 |
+
If you violate any terms of this agreement, your license will automatically terminate, and you must cease using, copying, modifying, and sharing [FunASR Software].
|
| 41 |
+
|
| 42 |
+
6 Revisions
|
| 43 |
+
|
| 44 |
+
This agreement may be updated and revised occasionally. The revised agreement will be published in the official repository of [FunASR Software] and will take effect automatically. Continuing to use, copy, modify, and share [FunASR Software] indicates your acceptance of the revised agreement.
|
| 45 |
+
|
| 46 |
+
7 Miscellaneous
|
| 47 |
+
|
| 48 |
+
This agreement is governed by the laws of [Country/Region]. If any provision is deemed illegal, invalid, or unenforceable, that provision shall be considered severed from this agreement, and the remaining provisions shall continue to be valid and binding.
|
| 49 |
+
|
| 50 |
+
If you have any questions or comments regarding this agreement, please contact us.
|
| 51 |
+
|
| 52 |
+
Copyright © [2023-2028] [Alibaba Group]. All rights reserved.
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
FunASR 模型开源协议
|
| 56 |
+
|
| 57 |
+
版本号:1.1
|
| 58 |
+
|
| 59 |
+
版权所有 (C) [2023-2028] [阿里巴巴集团]。保留所有权利。
|
| 60 |
+
|
| 61 |
+
感谢您选择 FunASR 开源模型。FunASR 开源模型包含一系列免费且开源的工业模型,让大家可以使用、修改、分享和学习该模型。
|
| 62 |
+
|
| 63 |
+
为了保证更好的社区合作,我们制定了以下协议,希望您仔细阅读并遵守本协议。
|
| 64 |
+
|
| 65 |
+
1 定义
|
| 66 |
+
|
| 67 |
+
本协议中,[FunASR 软件]指 FunASR 开源模型权重及其衍生品,包括 Finetune 后的模型;[您]指使用、修改、分享和学习[FunASR 软件]的个人或组织。
|
| 68 |
+
|
| 69 |
+
2 许可和限制
|
| 70 |
+
|
| 71 |
+
2.1 许可
|
| 72 |
+
|
| 73 |
+
您可以在遵守本协议的前提下,自由地使用、复制、修改和分享[FunASR 软件]。
|
| 74 |
+
|
| 75 |
+
2.2 限制
|
| 76 |
+
|
| 77 |
+
您在使用、复制、修改和分享[FunASR 软件]时,必须注明出处以及作者信息,并保留[FunASR 软件]中相关模型名称。
|
| 78 |
+
|
| 79 |
+
3 责任和风险承担
|
| 80 |
+
|
| 81 |
+
[FunASR 软件]仅作为参考和学习使用,不对您使用或修改[FunASR 软件]造成的任何直接或间接损失承担任何责任。您对[FunASR 软件]的使用和修改应该自行承担风险。
|
| 82 |
+
|
| 83 |
+
4 社区行为准则
|
| 84 |
+
|
| 85 |
+
4.1 欢迎交流
|
| 86 |
+
|
| 87 |
+
社区欢迎开发者与用户对[FunASR 软件]进行交流讨论。交流中请注意保持友好、礼貌和文明,以促进建设性的讨论和合作。
|
| 88 |
+
|
| 89 |
+
4.2 禁止行为
|
| 90 |
+
|
| 91 |
+
个人或组织用户不得对[FunASR 软件]进行无端诋毁、恶意抹黑或凭空谩骂。此类行为被视为违反社区合作精神。如被认定从事上述禁止行为,将视为自动放弃本协议下的所有许可。
|
| 92 |
+
|
| 93 |
+
5 终止
|
| 94 |
+
|
| 95 |
+
如果您违反本协议的任何条款,您的许可将自动终止,您必须停止使用、复制、修改和分享[FunASR 软件]。
|
| 96 |
+
|
| 97 |
+
6 修订
|
| 98 |
+
|
| 99 |
+
本协议可能会不时更新和修订。修订后的协议将在[FunASR 软件]官方仓库发布,并自动生效。如果您继续使用、复制、修改和分享[FunASR 软件],即表示您同意修订后的协议。
|
| 100 |
+
|
| 101 |
+
7 其他规定
|
| 102 |
+
|
| 103 |
+
本协议受到[国家/地区] 的法律管辖。如果任何条款被裁定为不合法、无效或无法执行,则该条款应被视为从本协议中删除,而其余条款应继续有效并具有约束力。
|
| 104 |
+
|
| 105 |
+
如果您对本协议有任何问题或意见,请联系我们。
|
| 106 |
+
|
| 107 |
+
版权所有© [2023-2028] [阿里巴巴集团]。保留所有权利。
|
licenses/FunASR-MODEL-LICENSE.txt
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Provenance
|
| 2 |
+
# Retained from the ASRTools release packaging step (collected 2026-09-07).
|
| 3 |
+
# English section only. It is not a verbatim copy of the current upstream file,
|
| 4 |
+
# which carries the Chinese section too and differs in a little wording:
|
| 5 |
+
# "considered severed from" upstream vs "considered severable" here, plus
|
| 6 |
+
# whitespace. The licence text below is unchanged from that earlier collection.
|
| 7 |
+
# Verified against upstream on 2026-09-16. Upstream snapshot and source:
|
| 8 |
+
# FunASR-MODEL-LICENSE-upstream-v1.1.txt
|
| 9 |
+
# https://github.com/modelscope/FunASR/blob/main/MODEL_LICENSE
|
| 10 |
+
# ---------------------------------------------------------------------------
|
| 11 |
+
|
| 12 |
+
FunASR Model Open Source License Agreement
|
| 13 |
+
|
| 14 |
+
Version: 1.1
|
| 15 |
+
|
| 16 |
+
Copyright (C) [2023-2028] [Alibaba Group]. All rights reserved.
|
| 17 |
+
|
| 18 |
+
Thank you for choosing the FunASR open-source model. The FunASR open-source model includes a range of free and open industrial models for you to use, modify, share, and learn from.
|
| 19 |
+
|
| 20 |
+
To ensure better community collaboration, we have established the following agreement, and we hope you will read and comply with its terms.
|
| 21 |
+
Definitions
|
| 22 |
+
In this agreement, [FunASR Software] refers to FunASR open-source model weights and their derivatives, including finetuned models; [You] refers to individuals or organizations using, modifying, sharing, and learning from [FunASR Software].
|
| 23 |
+
|
| 24 |
+
2 License and Restrictions
|
| 25 |
+
|
| 26 |
+
2.1 License
|
| 27 |
+
|
| 28 |
+
You are free to use, copy, modify, and share [FunASR Software] under the terms of this agreement.
|
| 29 |
+
|
| 30 |
+
2.2 Restrictions
|
| 31 |
+
When using, copying, modifying, and sharing [FunASR Software], you must attribute the source and author information and retain relevant model names in [FunASR Software].
|
| 32 |
+
|
| 33 |
+
3 Responsibility and Risk
|
| 34 |
+
|
| 35 |
+
[FunASR Software] is provided for reference and learning purposes only, and Alibaba Group assumes no responsibility for any direct or indirect losses resulting from your use or modification of [FunASR Software]. You should assume all risks associated with using and modifying [FunASR Software].
|
| 36 |
+
4 Community Conduct Guidelines
|
| 37 |
+
|
| 38 |
+
4.1 Encouraged Behavior
|
| 39 |
+
|
| 40 |
+
The community welcomes developers and users to engage in discussions about [FunASR Software]. Participants are encouraged to interact in a friendly, polite, and respectful manner to foster constructive discussion and collaboration.
|
| 41 |
+
|
| 42 |
+
4.2 Prohibited Behavior
|
| 43 |
+
Individual or organizational users shall not engage in unjustified denigration, malicious smearing, or baseless insults against [FunASR Software]. Such behavior is considered a violation of the spirit of community cooperation. If a user is found to be engaging in the prohibited behavior mentioned above, it will be considered an automatic forfeiture of all licenses under this agreement.
|
| 44 |
+
|
| 45 |
+
5 Termination
|
| 46 |
+
If you violate any terms of this agreement, your license will automatically terminate, and you must cease using, copying, modifying, and sharing [FunASR Software].
|
| 47 |
+
|
| 48 |
+
6 Revisions
|
| 49 |
+
|
| 50 |
+
This agreement may be updated and revised occasionally. The revised agreement will be published in the official repository of [FunASR Software] and will take effect automatically. Continuing to use, copy, modify, and share [FunASR Software] indicates your acceptance of the revised agreement.
|
| 51 |
+
|
| 52 |
+
7 Miscellaneous
|
| 53 |
+
This agreement is governed by the laws of [Country/Region]. If any provision is deemed illegal, invalid, or unenforceable, that provision shall be considered severable from this agreement, and the remaining provisions shall continue to be valid and binding.
|
| 54 |
+
|
| 55 |
+
If you have any questions or comments regarding this agreement, please contact us.
|
| 56 |
+
|
| 57 |
+
Copyright © [2023-2028] [Alibaba Group]. All rights reserved.
|
licenses/MODEL-SOURCES.txt
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Model sources and retained notices (collected 2026-09-16)
|
| 2 |
+
|
| 3 |
+
SenseVoice Small INT8: FunAudioLLM / Alibaba; ONNX release by k2-fsa sherpa-onnx.
|
| 4 |
+
https://github.com/FunAudioLLM/SenseVoice
|
| 5 |
+
https://github.com/k2-fsa/sherpa-onnx/releases/tag/asr-models
|
| 6 |
+
Archive: sherpa-onnx-sense-voice-zh-en-ja-ko-yue-int8-2024-07-17.tar.bz2
|
| 7 |
+
The supplied LICENSE and README are retained under sensevoice-small-int8/.
|
| 8 |
+
The upstream project code is MIT; the model weights are released under the
|
| 9 |
+
FunASR Model Open Source License Agreement v1.1, as declared by the
|
| 10 |
+
original model card at
|
| 11 |
+
https://huggingface.co/FunAudioLLM/SenseVoiceSmall
|
| 12 |
+
The 71-byte LICENSE shipped inside the conversion archive only links to the
|
| 13 |
+
FunASR repository; it is retained unchanged in sensevoice-small-int8/, and the
|
| 14 |
+
full agreement is kept in licenses/FunASR-MODEL-LICENSE.txt, with the upstream
|
| 15 |
+
snapshot in licenses/FunASR-MODEL-LICENSE-upstream-v1.1.txt.
|
| 16 |
+
|
| 17 |
+
fa-zh: Alibaba / FunASR.
|
| 18 |
+
https://huggingface.co/funasr/fa-zh/tree/d7701644d6e336f093501241beca010519c0986f
|
| 19 |
+
The supplied model card is retained under fa-zh/README.md.
|
| 20 |
+
It declares model-license and refers to the FunASR repository.
|
| 21 |
+
The upstream model agreement is in licenses/FunASR-MODEL-LICENSE.txt:
|
| 22 |
+
https://github.com/modelscope/FunASR/blob/main/MODEL_LICENSE
|
| 23 |
+
The package code license and model weight license are distinct.
|
| 24 |
+
|
| 25 |
+
Snapshots in licenses/ were taken on 2026-09-16:
|
| 26 |
+
FunASR-MODEL-LICENSE.txt retained English copy, collected 2026-09-07
|
| 27 |
+
FunASR-MODEL-LICENSE-upstream-v1.1.txt current upstream file, Chinese and English
|
| 28 |
+
Silero-LICENSE.txt retained copy, collected 2026-09-07
|
| 29 |
+
Silero-LICENSE-upstream.txt current upstream file
|
| 30 |
+
sherpa-onnx-LICENSE.txt Apache-2.0, from sherpa-onnx v1.12.14
|
| 31 |
+
Each file carries a provenance header stating what it is and how it differs
|
| 32 |
+
from upstream; the agreement texts themselves are unmodified.
|
| 33 |
+
|
| 34 |
+
Silero VAD: Silero Team.
|
| 35 |
+
https://github.com/snakers4/silero-vad
|
| 36 |
+
https://github.com/snakers4/silero-vad/blob/master/LICENSE
|
| 37 |
+
MIT license text is retained in licenses/Silero-LICENSE.txt.
|
| 38 |
+
ONNX file supplied from the sherpa-onnx asr-models release.
|
| 39 |
+
|
| 40 |
+
The onnxruntime wheels bundled into sherpa-onnx releases are Apache-2.0; see
|
| 41 |
+
https://github.com/k2-fsa/sherpa-onnx/blob/v1.12.14/README.md
|
| 42 |
+
A copy of the Apache-2.0 text is retained in licenses/sherpa-onnx-LICENSE.txt.
|
| 43 |
+
|
| 44 |
+
Exact redistributed model hashes: offline-models.json (model files only)
|
| 45 |
+
Complete hashes for every file in this repository: SHA256SUMS.txt
|
licenses/Silero-LICENSE-upstream.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2020-present Silero Team
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
licenses/Silero-LICENSE.txt
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Provenance
|
| 2 |
+
# Retained from the ASRTools release packaging step (collected 2026-09-07).
|
| 3 |
+
# The licence text is unchanged; it differs from the upstream file only in
|
| 4 |
+
# blank lines and a trailing newline. Verified against upstream on 2026-09-16.
|
| 5 |
+
# Upstream snapshot and source:
|
| 6 |
+
# Silero-LICENSE-upstream.txt
|
| 7 |
+
# https://github.com/snakers4/silero-vad/blob/master/LICENSE
|
| 8 |
+
# ---------------------------------------------------------------------------
|
| 9 |
+
|
| 10 |
+
MIT License
|
| 11 |
+
|
| 12 |
+
Copyright (c) 2020-present Silero Team
|
| 13 |
+
|
| 14 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 15 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 16 |
+
in the Software without restriction, including without limitation the rights
|
| 17 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 18 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 19 |
+
furnished to do so, subject to the following conditions:
|
| 20 |
+
The above copyright notice and this permission notice shall be included in all
|
| 21 |
+
copies or substantial portions of the Software.
|
| 22 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 23 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 24 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 25 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 26 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 27 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 28 |
+
SOFTWARE.
|
licenses/sherpa-onnx-LICENSE.txt
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
offline-models.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"sensevoice-small-int8/model.int8.onnx": "c71f0ce00bec95b07744e116345e33d8cbbe08cef896382cf907bf4b51a2cd51",
|
| 3 |
+
"sensevoice-small-int8/tokens.txt": "f449eb28dc567533d7fa59be34e2abca8784f771850c78a47fb731a31429a1dc",
|
| 4 |
+
"silero-vad/silero_vad.onnx": "9e2449e1087496d8d4caba907f23e0bd3f78d91fa552479bb9c23ac09cbb1fd6",
|
| 5 |
+
"fa-zh/model.pt": "f34ede558af831fb504206b25f1c2f27ca2f77753c26c4dd38d03323153b6f73",
|
| 6 |
+
"fa-zh/config.yaml": "bf673207f2a2e2263403d64adec49666166c047dc74bc03153b0e7882f8d09b4",
|
| 7 |
+
"fa-zh/configuration.json": "fbb37220a629e1eb5468c8486fcd5f5650bc0817b28551530e5485db41662c73",
|
| 8 |
+
"fa-zh/tokens.json": "2b20c2b12572d682afff84ce1c8d560f67b8b32a4c1f21567411d141ed352127",
|
| 9 |
+
"fa-zh/seg_dict": "59a2ef803a3f1648ad03a2e1480db1c1ee0c0d7dc4ef4dbd16cea33944329022",
|
| 10 |
+
"fa-zh/am.mvn": "29b3c740a2c0cfc6b308126d31d7f265fa2be74f3bb095cd2f143ea970896ae5"
|
| 11 |
+
}
|
sensevoice-small-int8/LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Ref to https://github.com/modelscope/FunASR?tab=readme-ov-file#license
|
sensevoice-small-int8/README.md
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Introduction
|
| 2 |
+
|
| 3 |
+
This directory contains models converted from
|
| 4 |
+
https://github.com/FunAudioLLM/SenseVoice
|
sensevoice-small-int8/model.int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c71f0ce00bec95b07744e116345e33d8cbbe08cef896382cf907bf4b51a2cd51
|
| 3 |
+
size 239233841
|
sensevoice-small-int8/tokens.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
silero-vad/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Provenance
|
| 2 |
+
# Retained from the ASRTools release packaging step (collected 2026-09-07).
|
| 3 |
+
# The licence text is unchanged; it differs from the upstream file only in
|
| 4 |
+
# blank lines and a trailing newline. Verified against upstream on 2026-09-16.
|
| 5 |
+
# Upstream snapshot and source:
|
| 6 |
+
# Silero-LICENSE-upstream.txt
|
| 7 |
+
# https://github.com/snakers4/silero-vad/blob/master/LICENSE
|
| 8 |
+
# ---------------------------------------------------------------------------
|
| 9 |
+
|
| 10 |
+
MIT License
|
| 11 |
+
|
| 12 |
+
Copyright (c) 2020-present Silero Team
|
| 13 |
+
|
| 14 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 15 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 16 |
+
in the Software without restriction, including without limitation the rights
|
| 17 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 18 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 19 |
+
furnished to do so, subject to the following conditions:
|
| 20 |
+
The above copyright notice and this permission notice shall be included in all
|
| 21 |
+
copies or substantial portions of the Software.
|
| 22 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 23 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 24 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 25 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 26 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 27 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 28 |
+
SOFTWARE.
|
silero-vad/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Silero VAD
|
| 2 |
+
|
| 3 |
+
`silero_vad.onnx` is the Silero VAD model, redistributed unchanged from the
|
| 4 |
+
sherpa-onnx `asr-models` release archive and originally published by the
|
| 5 |
+
Silero Team.
|
| 6 |
+
|
| 7 |
+
- Upstream project: https://github.com/snakers4/silero-vad
|
| 8 |
+
- Licence: MIT (full text in this file's directory as `LICENSE`)
|
| 9 |
+
- This model performs voice activity detection only; the ASRTools offline
|
| 10 |
+
flow uses it to segment audio before recognition.
|
silero-vad/silero_vad.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e2449e1087496d8d4caba907f23e0bd3f78d91fa552479bb9c23ac09cbb1fd6
|
| 3 |
+
size 643854
|