Update santacoder.py

This commit is contained in:
Florian Zimmermeister 2023-07-11 18:37:09 +02:00 committed by GitHub
parent 377c01e21e
commit 780198b9e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ class SantaCoder(CausalLM):
model_id, model_id,
revision=revision, revision=revision,
torch_dtype=dtype, torch_dtype=dtype,
load_in_8bit=quantize == "bitsandbytes", load_in_4bit=quantize == "bitsandbytes",
trust_remote_code=trust_remote_code, trust_remote_code=trust_remote_code,
).to(device) ).to(device)