From fd0992af3d1a2d2d098b1fab24f67f8c4cece39d Mon Sep 17 00:00:00 2001
From: 维石 <shixian.shi@alibaba-inc.com>
Date: 星期一, 03 六月 2024 15:32:34 +0800
Subject: [PATCH] update libtorch inference
---
funasr/models/branchformer/template.yaml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/models/branchformer/template.yaml b/funasr/models/branchformer/template.yaml
index 09b1e0f..0fec497 100644
--- a/funasr/models/branchformer/template.yaml
+++ b/funasr/models/branchformer/template.yaml
@@ -94,7 +94,7 @@
dataset: AudioDataset
dataset_conf:
index_ds: IndexDSJsonl
- batch_sampler: DynamicBatchLocalShuffleSampler
+ batch_sampler: BatchSampler
batch_type: example # example or length
batch_size: 1 # if batch_type is example, batch_size is the numbers of samples; if length, batch_size is source_token_len+target_token_len;
max_token_length: 2048 # filter samples if source_token_len+target_token_len > max_token_length,
--
Gitblit v1.9.1