Commit 995c33bc by ‘chizw’

模型微调

1 parent f131d936
...@@ -14,7 +14,7 @@ model = AutoModel( ...@@ -14,7 +14,7 @@ model = AutoModel(
vad_model="fsmn-vad", vad_model="fsmn-vad",
punc_model="ct-punc", punc_model="ct-punc",
spk_model="cam++", spk_model="cam++",
ncpu=4, ncpu=8,
) )
...@@ -37,7 +37,7 @@ class FunasrService(object): ...@@ -37,7 +37,7 @@ class FunasrService(object):
@timeit @timeit
def transform(self): def transform(self):
res = model.generate(input=self.path, batch_size_s=100, hotword="问界 80") res = model.generate(input=self.path, batch_size_s=200, hotword="问界 80")
# print(res) # print(res)
return res return res
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!