We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df2fd3 commit df1084eCopy full SHA for df1084e
docs/source/quickstart.mdx
@@ -54,6 +54,7 @@ from transformers import AutoModelForCausalLM, BitsAndBytesConfig
54
bnb_config = BitsAndBytesConfig(
55
load_in_4bit=True,
56
bnb_4bit_compute_dtype=torch.bfloat16,
57
+ bnb_4bit_quant_type="nf4",
58
)
59
60
model = AutoModelForCausalLM.from_pretrained(
0 commit comments