├── .github └── FUNDING.yml ├── LICENSE ├── README.md ├── images ├── Colab.png ├── Discord button.png ├── Discord.png ├── Free version button.png ├── Kaggle.png ├── Kofi button.png ├── LAION 2GPU.png ├── Slim Orca 2GPUs.png ├── buy me a coffee button.png ├── made with unsloth.png ├── peft x trl button.png ├── start free finetune button.png ├── unsloth end.png ├── unsloth loading page render.png ├── unsloth logo black text.png ├── unsloth logo only.png ├── unsloth logo white text.png ├── unsloth made with love.png └── unsloth new logo.png ├── pyproject.toml └── unsloth ├── __init__.py ├── chat_templates.py ├── kernels ├── __init__.py ├── cross_entropy_loss.py ├── fast_lora.py ├── geglu.py ├── rms_layernorm.py ├── rope_embedding.py ├── swiglu.py └── utils.py ├── models ├── __init__.py ├── _utils.py ├── dpo.py ├── gemma.py ├── llama.py ├── loader.py ├── mapper.py ├── mistral.py └── qwen2.py ├── save.py └── tokenizer_utils.py /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/README.md -------------------------------------------------------------------------------- /images/Colab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/Colab.png -------------------------------------------------------------------------------- /images/Discord button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/Discord button.png -------------------------------------------------------------------------------- /images/Discord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/Discord.png -------------------------------------------------------------------------------- /images/Free version button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/Free version button.png -------------------------------------------------------------------------------- /images/Kaggle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/Kaggle.png -------------------------------------------------------------------------------- /images/Kofi button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/Kofi button.png -------------------------------------------------------------------------------- /images/LAION 2GPU.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/LAION 2GPU.png -------------------------------------------------------------------------------- /images/Slim Orca 2GPUs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/Slim Orca 2GPUs.png -------------------------------------------------------------------------------- /images/buy me a coffee button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/buy me a coffee button.png -------------------------------------------------------------------------------- /images/made with unsloth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/made with unsloth.png -------------------------------------------------------------------------------- /images/peft x trl button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/peft x trl button.png -------------------------------------------------------------------------------- /images/start free finetune button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/start free finetune button.png -------------------------------------------------------------------------------- /images/unsloth end.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/unsloth end.png -------------------------------------------------------------------------------- /images/unsloth loading page render.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/unsloth loading page render.png -------------------------------------------------------------------------------- /images/unsloth logo black text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/unsloth logo black text.png -------------------------------------------------------------------------------- /images/unsloth logo only.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/unsloth logo only.png -------------------------------------------------------------------------------- /images/unsloth logo white text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/unsloth logo white text.png -------------------------------------------------------------------------------- /images/unsloth made with love.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/unsloth made with love.png -------------------------------------------------------------------------------- /images/unsloth new logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/images/unsloth new logo.png -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/pyproject.toml -------------------------------------------------------------------------------- /unsloth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/__init__.py -------------------------------------------------------------------------------- /unsloth/chat_templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/chat_templates.py -------------------------------------------------------------------------------- /unsloth/kernels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/kernels/__init__.py -------------------------------------------------------------------------------- /unsloth/kernels/cross_entropy_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/kernels/cross_entropy_loss.py -------------------------------------------------------------------------------- /unsloth/kernels/fast_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/kernels/fast_lora.py -------------------------------------------------------------------------------- /unsloth/kernels/geglu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/kernels/geglu.py -------------------------------------------------------------------------------- /unsloth/kernels/rms_layernorm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/kernels/rms_layernorm.py -------------------------------------------------------------------------------- /unsloth/kernels/rope_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/kernels/rope_embedding.py -------------------------------------------------------------------------------- /unsloth/kernels/swiglu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/kernels/swiglu.py -------------------------------------------------------------------------------- /unsloth/kernels/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/kernels/utils.py -------------------------------------------------------------------------------- /unsloth/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/models/__init__.py -------------------------------------------------------------------------------- /unsloth/models/_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/models/_utils.py -------------------------------------------------------------------------------- /unsloth/models/dpo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/models/dpo.py -------------------------------------------------------------------------------- /unsloth/models/gemma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/models/gemma.py -------------------------------------------------------------------------------- /unsloth/models/llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/models/llama.py -------------------------------------------------------------------------------- /unsloth/models/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/models/loader.py -------------------------------------------------------------------------------- /unsloth/models/mapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/models/mapper.py -------------------------------------------------------------------------------- /unsloth/models/mistral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/models/mistral.py -------------------------------------------------------------------------------- /unsloth/models/qwen2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/models/qwen2.py -------------------------------------------------------------------------------- /unsloth/save.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/save.py -------------------------------------------------------------------------------- /unsloth/tokenizer_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangjianxin1/unsloth/HEAD/unsloth/tokenizer_utils.py --------------------------------------------------------------------------------