From eb92e79fb94e7b3df8f27c8ce3e607a70dff2a2e Mon Sep 17 00:00:00 2001
From: 语帆 <yf352572@alibaba-inc.com>
Date: 星期三, 28 二月 2024 15:21:32 +0800
Subject: [PATCH] test
---
funasr/models/paraformer/template.yaml | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/funasr/models/paraformer/template.yaml b/funasr/models/paraformer/template.yaml
index 000f641..bccf638 100644
--- a/funasr/models/paraformer/template.yaml
+++ b/funasr/models/paraformer/template.yaml
@@ -2,11 +2,10 @@
# You can modify the configuration according to your own requirements.
# to print the register_table:
-# from funasr.utils.register import registry_tables
-# registry_tables.print()
+# from funasr.register import tables
+# 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