Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access int8 with 13b version? #15

Open
Meathelix1 opened this issue Apr 5, 2023 · 1 comment
Open

How to access int8 with 13b version? #15

Meathelix1 opened this issue Apr 5, 2023 · 1 comment

Comments

@Meathelix1
Copy link

Meathelix1 commented Apr 5, 2023

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

@JetRunner
Copy link
Contributor

JetRunner commented Apr 5, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants