make gemma's output better (#10943)

This commit is contained in:
Xin Qiu 2024-05-08 14:27:51 +08:00 committed by GitHub
parent 15ee3fd542
commit 5973d6c753
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,6 +48,7 @@ if __name__ == '__main__':
load_in_4bit=True,
optimize_model=True,
trust_remote_code=True,
mixed_precision=True,
use_cache=True)
model = model.to('xpu')