From 70df8c97dd804da25fae3e99fb2372f73af5bb12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E9=9B=81?= Date: Thu, 13 Jun 2024 19:35:57 +0800 Subject: [PATCH] decoding --- funasr/models/llm_asr/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funasr/models/llm_asr/model.py b/funasr/models/llm_asr/model.py index 2d229b95d..45e56c3dd 100644 --- a/funasr/models/llm_asr/model.py +++ b/funasr/models/llm_asr/model.py @@ -422,7 +422,7 @@ class LLMASR2(nn.Module): layer_id = int(name[beg + 1 : end - 1]) if layer_id < freeze_layer_num: param.requires_grad = False - elif ".ln_post." not in name: + elif "ln_post." not in name: param.requires_grad = False else: param.requires_grad = False