[DOCS] Fix typo for llava next docs (#29829)
Fix typo for llava next docs
This commit is contained in:
@@ -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:
|
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
|
```python
|
||||||
from transformers import LlavaNextForConditionalGeneration, BitsandBytesConfig
|
from transformers import LlavaNextForConditionalGeneration, BitsAndBytesConfig
|
||||||
|
|
||||||
# specify how to quantize the model
|
# specify how to quantize the model
|
||||||
quantization_config = BitsAndBytesConfig(
|
quantization_config = BitsAndBytesConfig(
|
||||||
|
|||||||
Reference in New Issue
Block a user