Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update multi-hans-zh whisper-qwen-1.5b results #1657

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 24 additions & 5 deletions egs/speech_llm/ASR_LLM/RESULTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,31 @@

### whisper_llm_zh finetuning results

| Training Dataset | Speech Encoder | LLM | Projector |Comment | CER |
| -------------------------| ----------------|------|--------------------------------------------------|-----|--|
| Aishell1 | whisper-large-v2-aishell1-ft, freeze| Qwen2-1.5B-Instruct, LoRA | Linear, 8x downsample| [yuekai/icefall_asr_aishell_whisper_qwen2_1.5B](https://huggingface.co/yuekai/icefall_asr_aishell_whisper_qwen2_1.5B) | Aishell1 Test 3.62% |
<!-- | Multi-hans-zh | whisper-large-v2-multi-hans-ft, freeze| Qwen2-1.5B-Instruct, LoRA | Linear, 8x downsample| WIP ||
| Multi-hans-zh | whisper-large-v2-multi-hans-ft, freeze| Qwen2-7B-Instruct, LoRA | Linear, 8x downsample| WIP || -->
|Model| Training Dataset | Speech Encoder | LLM | Projector |
|-| -------------------------| ----------------|------|---------------|
|[yuekai/icefall_asr_aishell_whisper_qwen2_1.5B](https://huggingface.co/yuekai/icefall_asr_aishell_whisper_qwen2_1.5B) | Aishell1 | whisper-large-v2-aishell1-ft, freeze| Qwen2-1.5B-Instruct, LoRA | Linear, 8x downsample|
| [yuekai/icefall_asr_multi-hans_whisper_qwen2_1.5B](https://huggingface.co/yuekai/icefall_asr_multi-hans_whisper_qwen2_1.5B) |Multi-hans-zh | whisper-large-v2-multi-hans-ft, freeze| Qwen2-1.5B-Instruct, LoRA | Linear, 8x downsample||

CER Details:
| Model | [yuekai/icefall_asr_aishell_whisper_qwen2_1.5B](https://huggingface.co/yuekai/icefall_asr_aishell_whisper_qwen2_1.5B) | [yuekai/icefall_asr_multi-hans_whisper_qwen2_1.5B](https://huggingface.co/yuekai/icefall_asr_multi-hans_whisper_qwen2_1.5B) |
|-------|------------------------------------------------|----------------------------------------------------|
| Split | Greedy Search | Greedy Search |
| aishell-1 dev | - | 0.66 |
| aishell-1 test | 3.62 | 0.68 |
| aishell-2 dev | - | 2.67 |
| aishell-2 test | - | 2.94 |
| aishell-4 test | - | 16.20 |
| alimeeting eval | - | 30.86 |
| alimeeting test | - | 40.50 |
| magicdata dev | - | 2.50 |
| magicdata test | - | 1.70 |
| kespeech-asr dev phase1 | - | 6.22 |
| kespeech-asr dev phase2 | - | 2.18 |
| kespeech-asr test | - | 6.59 |
| WenetSpeech dev | - | 4.59 |
| WenetSpeech test_meeting | - | 6.41 |
| WenetSpeech tes_net | - | 6.63 |
| SPEECHIO Avg 001-026 | - | 4.80 |
Command for training is:
```bash
pip install -r whisper_llm_zh/requirements.txt
Expand Down
7 changes: 3 additions & 4 deletions egs/speechio/ASR/local/normalize_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""
This file uses whisper and zipformer decoding results to generate fusion decoding results.
Since whisper model is more likely to make deletion errors and zipformer model is more likely to make substitution and insertion errors,
we trust whisper model when it makes substitution and insertion errors and trust zipformer model when it makes deletion errors.
This file uses speech io offcial pipline to normalize the decoding results.
https://github.com/SpeechColab/Leaderboard/blob/master/utils/textnorm_zh.py

Usage:
python whisper_zipformer_fusion.py --model-log-dir ./whisper_decoding_log_dir --output-log-dir ./results_norm
python normalize_results.py --model-log-dir ./whisper_decoding_log_dir --output-log-dir ./results_norm
"""

import argparse
Expand Down
Loading