From cbe2ea7e07cbf364827bd89cefc42b3f643ea3be Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 18 三月 2024 23:59:09 +0800
Subject: [PATCH] paraformer streaming bugfix
---
funasr/models/paraformer/template.yaml | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/funasr/models/paraformer/template.yaml b/funasr/models/paraformer/template.yaml
index 1909600..bccf638 100644
--- a/funasr/models/paraformer/template.yaml
+++ b/funasr/models/paraformer/template.yaml
@@ -1,8 +1,11 @@
# This is an example that demonstrates how to configure a model file.
# You can modify the configuration according to your own requirements.
+# to print the register_table:
+# from funasr.register import tables
+# tables.print()
+
# network architecture
-#model: funasr.models.paraformer.model:Paraformer
model: Paraformer
model_conf:
ctc_weight: 0.0
@@ -83,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
@@ -117,7 +114,6 @@
split_with_space: true
-input_size: 560
ctc_conf:
dropout_rate: 0.0
ctc_type: builtin
--
Gitblit v1.9.1