config.json 标准化 + README frontmatter(HF 模型卡规范)
#2
by inoryQwQ - opened
补齐全套 HF 模型卡元数据:config.json 增加 pipeline_tag/license/language/tags/library_name,README 增加 YAML frontmatter。详细内容见 https://github.com/AXERA-TECH/openWakeWord.AXERA/pull/1 与本地草稿。
PR 内容已补全:
- config.json 标准化(pipeline_tag/license/language/tags/library_name)
- README.md 增加 YAML frontmatter + 已知问题说明
- models/650 与 models/630C 的 6 个分类器 axmodel 替换为重新校准版本(高响应窗口采样,校准集含 TTS 唤醒词正样本;编译配方同 GitHub PR #1:U16 默认层 + disable_auto_refine_scale)
板端峰值窗口实测(ORT vs NPU):
| 模型 | 旧发布版 | 本 PR |
|---|---|---|
| alexa | 1.0 | 1.0 |
| hey_jarvis | 0.92 | 0.9988 |
| hey_mycroft | 1.0 | 1.0 |
| hey_rhasspy | 0.005 | 0.9738 |
| weather | 0.79 | 1.0 |
| timer | 1.0 | 1.0 |
AX650 与 AX630C 板端均已跑通(6 唤醒词正样本触发、负样本静默)。
inoryQwQ changed pull request status to open
HY-2012 changed pull request status to merged
按 HF 发布规范补充:C++ 源码/构建脚本(cpp/src、openwakeword_ax.cpp、CMakeLists.txt、build_*.sh、download_bsp.sh)已从 HF 移除,仅保留预编译二进制 cpp/bin/*(ax650/ax630c);源码与复现构建留在 GitHub 仓库 https://github.com/AXERA-TECH/openWakeWord.AXERA 。同时清理了 scripts/__pycache__。
README 已修复:补上 YAML frontmatter(此前缺失);目录结构与 C++ 章节改为仅预编译二进制 + 运行脚本的说明,删除已随源码移除的交叉编译/BSP 下载步骤;C++ 源码指向 GitHub 仓库。
新增 C++ 二次开发支持:
- cpp/lib/ax650/libopenwakeword_ax.so + cpp/lib/ax630c/libopenwakeword_ax.so(预编译共享库)
- cpp/include/openwakeword_ax.hpp(公共 API:WakeWordDetector::ProcessFrame)
- README 增加共享库链接示例
板端实测(链接共享库的示例程序):
- AX650:alexa_test.wav → alexa 1.0 WAKEUP;hey_mycroft_test.wav → mycroft 1.0 WAKEUP
- AX630C:alexa_test.wav → alexa 0.999985 WAKEUP
共享库源码与构建脚本见 GitHub PR:https://github.com/AXERA-TECH/openWakeWord.AXERA/pull/2