From dafe37025547597164e6d2efbfaff06f2404237c Mon Sep 17 00:00:00 2001 From: Billy Cao Date: Sun, 24 Mar 2024 02:32:31 +0800 Subject: [PATCH] [DOCS] Fix typo for llava next docs (#29829) Fix typo for llava next docs --- docs/source/en/model_doc/llava_next.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/model_doc/llava_next.md b/docs/source/en/model_doc/llava_next.md index 113c3832f4..f9920c9558 100644 --- a/docs/source/en/model_doc/llava_next.md +++ b/docs/source/en/model_doc/llava_next.md @@ -101,7 +101,7 @@ print(processor.decode(output[0], skip_special_tokens=True)) The model can be loaded in 8 or 4 bits, greatly reducing the memory requirements while maintaining the performance of the original model. First make sure to install bitsandbytes, `pip install bitsandbytes`` and make sure to have access to a CUDA compatible GPU device. Simply change the snippet above with: ```python -from transformers import LlavaNextForConditionalGeneration, BitsandBytesConfig +from transformers import LlavaNextForConditionalGeneration, BitsAndBytesConfig # specify how to quantize the model quantization_config = BitsAndBytesConfig(