baize-chatbot icon indicating copy to clipboard operation
baize-chatbot copied to clipboard

How to access int8 with 13b version?

Open Meathelix1 opened this issue 2 years ago • 1 comments

Hello, I would like to know how we can access the 13b int8 version for the demo?

Meathelix1 avatar Apr 05 '23 04:04 Meathelix1

https://github.com/project-baize/baize/blob/ccf0bb8485657b7c16a57456bbb835503bac2456/demo/app.py#L18

Change this line to tokenizer, model, device = load_tokenizer_and_model(base_model, adapter_model, load_8bit=True)

JetRunner avatar Apr 05 '23 06:04 JetRunner