| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:d5416ad0-0ced-87ac-bcc7-0a62e00bb853 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 88C4:15C1B0:70E3AA:9B6CA7:6B045B0E |
| html-safe-nonce | 563ceff6f3a3931142778d7c5b3facc4c2ad543f433bcc9f9cd26426425a4be4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEM0OjE1QzFCMDo3MEUzQUE6OUI2Q0E3OjZCMDQ1QjBFIiwidmlzaXRvcl9pZCI6Ijg3MDExOTk1MTQwNTQ0NDk5MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b97fb5da5fd218fdab1c034eaa479069bd33ed69755f1c6d0b21cc2704e159f2 |
| hovercard-subject-tag | repository:785910427 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/patrickjchen/unsloth |
| twitter:image | https://opengraph.githubassets.com/b8d04f824db36d8149f8735336181ec6392d8f947a3cd4e326041c3dee1d909a/patrickjchen/unsloth |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b8d04f824db36d8149f8735336181ec6392d8f947a3cd4e326041c3dee1d909a/patrickjchen/unsloth |
| og:image:alt | 2-5X faster 80% less memory QLoRA & LoRA finetuning - patrickjchen/unsloth |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6 |
| turbo-cache-control | no-cache |
| go-import | github.com/patrickjchen/unsloth git https://github.com/patrickjchen/unsloth.git |
| octolytics-dimension-user_id | 20728658 |
| octolytics-dimension-user_login | patrickjchen |
| octolytics-dimension-repository_id | 785910427 |
| octolytics-dimension-repository_nwo | patrickjchen/unsloth |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 725205304 |
| octolytics-dimension-repository_parent_nwo | unslothai/unsloth |
| octolytics-dimension-repository_network_root_id | 725205304 |
| octolytics-dimension-repository_network_root_nwo | unslothai/unsloth |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 03e114520787ad27289207f153520ef97461127c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/patrickjchen/unsloth#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpatrickjchen%2Funsloth |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpatrickjchen%2Funsloth |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=patrickjchen%2Funsloth |
| Reload | https://github.com/patrickjchen/unsloth |
| Reload | https://github.com/patrickjchen/unsloth |
| Reload | https://github.com/patrickjchen/unsloth |
| patrickjchen | https://github.com/patrickjchen |
| unsloth | https://github.com/patrickjchen/unsloth |
| Code | https://github.com/patrickjchen/unsloth |
| Pull requests | https://github.com/patrickjchen/unsloth/pulls |
| Actions | https://github.com/patrickjchen/unsloth/actions |
| Projects | https://github.com/patrickjchen/unsloth/projects |
| Security and quality | https://github.com/patrickjchen/unsloth/security |
| Insights | https://github.com/patrickjchen/unsloth/pulse |
| https://github.com/patrickjchen/unsloth |
| unsloth | https://github.com/patrickjchen/unsloth |
| unslothai/unsloth | https://github.com/unslothai/unsloth |
| Notifications | https://github.com/login?return_to=%2Fpatrickjchen%2Funsloth |
| Fork0 (0) | https://github.com/login?return_to=%2Fpatrickjchen%2Funsloth |
| Star0 (0) | https://github.com/login?return_to=%2Fpatrickjchen%2Funsloth |
| unsloth.ai | https://unsloth.ai |
| Readme | https://github.com/patrickjchen/unsloth#readme-ov-file |
| License | https://github.com/patrickjchen/unsloth#License-1-ov-file |
| Activity | https://github.com/patrickjchen/unsloth/activity |
| 0 forks | https://github.com/patrickjchen/unsloth/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fpatrickjchen%2Funsloth&report=patrickjchen+%28user%29 |
| Branches | https://github.com/patrickjchen/unsloth/branches |
| Tags | https://github.com/patrickjchen/unsloth/tags |
| https://github.com/patrickjchen/unsloth/branches |
| https://github.com/patrickjchen/unsloth/tags |
| 210 Commits | https://github.com/patrickjchen/unsloth/commits/main/ |
| https://github.com/patrickjchen/unsloth/commits/main/ |
| .github | https://github.com/patrickjchen/unsloth/tree/main/.github |
| .github | https://github.com/patrickjchen/unsloth/tree/main/.github |
| images | https://github.com/patrickjchen/unsloth/tree/main/images |
| images | https://github.com/patrickjchen/unsloth/tree/main/images |
| unsloth | https://github.com/patrickjchen/unsloth/tree/main/unsloth |
| unsloth | https://github.com/patrickjchen/unsloth/tree/main/unsloth |
| LICENSE | https://github.com/patrickjchen/unsloth/blob/main/LICENSE |
| LICENSE | https://github.com/patrickjchen/unsloth/blob/main/LICENSE |
| README.md | https://github.com/patrickjchen/unsloth/blob/main/README.md |
| README.md | https://github.com/patrickjchen/unsloth/blob/main/README.md |
| pyproject.toml | https://github.com/patrickjchen/unsloth/blob/main/pyproject.toml |
| pyproject.toml | https://github.com/patrickjchen/unsloth/blob/main/pyproject.toml |
| README | https://github.com/patrickjchen/unsloth |
| License | https://github.com/patrickjchen/unsloth |
|
| https://unsloth.ai |
| https://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing |
| https://discord.gg/u54VK8m8tk |
| https://ko-fi.com/unsloth |
| https://github.com/patrickjchen/unsloth#finetune-llama-3-mistral--gemma-2-5x-faster-with-80-less-memory |
| https://camo.githubusercontent.com/fae6fb59aeaaa82c3070ea3cd3ff31fc57e24a30e74282c84ac2457758987fd9/68747470733a2f2f692e6962622e636f2f734a37526847472f696d6167652d34312e706e67 |
| https://github.com/patrickjchen/unsloth#-finetune-for-free |
| ▶️ Start for free | https://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing |
| ▶️ Start for free | https://colab.research.google.com/drive/1Dyauq4kTZoLewQ1cApceUQVNcnnNTzg_?usp=sharing |
| ▶️ Start for free | https://colab.research.google.com/drive/10NbwlsRChbma1v55m8LAPYG15uQv6HLo?usp=sharing |
| ▶️ Start for free | https://colab.research.google.com/drive/11t4njE3c4Lxl-07OD8lJSMKkfyJml3Tn?usp=sharing |
| ▶️ Start for free | https://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing |
| ▶️ Start for free | https://colab.research.google.com/drive/1NvkBmkHfucGO3Ve9s1NKZvMNlw5p83ym?usp=sharing |
| ▶️ Start for free | https://colab.research.google.com/drive/1AZghoNBQaMDgWJpi4RbffGM1h6raLUj9?usp=sharing |
| Llama-3 8b | https://www.kaggle.com/code/danielhanchen/kaggle-llama-3-8b-unsloth-notebook |
| Gemma 7b | https://www.kaggle.com/code/danielhanchen/kaggle-gemma-7b-unsloth-notebook/ |
| Mistral 7b | https://www.kaggle.com/code/danielhanchen/kaggle-mistral-7b-unsloth-notebook |
| conversational notebook | https://colab.research.google.com/drive/1XamvWYinY6FOSX9GLvnqSjjsNflxdhNc?usp=sharing |
| Mistral 7b | https://colab.research.google.com/drive/1Aau3lgPzeZKQ-98h69CCu1UJcvIBLmy2?usp=sharing |
| text completion notebook | https://colab.research.google.com/drive/1ef-tab5bhkvWmBOObepl1WgJvfvSzn5Q?usp=sharing |
| https://github.com/patrickjchen/unsloth#-unslothai-news |
| Llama-3 8b | https://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing |
| ORPO support | https://colab.research.google.com/drive/11t4njE3c4Lxl-07OD8lJSMKkfyJml3Tn?usp=sharing |
| Phi-3 3.8b support | https://colab.research.google.com/drive/1NvkBmkHfucGO3Ve9s1NKZvMNlw5p83ym?usp=sharing |
| further 30% | https://unsloth.ai/blog/long-context |
| 4x longer context windows | https://unsloth.ai/blog/long-context |
| CodeGemma | https://colab.research.google.com/drive/19lwcRk_ZQ_ZtX-qzFP3qZBBHZNcMD1hh?usp=sharing |
| Gemma 7b | https://colab.research.google.com/drive/10NbwlsRChbma1v55m8LAPYG15uQv6HLo?usp=sharing |
| Gemma 2b | https://colab.research.google.com/drive/15gGm7x_jTm017_Ic8e317tdIpDG53Mtu?usp=sharing |
| 2x faster inference | https://colab.research.google.com/drive/1aqlNQi7MMJbynFDyOQteD2t0yVfjb9Zh?usp=sharing |
| https://github.com/patrickjchen/unsloth#-links-and-resources |
| Read Our Wiki | https://github.com/unslothai/unsloth/wiki |
| https://camo.githubusercontent.com/708f72978b50e9cc879e17bd466d5794b2eeb63dd3d338bb126c52afb17ec449/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f362f36662f4c6f676f5f6f665f547769747465722e737667 |
| Follow us on X | https://twitter.com/unslothai |
| Read The Doc | https://github.com/unslothai/unsloth/tree/main#-documentation |
| unsloth/README.md | https://github.com/unslothai/unsloth/tree/main#installation-instructions |
| Performance Tables | https://github.com/unslothai/unsloth/tree/main#-performance-benchmarking |
| Unsloth Releases | https://huggingface.co/unsloth |
| Read our Blogs | https://unsloth.ai/blog |
| https://github.com/patrickjchen/unsloth#-key-features |
| OpenAI's Triton | https://openai.com/research/triton |
| Check your GPU! | https://developer.nvidia.com/cuda-gpus |
| bitsandbytes | https://github.com/TimDettmers/bitsandbytes |
| Unsloth Pro | https://unsloth.ai/ |
| https://raw.githubusercontent.com/unslothai/unsloth/main/images/made with unsloth.png |
| https://github.com/patrickjchen/unsloth#-performance-benchmarking |
| go to our website | https://unsloth.ai/blog/mistral-benchmark#Benchmark%20tables |
| Unsloth Pro | https://unsloth.ai/pricing |
| 🤗Hugging Face | https://huggingface.co/blog/unsloth-trl |
| https://camo.githubusercontent.com/fae6fb59aeaaa82c3070ea3cd3ff31fc57e24a30e74282c84ac2457758987fd9/68747470733a2f2f692e6962622e636f2f734a37526847472f696d6167652d34312e706e67 |
| https://github.com/patrickjchen/unsloth#-installation-instructions |
| https://github.com/patrickjchen/unsloth#conda-installation |
| Github issue | https://github.com/unslothai/unsloth/issues/73 |
| https://github.com/patrickjchen/unsloth#pip-installation |
| https://pytorch.org/ | https://pytorch.org/ |
| https://github.com/patrickjchen/unsloth#-documentation |
| Wiki page | https://github.com/unslothai/unsloth/wiki |
| SFT docs | https://huggingface.co/docs/trl/main/en/sft_trainer#accelerate-fine-tuning-2x-using-unsloth |
| DPO docs | https://huggingface.co/docs/trl/main/en/dpo_trainer#accelerate-dpo-fine-tuning-using-unsloth |
| https://github.com/patrickjchen/unsloth#dpo-support |
| Llama-Factory | https://github.com/hiyouga/LLaMA-Factory |
| notebook | https://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing |
| SFT docs | https://huggingface.co/docs/trl/main/en/sft_trainer#accelerate-fine-tuning-2x-using-unsloth |
| DPO docs | https://huggingface.co/docs/trl/main/en/dpo_trainer#accelerate-dpo-fine-tuning-using-unsloth |
| https://github.com/patrickjchen/unsloth#-detailed-benchmarking-tables |
| go to our website | https://unsloth.ai/blog/mistral-benchmark#Benchmark%20tables |
| Code | https://colab.research.google.com/drive/1u4dBeM-0vGNVmmO6X7cScAut-Hyt4KDF?usp=sharing |
| Code | https://colab.research.google.com/drive/1fgTOxpMbVjloQBvZyz4lF4BacKSZOB2A?usp=sharing |
| Code | https://colab.research.google.com/drive/1YIPY_18xm-K0iJDgvNkRoJsgkPMPAO3G?usp=sharing |
| Code | https://colab.research.google.com/drive/1ANW8EFL3LVyTD7Gq4TkheC1Z7Rxw-rHp?usp=sharing |
| https://github.com/patrickjchen/unsloth#llama-factory-3rd-party-benchmarking |
| Link to performance table. | https://github.com/hiyouga/LLaMA-Factory/wiki/Performance-Comparison |
| https://github.com/patrickjchen/unsloth#performance-comparisons-between-popular-models |
| https://github.com/patrickjchen/unsloth#mistral-7b |
| Code | https://colab.research.google.com/drive/1mePk3KzwTD81hr5mcNcs_AX3Kbg_Ha0x?usp=sharing |
| Code | https://colab.research.google.com/drive/1dgHxjvTmX6hb0bPcLp26RXSE6_n9DKj7?usp=sharing |
| Code | https://colab.research.google.com/drive/1SKrKGV-BZoU4kv5q3g0jtE_OhRgPtrrQ?usp=sharing |
| Code | https://colab.research.google.com/drive/18yOiyX0T81mTwZqOALFSCX_tSAqju6aD?usp=sharing |
| https://github.com/patrickjchen/unsloth#codellama-34b |
| ▶️ Code | https://colab.research.google.com/drive/1ykfz3BqrtC_AUFegCzUQjjfUNlxp6Otc?usp=sharing |
| Code | https://colab.research.google.com/drive/12ZypxQh7OC6kBXvWZI-5d05I4m-B_hoR?usp=sharing |
| Code | https://colab.research.google.com/drive/1gdHyAx8XJsz2yNV-DHvbHjR1iCef5Qmh?usp=sharing |
| Code | https://colab.research.google.com/drive/1fm7wqx9MJ0kRrwKOfmLkK1Rmw-pySahB?usp=sharing |
| https://github.com/patrickjchen/unsloth#1-tesla-t4 |
| ▶️ Code | https://colab.research.google.com/drive/1XpLIV4s8Bj5uryB-X2gqM88oRGHEGdaB?usp=sharing |
| Code | https://colab.research.google.com/drive/1LyXu6CjuymQg6ddHX8g1dpUvrMa1nn4L?usp=sharing |
| Code | https://colab.research.google.com/drive/1gsv4LpY7C32otl1rgRo5wXTk4HIitXoM?usp=sharing |
| Code | https://colab.research.google.com/drive/1VtULwRQwhEnVdNryjm27zXfdSM1tNfFK?usp=sharing |
| https://github.com/patrickjchen/unsloth#2-tesla-t4s-via-ddp |
| ▶️ Code | https://www.kaggle.com/danielhanchen/hf-original-alpaca-t4-ddp |
| Code | https://www.kaggle.com/danielhanchen/hf-sdpa-alpaca-t4-ddp |
| Code | https://www.kaggle.com/danielhanchen/unsloth-alpaca-t4-ddp |
| https://github.com/patrickjchen/unsloth#performance-comparisons-on-1-tesla-t4-gpu |
| https://camo.githubusercontent.com/fae6fb59aeaaa82c3070ea3cd3ff31fc57e24a30e74282c84ac2457758987fd9/68747470733a2f2f692e6962622e636f2f734a37526847472f696d6167652d34312e706e67 |
| https://github.com/patrickjchen/unsloth#thank-you-to |
| HuyNguyen-hust | https://github.com/HuyNguyen-hust |
| RoPE Embeddings 28% faster | https://github.com/unslothai/unsloth/pull/238 |
| RandomInternetPreson | https://github.com/RandomInternetPreson |
| 152334H | https://github.com/152334H |
| atgctg | https://github.com/atgctg |
| unsloth.ai | https://unsloth.ai |
| Readme | https://github.com/patrickjchen/unsloth#readme-ov-file |
| License | https://github.com/patrickjchen/unsloth#License-1-ov-file |
| Activity | https://github.com/patrickjchen/unsloth/activity |
| 0 forks | https://github.com/patrickjchen/unsloth/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fpatrickjchen%2Funsloth&report=patrickjchen+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |