From 7498bd7388afdde8d5e6f8a4cb6aeb8be8ac60fa Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期五, 08 三月 2024 11:37:46 +0800
Subject: [PATCH] update code

---
 funasr/models/paraformer/template.yaml |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/funasr/models/paraformer/template.yaml b/funasr/models/paraformer/template.yaml
index 94eebf7..bccf638 100644
--- a/funasr/models/paraformer/template.yaml
+++ b/funasr/models/paraformer/template.yaml
@@ -6,7 +6,6 @@
 # tables.print()
 
 # network architecture
-#model: funasr.models.paraformer.model:Paraformer
 model: Paraformer
 model_conf:
     ctc_weight: 0.0
@@ -87,14 +86,8 @@
   accum_grad: 1
   grad_clip: 5
   max_epoch: 150
-  val_scheduler_criterion:
-      - valid
-      - acc
-  best_model_criterion:
-  -   - valid
-      - acc
-      - max
   keep_nbest_models: 10
+  avg_nbest_model: 5
   log_interval: 50
 
 optim: adam

--
Gitblit v1.9.1