Skip to content

Commit

Permalink
📥 Fix missing BitsAndBytesConfig import in doc (#2478)
Browse files Browse the repository at this point in the history
  • Loading branch information
August-murr authored Dec 15, 2024
1 parent 6d4ed07 commit 117c6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Read more about 8-bit model loading in `transformers` [here](https://huggingface

```python
from datasets import load_dataset
from transformers import AutoModelForCausalLM, AutoTokenizer
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
from trl import DPOConfig, DPOTrainer

model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct")
Expand Down

0 comments on commit 117c6d4

Please sign in to comment.