From 27f6d173ec45ce3a31129e5d79b8d0b5c2d227aa Mon Sep 17 00:00:00 2001
From: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Date: 星期五, 19 五月 2023 13:23:11 +0800
Subject: [PATCH] update paraformer online text postprocess
---
funasr/bin/train.py | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/funasr/bin/train.py b/funasr/bin/train.py
index 53e5bde..b0d46e7 100755
--- a/funasr/bin/train.py
+++ b/funasr/bin/train.py
@@ -335,6 +335,12 @@
help="dev dataset",
)
parser.add_argument(
+ "--data_file_names",
+ type=str,
+ default="wav.scp,text",
+ help="input data files",
+ )
+ parser.add_argument(
"--speed_perturb",
type=float,
nargs="+",
@@ -346,12 +352,6 @@
type=str2bool,
default=True,
help="Apply preprocessing to data or not",
- )
- parser.add_argument(
- "--embed_path",
- type=str,
- default=None,
- help="for model which requires embeds",
)
# optimization related
--
Gitblit v1.9.1