arrow-rotate-right更新 Unsloth

若要更新或使用旧版本的 Unsloth,请按照以下步骤操作:

更新 Unsloth Studio

使用相同的安装命令进行更新。

MacOS、Linux、WSL:

curl -fsSL https://unsloth.ai/install.sh | sh

Windows PowerShell:

irm https://unsloth.ai/install.ps1 | iex

或者使用:

unsloth studio update 

标准更新:

pip install --upgrade unsloth unsloth_zoo

不更新依赖项的更新:

pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth
pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth_zoo

要使用旧版本的 Unsloth:

pip install --force-reinstall --no-cache-dir --no-deps unsloth==2025.1.5

“2025.1.5” 是 Unsloth 之前的一个旧版本。请将其更改为我们列出的某个特定发布版本,见 这里的 Githubarrow-up-right.

最后更新于

这有帮助吗?