Merge pull request #2492 from yuanzhedong/yz/dev/fix-readme

Fix readme example
This commit is contained in:
Michael Han 2025-05-07 23:29:59 -07:00 committed by GitHub
commit 1a99b4dc94

View file

@ -240,7 +240,7 @@ print(f'pip install --upgrade pip && pip install "unsloth[{x}] @ git+https://git
> unsloth_cli.py also supports `UNSLOTH_USE_MODELSCOPE=1` to download models and datasets. please remember to use the model and dataset id in the ModelScope community.
```python
from unsloth import FastLanguageModel
from unsloth import FastLanguageModel, FastModel
import torch
from trl import SFTTrainer, SFTConfig
from datasets import load_dataset