Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wenjie.Li
2025-07-03 11:31:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2025-07-03 11:31:13 +0800
Commit
ef16455cb5b06225d2bca11b3b32f7af7624db00
ef16455c
1 parent
9fe25cc0
Add sherpa-onnx-streaming-zipformer-zh-int8-2025-06-30 to android ASR apk (#2336)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
14 行增加
和
0 行删除
sherpa-onnx/kotlin-api/OnlineRecognizer.kt
sherpa-onnx/kotlin-api/OnlineRecognizer.kt
查看文件 @
ef16455
...
...
@@ -425,6 +425,19 @@ fun getModelConfig(type: Int): OnlineModelConfig? {
)
}
20 -> {
val modelDir = "sherpa-onnx-streaming-zipformer-zh-int8-2025-06-30"
return OnlineModelConfig(
transducer = OnlineTransducerModelConfig(
encoder = "$modelDir/encoder.int8.onnx",
decoder = "$modelDir/decoder.onnx",
joiner = "$modelDir/joiner.int8.onnx",
),
tokens = "$modelDir/tokens.txt",
modelType = "zipformer2",
)
}
1000 -> {
val modelDir = "sherpa-onnx-rk3588-streaming-zipformer-bilingual-zh-en-2023-02-20"
return OnlineModelConfig(
...
...
@@ -452,6 +465,7 @@ fun getModelConfig(type: Int): OnlineModelConfig? {
provider = "rknn",
)
}
}
return null
}
...
...
请
注册
或
登录
后发表评论