Fix issue when load AutoModelForSeq2SeqLM model (#370)

This commit is contained in:
CL-Shang 2023-05-26 18:31:47 +08:00 committed by GitHub
parent 62f91f78ac
commit 5fde8d9991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ def get_model(
quantize=quantize,
trust_remote_code=trust_remote_code,
)
if "AutoModelForSeq2SeqLM" in auto_map.keys:
if "AutoModelForSeq2SeqLM" in auto_map.keys():
return Seq2SeqLM(
model_id,
revision,