markdown stringlengths 945 38.3k | metadata dict |
|---|---|
Qwen3, full fine-tuning & all models are now supported! 🦥
[Unsloth](https://github.com/unslothai/unsloth) makes finetuning large language models like Llama-3, Mistral, Phi-4 and Gemma 2x faster, use 70% less memory, and with no degradation in accuracy!
Our docs will guide you through training your own custom model. ... | {
"color-scheme": "light dark",
"description": "New to Unsloth?",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%252Fsite_mXXTe%252Ficon%252FUdYqQdRpLXMz6O8e... |
Qwen3, full fine-tuning & all models are now supported! 🦥
Microsoft's new Phi-4 reasoning models are now supported in Unsloth. The 'plus' variant performs on par with OpenAI's o1-mini, o3-mini and Sonnet 3.7. The 'plus' and standard reasoning models are 14B parameters while the 'mini' has 4B parameters.
All Phi-4 re... | {
"color-scheme": "light dark",
"description": "Learn to run & fine-tune Phi-4 reasoning models locally with Unsloth + our Dynamic 2.0 quants",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%2... |
Qwen3, full fine-tuning & all models are now supported! 🦥
Unsloth supports natively 2x faster inference. For our inference only notebook, click [here](https://colab.research.google.com/drive/1aqlNQi7MMJbynFDyOQteD2t0yVfjb9Zh?usp=sharing).
All QLoRA, LoRA and non LoRA inference paths are 2x faster. This requires no c... | {
"color-scheme": "light dark",
"description": "Learn how to run your finetuned model.",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%252Fsite_mXXTe%252Fic... |
Qwen3, full fine-tuning & all models are now supported! 🦥
You must edit the `Trainer` first to add `save_strategy` and `save_steps`. Below saves a checkpoint every 50 steps to the folder `outputs`.
Copy
```inline-grid min-w-full grid-cols-[auto_1fr] p-2 [count-reset:line]
trainer = SFTTrainer(
....
args = T... | {
"color-scheme": "light dark",
"description": "Checkpointing allows you to save your finetuning progress so you can pause it and then continue.",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganization... |
Qwen3, full fine-tuning & all models are now supported! 🦥
## [Direct link to heading](https://docs.unsloth.ai/get-started/fine-tuning-guide/what-model-should-i-use\#llama-qwen-mistral-phi-or) Llama, Qwen, Mistral, Phi or?
When preparing for fine-tuning, one of the first decisions you'll face is selecting the righ... | {
"color-scheme": "light dark",
"description": null,
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%252Fsite_mXXTe%252Ficon%252FUdYqQdRpLXMz6O8ejTLD%252Funsl... |
Qwen3, full fine-tuning & all models are now supported! 🦥
A guide on how you can run our 1.58-bit Dynamic Quants for DeepSeek-R1 using llama.cpp.
## [Direct link to heading](https://docs.unsloth.ai/basics/tutorials-how-to-fine-tune-and-run-llms/deepseek-r1-how-to-run-locally\#using-llama.cpp-recommended) Using ll... | {
"color-scheme": "light dark",
"description": null,
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%252Fsite_mXXTe%252Ficon%252FUdYqQdRpLXMz6O8ejTLD%252Funsl... |
Qwen3, full fine-tuning & all models are now supported! 🦥
We're excited to introduce our Dynamic v2.0 quantization method - a major upgrade to our previous quants. This new method outperforms leading quantization methods and sets new benchmarks for 5-shot MMLU and KL Divergence.
This means you can now run + fine-tun... | {
"color-scheme": "light dark",
"description": "A big new upgrade to our Dynamic Quants!",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%252Fsite_mXXTe%252F... |
Qwen3, full fine-tuning & all models are now supported! 🦥
## [Direct link to heading](https://docs.unsloth.ai/get-started/installing-+-updating/pip-install\#recommended-installation) **Recommended installation:**
**Install with pip (recommended)** for Linux devices:
Copy
```inline-grid min-w-full grid-cols-[aut... | {
"color-scheme": "light dark",
"description": "To install Unsloth locally via Pip, follow the steps below:",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%... |
Qwen3, full fine-tuning & all models are now supported! 🦥
Read our full DeepSeek-R1 blogpost here: [unsloth.ai/blog/deepseekr1-dynamic](https://unsloth.ai/blog/deepseekr1-dynamic)
### [Direct link to heading](https://docs.unsloth.ai/basics/tutorials-how-to-fine-tune-and-run-llms/deepseek-r1-how-to-run-locally/deepse... | {
"color-scheme": "light dark",
"description": "See performance comparison tables for Unsloth's Dynamic GGUF Quants vs Standard IMatrix Quants.",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations... |
Qwen3, full fine-tuning & all models are now supported! 🦥
Qwen's new Qwen3 models deliver state-of-the-art advancements in reasoning, instruction-following, agent capabilities, and multilingual support.
All Qwen3 uploads use our new Unsloth [Dynamic 2.0](https://docs.unsloth.ai/basics/unsloth-dynamic-2.0-ggufs) meth... | {
"color-scheme": "light dark",
"description": "Learn to run & fine-tune Qwen3 locally with Unsloth + our Dynamic 2.0 quants",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topg... |
Qwen3, full fine-tuning & all models are now supported! 🦥
.
**Recommended installation method:**
Copy
```inline-grid min-w-full grid-co... | {
"color-scheme": "light dark",
"description": "Learn to install Unsloth locally or online.",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%252Fsite_mXXTe%2... |
Qwen3, full fine-tuning & all models are now supported! 🦥
Fine-tuning TTS models enable it to adapt it on your own dataset, specific use case or style/tone. This process helps customize the model for unique voices, speaking styles, new languages or specific types of content.
With Unsloth, we allow you to fine-tune T... | {
"color-scheme": "light dark",
"description": "Learn how to to fine-tune TTS voice models with Unsloth.",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%252... |
Qwen3, full fine-tuning & all models are now supported! 🦥
To save to 16bit for VLLM, use:
Copy
```inline-grid min-w-full grid-cols-[auto_1fr] p-2 [count-reset:line]
model.save_pretrained_merged("model", tokenizer, save_method = "merged_16bit",)
model.push_to_hub_merged("hf/model", tokenizer, save_method = "merged_1... | {
"color-scheme": "light dark",
"description": "Saving models to 16bit for VLLM",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%252Fsite_mXXTe%252Ficon%252F... |
Qwen3, full fine-tuning & all models are now supported! 🦥
There are millions of possible hyperparameter combinations, and choosing the right values is crucial for fine-tuning. You'll learn the best practices for hyperparameters - based on insights from hundreds of research paper/experiments and how they impact the mo... | {
"color-scheme": "light dark",
"description": "Best practices for LoRA hyperparameters and learn how they affect the finetuning process.",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FH... |
Qwen3, full fine-tuning & all models are now supported! 🦥
Google released Gemma 3 in 4 sizes - 1B, 4B, 12B and 27B models! The smallest 1B model is text only, whilst the rest are capable of vision and text input! We provide GGUFs, and a guide of how to run it effectively, and how to finetune & do reasoning finetuning... | {
"color-scheme": "light dark",
"description": "How to run Gemma 3 effectively with our GGUFs on llama.cpp, Ollama, Open WebUI and how to fine-tune with Unsloth!",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2... |
Qwen3, full fine-tuning & all models are now supported! 🦥
LocallyManual Saving
To save to GGUF, use the below to save locally:
Copy
```inline-grid min-w-full grid-cols-[auto_1fr] p-2 [count-reset:line]
model.save_pretrained_gguf("dir", tokenizer, quantization_method = "q4_k_m")
model.save_pretrained_gguf("dir", to... | {
"color-scheme": "light dark",
"description": "Saving models to 16bit for GGUF so you can use it for Ollama, Jan AI, Open WebUI and more!",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252F... |
Qwen3, full fine-tuning & all models are now supported! 🦥
## [Direct link to heading](https://docs.unsloth.ai/basics/errors-troubleshooting\#running-in-unsloth-works-well-but-after-exporting-and-running-on-other-platforms-the-results-are-poo) Running in Unsloth works well, but after exporting & running on other pl... | {
"color-scheme": "light dark",
"description": "To fix any errors with your setup, see below:",
"favicon": "https://docs.unsloth.ai/~gitbook/image?url=https%3A%2F%2F2815821428-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Forganizations%252FHpyELzcNe0topgVLGCZY%252Fsites%252Fsite_mXXTe... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 12