Update finetune.py

main
Junyang Lin 1 year ago committed by GitHub
parent 8c5beaba8d
commit 3e63f107fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -302,7 +302,7 @@ def train():
config=config, config=config,
cache_dir=training_args.cache_dir, cache_dir=training_args.cache_dir,
device_map=device_map, device_map=device_map,
low_cpu_mem_usage=True if training_args.use_lora and not lora_args.q_lora, low_cpu_mem_usage=True if training_args.use_lora and not lora_args.q_lora else False,
trust_remote_code=True, trust_remote_code=True,
quantization_config=GPTQConfig( quantization_config=GPTQConfig(
bits=4, disable_exllama=True bits=4, disable_exllama=True

Loading…
Cancel
Save