From 8827e26b8d487f123f8d7d5cbd8d00b81dcefcff Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期五, 23 二月 2024 00:58:18 +0800
Subject: [PATCH] fp16
---
examples/aishell/llm_asr_nar/conf/template.yaml | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/funasr/models/llm_asr/template.yaml b/examples/aishell/llm_asr_nar/conf/template.yaml
similarity index 94%
rename from funasr/models/llm_asr/template.yaml
rename to examples/aishell/llm_asr_nar/conf/template.yaml
index 8b564cd..0b26969 100644
--- a/funasr/models/llm_asr/template.yaml
+++ b/examples/aishell/llm_asr_nar/conf/template.yaml
@@ -6,7 +6,7 @@
# tables.print()
# network architecture
-model: LLMASR
+model: LLMASRNAR
model_conf:
lsm_weight: 0.1 # label smoothing option
length_normalized_loss: true
@@ -16,12 +16,13 @@
encoder_conf:
hub: funasr
init_param_path: "iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch"
+ freeze: false
llm: Vicuna
llm_conf:
hub: hf
- init_param_path: null
- freeze_llm: true
+ init_param_path: "/nfs/maziyang.mzy/models/vicuna-7b-v1.5"
+ freeze: true
adaptor: linear
adaptor_conf:
--
Gitblit v1.9.1