Skip to content

Commit e227484

Browse files
authored
Release FunASR 1.4.27 (#3916)
Deliver tested NumPy audio-array, zero-duration VAD, timestamp, and segmentation-dictionary fixes (#3890, #3891, #3896, #3898, #3903). Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
2 parents 114292d + 6ee37d0 commit e227484

8 files changed

Lines changed: 18 additions & 12 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ recordings with the same evaluation scope.
364364
## What's new
365365

366366
- **MOSS-Transcribe-Diarize** brings long-form ASR, timestamps, and anonymous speaker labels to FunASR services, Docker, Kubernetes, vLLM/SGLang workflows, and FunClip. [Deploy MOSS ->](./docs/moss_transcribe_diarize.md)
367-
- **FunASR 1.4.26** preserves word spaces between English/Korean VAD segments and returns plain text for HTTP `response_format=text`. [#3874](https://github.com/modelscope/FunASR/pull/3874), [#3883](https://github.com/modelscope/FunASR/pull/3883). `python -m pip install -U "funasr==1.4.26"`. [Release / 验证范围](https://github.com/modelscope/FunASR/releases/tag/v1.4.26)
367+
- **FunASR 1.4.27** accepts int16 and multichannel NumPy audio arrays, handles zero-duration VAD results, preserves sentence timestamp output when punctuation is absent, and skips blank segmentation-dictionary lines. [#3890](https://github.com/modelscope/FunASR/pull/3890), [#3891](https://github.com/modelscope/FunASR/pull/3891), [#3896](https://github.com/modelscope/FunASR/pull/3896), [#3898](https://github.com/modelscope/FunASR/pull/3898), [#3903](https://github.com/modelscope/FunASR/pull/3903). `python -m pip install -U "funasr==1.4.27"`. [Release and verification scope ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.27)
368+
**FunASR 1.4.26** preserves word spaces between English/Korean VAD segments and returns plain text for HTTP `response_format=text`. [#3874](https://github.com/modelscope/FunASR/pull/3874), [#3883](https://github.com/modelscope/FunASR/pull/3883). `python -m pip install -U "funasr==1.4.26"`. [Release / 验证范围](https://github.com/modelscope/FunASR/releases/tag/v1.4.26)
368369
**FunASR 1.4.25** restores Python 3.12 boolean argument parsing without `distutils` and preserves normalized error messages; removes synthetic leading spaces from Latin sentence timestamps while preserving boundaries and raw text. [Fix #3863](https://github.com/modelscope/FunASR/pull/3863), [fix #3866](https://github.com/modelscope/FunASR/pull/3866). Install with `python -m pip install -U "funasr==1.4.25"`. [Release and verification scope ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.25)
369370
**FunASR 1.4.24** ignores empty non-linguistic symbols to prevent tokenizer loops, fixes padded variance normalization, and prevents CIF crashes in mixed batches containing zero-fire samples. [Fix #3852](https://github.com/modelscope/FunASR/pull/3852), [fix #3853](https://github.com/modelscope/FunASR/pull/3853), [fix #3854](https://github.com/modelscope/FunASR/pull/3854). A checkpoint trained with both `norm_means=True` and `norm_vars=True` needs recognition-quality reevaluation because normalized features change; `norm_vars=False` remains the default. Install with `python -m pip install -U "funasr==1.4.24"`. [Release and verification scope ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.24)
370371
**FunASR 1.4.23** fixes the online frontend cursor for `lfr_m=lfr_n=1` and redundant empty final offline VAD chunks. With a supplied `token_list`, SentencePiece `ids2tokens` returns model pieces; use `tokens2text` for text. Without `token_list`, legacy text decoding is unchanged. [Fix #3849](https://github.com/modelscope/FunASR/pull/3849), [fix #3783](https://github.com/modelscope/FunASR/pull/3783). [Release and verification scope ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.23)

‎README_ja.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ CER/WER をそろえて比較してください。オフラインのスループ
112112
## 最新情報
113113

114114
- **MOSS-Transcribe-Diarize** を FunASR service、Docker、Kubernetes、vLLM/SGLang workflow、FunClip に統合し、長時間 ASR、timestamp、匿名 speaker label を一度に処理できます。[MOSS をデプロイ ->](./docs/moss_transcribe_diarize.md)
115-
- **FunASR 1.4.26** は英語・韓国語の VAD セグメント間の単語区切りを保持し、HTTP `response_format=text` でプレーンテキストを返します。 [#3874](https://github.com/modelscope/FunASR/pull/3874), [#3883](https://github.com/modelscope/FunASR/pull/3883). `python -m pip install -U "funasr==1.4.26"`. [Release / 验证范围](https://github.com/modelscope/FunASR/releases/tag/v1.4.26)
115+
- **FunASR 1.4.27** は int16 と multichannel の NumPy 音声配列を受け付け、ゼロ長の VAD 結果を処理し、句読点がない場合も文の timestamp を保持し、分割辞書の blank 行をスキップします。[#3890](https://github.com/modelscope/FunASR/pull/3890)、[#3891](https://github.com/modelscope/FunASR/pull/3891)、[#3896](https://github.com/modelscope/FunASR/pull/3896)、[#3898](https://github.com/modelscope/FunASR/pull/3898)、[#3903](https://github.com/modelscope/FunASR/pull/3903)。`python -m pip install -U "funasr==1.4.27"`。[リリースと検証範囲 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.27)
116+
**FunASR 1.4.26** は英語・韓国語の VAD セグメント間の単語区切りを保持し、HTTP `response_format=text` でプレーンテキストを返します。 [#3874](https://github.com/modelscope/FunASR/pull/3874), [#3883](https://github.com/modelscope/FunASR/pull/3883). `python -m pip install -U "funasr==1.4.26"`. [Release / 验证范围](https://github.com/modelscope/FunASR/releases/tag/v1.4.26)
116117
**FunASR 1.4.25** は Python 3.12 の真偽値引数を `distutils` なしで解析し、正規化されたエラーメッセージを維持します。ラテン文字で始まる文のタイムスタンプ出力から余分な先頭空白を除き、時刻境界と原文を保持します。[修正 #3863](https://github.com/modelscope/FunASR/pull/3863)、[修正 #3866](https://github.com/modelscope/FunASR/pull/3866)。`python -m pip install -U "funasr==1.4.25"` でインストールできます。[リリースと検証範囲 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.25)
117118
**FunASR 1.4.24** は空の非言語記号によるトークナイザーの無限ループ、パディングを含む分散正規化、発火回数ゼロのサンプルを含む混合バッチでの CIF クラッシュを修正します。[修正 #3852](https://github.com/modelscope/FunASR/pull/3852)、[修正 #3853](https://github.com/modelscope/FunASR/pull/3853)、[修正 #3854](https://github.com/modelscope/FunASR/pull/3854)。`norm_means=True` と `norm_vars=True` の両方で学習した checkpoint は正規化特徴が変わるため、認識品質の再評価が必要です。既定値は引き続き `norm_vars=False` です。`python -m pip install -U "funasr==1.4.24"` でインストールできます。[リリースと検証範囲 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.24)
118119
**FunASR 1.4.23** は `lfr_m=lfr_n=1` のオンライン特徴抽出のフレーム位置と、オフライン VAD の余分な空の最終チャンクを修正します。`token_list` 指定時の SentencePiece `ids2tokens` はモデルのピースを返し、テキストへの変換には `tokens2text` を使います。未指定時の従来のテキスト復号は維持します。[修正 #3849](https://github.com/modelscope/FunASR/pull/3849)、[修正 #3783](https://github.com/modelscope/FunASR/pull/3783)。[リリースと検証範囲 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.23)

‎README_ko.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ checkpoint/revision, 오디오 집합, 하드웨어, 배치, 워밍업, 측정
111111
## 최신 소식
112112

113113
- **MOSS-Transcribe-Diarize**를 FunASR service, Docker, Kubernetes, vLLM/SGLang workflow, FunClip에 통합해 긴 오디오 ASR, timestamp, 익명 speaker label을 한 번에 처리합니다. [MOSS 배포 ->](./docs/moss_transcribe_diarize.md)
114-
- **FunASR 1.4.26** 는 영어·한국어 VAD 구간 사이의 단어 공백을 보존하고 HTTP `response_format=text` 요청에 일반 텍스트를 반환합니다. [#3874](https://github.com/modelscope/FunASR/pull/3874), [#3883](https://github.com/modelscope/FunASR/pull/3883). `python -m pip install -U "funasr==1.4.26"`. [Release / 验证范围](https://github.com/modelscope/FunASR/releases/tag/v1.4.26)
114+
- **FunASR 1.4.27** 은 int16 및 multichannel NumPy 오디오 배열을 처리하고, 길이가 0인 VAD 결과를 안전하게 다루며, 구두점이 없을 때도 문장 timestamp 를 유지하고, 분할 사전의 blank 줄을 건너뜁니다. [#3890](https://github.com/modelscope/FunASR/pull/3890), [#3891](https://github.com/modelscope/FunASR/pull/3891), [#3896](https://github.com/modelscope/FunASR/pull/3896), [#3898](https://github.com/modelscope/FunASR/pull/3898), [#3903](https://github.com/modelscope/FunASR/pull/3903). `python -m pip install -U "funasr==1.4.27"`. [릴리스 및 검증 범위 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.27)
115+
**FunASR 1.4.26** 는 영어·한국어 VAD 구간 사이의 단어 공백을 보존하고 HTTP `response_format=text` 요청에 일반 텍스트를 반환합니다. [#3874](https://github.com/modelscope/FunASR/pull/3874), [#3883](https://github.com/modelscope/FunASR/pull/3883). `python -m pip install -U "funasr==1.4.26"`. [Release / 验证范围](https://github.com/modelscope/FunASR/releases/tag/v1.4.26)
115116
**FunASR 1.4.25**는 Python 3.12에서 `distutils` 없이 불리언 인수를 처리하고 정규화된 오류 메시지를 유지합니다. 라틴 문자로 시작하는 문장의 타임스탬프 출력에서 불필요한 앞 공백을 제거하며 시간 경계와 원문은 보존합니다. [수정 #3863](https://github.com/modelscope/FunASR/pull/3863), [수정 #3866](https://github.com/modelscope/FunASR/pull/3866). `python -m pip install -U "funasr==1.4.25"`로 설치할 수 있습니다. [릴리스 및 검증 범위 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.25)
116117
**FunASR 1.4.24**는 빈 비언어 기호로 인한 토크나이저 무한 루프, 패딩이 있는 입력의 분산 정규화 오류, 발화 횟수가 0인 샘플이 섞인 배치의 CIF 충돌을 수정합니다. [수정 #3852](https://github.com/modelscope/FunASR/pull/3852), [수정 #3853](https://github.com/modelscope/FunASR/pull/3853), [수정 #3854](https://github.com/modelscope/FunASR/pull/3854). `norm_means=True`와 `norm_vars=True`를 모두 사용해 학습한 checkpoint는 정규화 특징이 달라지므로 인식 품질을 다시 평가해야 합니다. 기본값은 계속 `norm_vars=False`입니다. `python -m pip install -U "funasr==1.4.24"`로 설치할 수 있습니다. [릴리스 및 검증 범위 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.24)
117118
**FunASR 1.4.23**은 `lfr_m=lfr_n=1` 온라인 프런트엔드의 프레임 위치와 오프라인 VAD의 불필요한 빈 마지막 청크를 수정합니다. `token_list`를 지정하면 SentencePiece `ids2tokens`는 모델 토큰을 반환하며, 텍스트 변환에는 `tokens2text`를 사용합니다. 미지정 시 기존 텍스트 디코딩은 유지됩니다. [수정 #3849](https://github.com/modelscope/FunASR/pull/3849), [수정 #3783](https://github.com/modelscope/FunASR/pull/3783). [릴리스 및 검증 범위 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.23)

‎README_zh.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ checkpoint/revision、音频集、硬件、批量大小、预热、计时范围
157157
## 最新动态
158158

159159
- **MOSS-Transcribe-Diarize** 已接入 FunASR 服务、Docker、Kubernetes、vLLM/SGLang 工作流和 FunClip,一次完成长音频转写、时间戳与匿名说话人标注。[部署 MOSS ->](./docs/moss_transcribe_diarize_zh.md)
160-
- **FunASR 1.4.26** 保留英语、韩语 VAD 分段间的词间空格,并让 HTTP `response_format=text` 返回纯文本。 [#3874](https://github.com/modelscope/FunASR/pull/3874), [#3883](https://github.com/modelscope/FunASR/pull/3883). `python -m pip install -U "funasr==1.4.26"`. [Release / 验证范围](https://github.com/modelscope/FunASR/releases/tag/v1.4.26)
160+
- **FunASR 1.4.27** 支持 int16 与 multichannel NumPy 音频数组,处理零时长 VAD 结果,在无标点时保留句子 timestamp,并跳过分词字典中的 blank 行。[#3890](https://github.com/modelscope/FunASR/pull/3890)、[#3891](https://github.com/modelscope/FunASR/pull/3891)、[#3896](https://github.com/modelscope/FunASR/pull/3896)、[#3898](https://github.com/modelscope/FunASR/pull/3898)、[#3903](https://github.com/modelscope/FunASR/pull/3903)。`python -m pip install -U "funasr==1.4.27"`。[发布说明与验证范围 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.27)
161+
**FunASR 1.4.26** 保留英语、韩语 VAD 分段间的词间空格,并让 HTTP `response_format=text` 返回纯文本。 [#3874](https://github.com/modelscope/FunASR/pull/3874), [#3883](https://github.com/modelscope/FunASR/pull/3883). `python -m pip install -U "funasr==1.4.26"`. [Release / 验证范围](https://github.com/modelscope/FunASR/releases/tag/v1.4.26)
161162
**FunASR 1.4.25** 修复 Python 3.12 下不依赖 `distutils` 的布尔参数解析并保留归一化错误信息;移除拉丁文字句子时间戳中的多余前导空格,保留时间边界和原始文本。[修复 #3863](https://github.com/modelscope/FunASR/pull/3863)、[修复 #3866](https://github.com/modelscope/FunASR/pull/3866)。安装:`python -m pip install -U "funasr==1.4.25"`。[发布说明与验证范围 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.25)
162163
**FunASR 1.4.24** 忽略空的非语言符号以避免分词死循环,修复带填充输入的方差归一化,并避免包含零触发样本的混合批次导致 CIF 崩溃。[修复 #3852](https://github.com/modelscope/FunASR/pull/3852)、[修复 #3853](https://github.com/modelscope/FunASR/pull/3853)、[修复 #3854](https://github.com/modelscope/FunASR/pull/3854)。同时启用 `norm_means=True` 和 `norm_vars=True` 训练的 checkpoint 会收到不同的归一化特征,需要重新评估识别质量;默认仍为 `norm_vars=False`。安装:`python -m pip install -U "funasr==1.4.24"`。[发布说明与验证范围 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.24)
163164
**FunASR 1.4.23** 修复 `lfr_m=lfr_n=1` 在线前端的帧游标和离线 VAD 多余的空尾块。提供 `token_list` 时,SentencePiece 的 `ids2tokens` 返回模型词元,请用 `tokens2text` 转为文本;未提供 `token_list` 时保持旧有文本解码行为。[修复 #3849](https://github.com/modelscope/FunASR/pull/3849)、[修复 #3783](https://github.com/modelscope/FunASR/pull/3783)。[发布说明与验证范围 ->](https://github.com/modelscope/FunASR/releases/tag/v1.4.23)

‎docs/repository_roles.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This document explains the responsibility boundaries, user entry points, and iss
55
> **Directional roadmap, not a release promise.**
66
> This document records shipped capabilities and active work, but does not commit to
77
> future version numbers or dates. The current Python release is
8-
> [`funasr==1.4.26`](https://github.com/modelscope/FunASR/releases/tag/v1.4.26).
8+
> [`funasr==1.4.27`](https://github.com/modelscope/FunASR/releases/tag/v1.4.27).
99
> Any future breaking release still requires a maintainer-approved milestone and
1010
> migration plan.
1111

‎docs/repository_roles_zh.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
> **方向性路线图,不是版本承诺。**
66
> 本文档记录已交付能力与正在推进的工作,但不承诺未来版本号或日期。当前 Python
7-
> 版本是 [`funasr==1.4.26`](https://github.com/modelscope/FunASR/releases/tag/v1.4.26)。
7+
> 版本是 [`funasr==1.4.27`](https://github.com/modelscope/FunASR/releases/tag/v1.4.27)。
88
> 任何未来的 breaking release 仍需 maintainer 确认 milestone 与迁移方案。
99
1010
---

‎funasr/version.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.26
1+
1.4.27

‎tests/test_release_version_contract.py‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
ROOT = Path(__file__).resolve().parents[1]
7-
RELEASE_VERSION = "1.4.26"
7+
RELEASE_VERSION = "1.4.27"
88
README_FILES = ("README.md", "README_zh.md", "README_ja.md", "README_ko.md")
99
REPOSITORY_ROLE_FILES = ("docs/repository_roles.md", "docs/repository_roles_zh.md")
1010
@pytest.mark.parametrize("name", README_FILES)
@@ -32,14 +32,16 @@ def test_release_summary_covers_parser_and_timestamp_fixes(name):
3232

3333

3434
@pytest.mark.parametrize("name", README_FILES)
35-
def test_release_summary_covers_vad_spacing_and_plain_text(name):
35+
def test_release_summary_covers_audio_arrays_zero_duration_timestamps_and_seg_dict(name):
3636
summaries = [line for line in (ROOT / name).read_text(encoding="utf-8").splitlines()
3737
if f"**FunASR {RELEASE_VERSION}**" in line]
3838
assert len(summaries) == 1
39-
assert "VAD" in summaries[0]
40-
assert "response_format=text" in summaries[0]
41-
for number in (3874, 3883):
39+
for term in ("int16", "multichannel", "VAD", "timestamp", "blank"):
40+
assert term in summaries[0]
41+
for number in (3890, 3891, 3896, 3898, 3903):
4242
assert f"https://github.com/modelscope/FunASR/pull/{number}" in summaries[0]
43+
assert f"funasr=={RELEASE_VERSION}" in summaries[0]
44+
assert f"releases/tag/v{RELEASE_VERSION}" in summaries[0]
4345

4446

4547

0 commit comments

Comments
 (0)