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

Auto-tokenizer will be called within load() #996

Merged
merged 20 commits into from
Jan 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
Qubitium authored Jan 3, 2025
commit aad5ae7dbcda32a36279cedd02454d558d75004f
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@ model.quantize(calibration_dataset, batch_size=2)
model.save(quant_path)

# test post-quant inference
model = GPTQModel.load("Llama-3.2-1B-Instruct-gptqmodel-4bit")
model = GPTQModel.load(quant_path)
result = model.generate("Uncovering deep insights begins with")[0]
```