Repository navigation
Export nvidia/parakeet-unified-en-0.6b to sherpa-onnx - #3556
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR introduces support for the Nemo Parakeet unified English 0.6B ASR model with complete export infrastructure, model quantization to int8, and registration across multiple application platforms. It expands GitHub Actions job matrices, adds a new automated model export workflow, updates model registries in four files, and includes comprehensive export, testing, and documentation scripts. Changes
Sequence Diagram(s)sequenceDiagram
actor GH as GitHub<br/>(Trigger)
participant WF as GitHub Actions<br/>Workflow
participant Mac as macOS<br/>Runner
participant HF1 as Hugging Face<br/>fp32 Repo
participant HF2 as Hugging Face<br/>int8 Repo
participant GHR as GitHub<br/>Release
GH->>WF: Push to branch / Manual trigger
WF->>Mac: Execute on macOS
Mac->>Mac: Download model &<br/>dependencies
Mac->>Mac: Export to ONNX<br/>(fp32)
Mac->>Mac: Quantize to int8
Mac->>Mac: Organize artifacts<br/>(fp32 & int8 dirs)
Mac->>Mac: Archive int8<br/>as tar.bz2
Mac->>HF1: Clone fp32 repo<br/>with auth token
Mac->>HF1: Copy fp32 artifacts
Mac->>HF1: Configure Git LFS
Mac->>HF1: Commit & push to main
Mac->>HF2: Clone int8 repo<br/>with auth token
Mac->>HF2: Copy int8 artifacts
Mac->>HF2: Configure Git LFS
Mac->>HF2: Commit & push to main
Mac->>GHR: Upload tar.bz2 files<br/>to release (asr-models tag)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request adds support for the NVIDIA Parakeet Unified 0.6b model and updates versioning for several Russian ASR models. It includes new scripts for ONNX export and testing, as well as integration updates for APK generation, Tauri, Kotlin, and Rust components. Feedback points out an unnecessary ipython dependency and a configuration error in the FP32 test script where a quantized encoder was incorrectly used.
| ipython \ | ||
| kaldi-native-fbank \ |
|
|
||
| echo "---fp32----" | ||
| python3 ./test_onnx.py \ | ||
| --encoder ./encoder.int8.onnx \ |
See doc at
https://k2-fsa.github.io/sherpa/onnx/pretrained_models/offline-transducer/nemo-transducer-models.html#sherpa-onnx-nemo-parakeet-unified-en-0-6b-int8-non-streaming-english
Summary by CodeRabbit
Release Notes
New Features
Chores