Unverified Commit 5fde8d99 authored by CL-Shang's avatar CL-Shang Committed by GitHub
Browse files

Fix issue when load AutoModelForSeq2SeqLM model (#370)

parent 62f91f78
...@@ -266,7 +266,7 @@ def get_model( ...@@ -266,7 +266,7 @@ def get_model(
quantize=quantize, quantize=quantize,
trust_remote_code=trust_remote_code, trust_remote_code=trust_remote_code,
) )
if "AutoModelForSeq2SeqLM" in auto_map.keys: if "AutoModelForSeq2SeqLM" in auto_map.keys():
return Seq2SeqLM( return Seq2SeqLM(
model_id, model_id,
revision, revision,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment