From c880db53646ab9fd26417f4baf004ab44cc24e1a Mon Sep 17 00:00:00 2001
From: lingji-yidong <75744976+lingji-yidong@users.noreply.github.com>
Date: 星期五, 28 六月 2024 01:28:24 +0800
Subject: [PATCH] Fix: Return tuple ('', []) when char_list is empty to prevent ValueError (#1857)
---
funasr/models/uniasr/template.yaml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/models/uniasr/template.yaml b/funasr/models/uniasr/template.yaml
index e72a2d5..43d55fc 100644
--- a/funasr/models/uniasr/template.yaml
+++ b/funasr/models/uniasr/template.yaml
@@ -171,7 +171,7 @@
grad_clip: 5
max_epoch: 150
keep_nbest_models: 10
- avg_nbest_model: 5
+ avg_nbest_model: 10
log_interval: 50
optim: adam
--
Gitblit v1.9.1