René's URL Explorer Experiment


Title: GitHub - benchsci/unsloth: Finetune Llama 3, Mistral & Gemma LLMs 2-5x faster with 80% less memory · GitHub

Open Graph Title: GitHub - benchsci/unsloth: Finetune Llama 3, Mistral & Gemma LLMs 2-5x faster with 80% less memory

X Title: GitHub - benchsci/unsloth: Finetune Llama 3, Mistral & Gemma LLMs 2-5x faster with 80% less memory

Description: Finetune Llama 3, Mistral & Gemma LLMs 2-5x faster with 80% less memory - benchsci/unsloth

Open Graph Description: Finetune Llama 3, Mistral & Gemma LLMs 2-5x faster with 80% less memory - benchsci/unsloth

X Description: Finetune Llama 3, Mistral & Gemma LLMs 2-5x faster with 80% less memory - benchsci/unsloth

Opengraph URL: https://github.com/benchsci/unsloth

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:50eac943-063b-7c06-6ee4-669c7146df36
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id9998:202DC5:2E9529:3DD0C6:6A5FEEFA
html-safe-nonce2bc51232d1547006de050fabefc1ff1a72bb9fa30a7655f107e051fd38ec6891
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTk4OjIwMkRDNToyRTk1Mjk6M0REMEM2OjZBNUZFRUZBIiwidmlzaXRvcl9pZCI6Ijg2MjEzNTc5MTAyNTcwMzcwNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac08ebb8026bcc292a76aa9e2d2c07b2918a4182770c51231ce77fb00d7ca86918
hovercard-subject-tagrepository:801200672
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/benchsci/unsloth
twitter:imagehttps://opengraph.githubassets.com/37c35396f066765e224bffc2511a36fea532cb0d1691085c91e9210631b3d1f1/benchsci/unsloth
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/37c35396f066765e224bffc2511a36fea532cb0d1691085c91e9210631b3d1f1/benchsci/unsloth
og:image:altFinetune Llama 3, Mistral & Gemma LLMs 2-5x faster with 80% less memory - benchsci/unsloth
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneba296ecd3a3521238fe43b3b3b08cc09207ddc21173e16ee656db03803de8e2b
turbo-cache-controlno-cache
go-importgithub.com/benchsci/unsloth git https://github.com/benchsci/unsloth.git
octolytics-dimension-user_id20540087
octolytics-dimension-user_loginbenchsci
octolytics-dimension-repository_id801200672
octolytics-dimension-repository_nwobenchsci/unsloth
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id725205304
octolytics-dimension-repository_parent_nwounslothai/unsloth
octolytics-dimension-repository_network_root_id725205304
octolytics-dimension-repository_network_root_nwounslothai/unsloth
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6e50fb37e29e4aa0df6386cb485e58b0e3ca97ab
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/benchsci/unsloth#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbenchsci%2Funsloth
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbenchsci%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=benchsci%2Funsloth
Reloadhttps://github.com/benchsci/unsloth
Reloadhttps://github.com/benchsci/unsloth
Reloadhttps://github.com/benchsci/unsloth
Please reload this pagehttps://github.com/benchsci/unsloth
benchsci https://github.com/benchsci
unslothhttps://github.com/benchsci/unsloth
unslothai/unslothhttps://github.com/unslothai/unsloth
Notifications https://github.com/login?return_to=%2Fbenchsci%2Funsloth
Fork 0 https://github.com/login?return_to=%2Fbenchsci%2Funsloth
Star 0 https://github.com/login?return_to=%2Fbenchsci%2Funsloth
Code https://github.com/benchsci/unsloth
Pull requests 0 https://github.com/benchsci/unsloth/pulls
Actions https://github.com/benchsci/unsloth/actions
Security and quality 0 https://github.com/benchsci/unsloth/security
Insights https://github.com/benchsci/unsloth/pulse
Code https://github.com/benchsci/unsloth
Pull requests https://github.com/benchsci/unsloth/pulls
Actions https://github.com/benchsci/unsloth/actions
Security and quality https://github.com/benchsci/unsloth/security
Insights https://github.com/benchsci/unsloth/pulse
https://github.com/benchsci/unsloth
Brancheshttps://github.com/benchsci/unsloth/branches
Tagshttps://github.com/benchsci/unsloth/tags
https://github.com/benchsci/unsloth/branches
https://github.com/benchsci/unsloth/tags
212 Commitshttps://github.com/benchsci/unsloth/commits/main/
https://github.com/benchsci/unsloth/commits/main/
.githubhttps://github.com/benchsci/unsloth/tree/main/.github
.githubhttps://github.com/benchsci/unsloth/tree/main/.github
imageshttps://github.com/benchsci/unsloth/tree/main/images
imageshttps://github.com/benchsci/unsloth/tree/main/images
unslothhttps://github.com/benchsci/unsloth/tree/main/unsloth
unslothhttps://github.com/benchsci/unsloth/tree/main/unsloth
LICENSEhttps://github.com/benchsci/unsloth/blob/main/LICENSE
LICENSEhttps://github.com/benchsci/unsloth/blob/main/LICENSE
README.mdhttps://github.com/benchsci/unsloth/blob/main/README.md
README.mdhttps://github.com/benchsci/unsloth/blob/main/README.md
pyproject.tomlhttps://github.com/benchsci/unsloth/blob/main/pyproject.toml
pyproject.tomlhttps://github.com/benchsci/unsloth/blob/main/pyproject.toml
READMEhttps://github.com/benchsci/unsloth
Licensehttps://github.com/benchsci/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/benchsci/unsloth#finetune-llama-3-mistral--gemma-2-5x-faster-with-80-less-memory
https://camo.githubusercontent.com/438f375b4088134ece4e4efa4ad344bf5ef91f5c6dfcadf1faee4d193a8a4b29/68747470733a2f2f692e6962622e636f2f734a37526847472f696d6167652d34312e706e67
https://github.com/benchsci/unsloth#-finetune-for-free
▶️ Start for freehttps://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/1Dyauq4kTZoLewQ1cApceUQVNcnnNTzg_?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/10NbwlsRChbma1v55m8LAPYG15uQv6HLo?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/11t4njE3c4Lxl-07OD8lJSMKkfyJml3Tn?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/1NvkBmkHfucGO3Ve9s1NKZvMNlw5p83ym?usp=sharing
▶️ Start for freehttps://colab.research.google.com/drive/1AZghoNBQaMDgWJpi4RbffGM1h6raLUj9?usp=sharing
Llama-3 8bhttps://www.kaggle.com/code/danielhanchen/kaggle-llama-3-8b-unsloth-notebook
Gemma 7bhttps://www.kaggle.com/code/danielhanchen/kaggle-gemma-7b-unsloth-notebook/
Mistral 7bhttps://www.kaggle.com/code/danielhanchen/kaggle-mistral-7b-unsloth-notebook
conversational notebookhttps://colab.research.google.com/drive/1XamvWYinY6FOSX9GLvnqSjjsNflxdhNc?usp=sharing
Mistral 7bhttps://colab.research.google.com/drive/1Aau3lgPzeZKQ-98h69CCu1UJcvIBLmy2?usp=sharing
text completion notebookhttps://colab.research.google.com/drive/1ef-tab5bhkvWmBOObepl1WgJvfvSzn5Q?usp=sharing
https://github.com/benchsci/unsloth#-unslothai-news
#428https://github.com/unslothai/unsloth/pull/428
Llama-3 8bhttps://colab.research.google.com/drive/135ced7oHytdxu3N2DNe1Z0kqjyYIkDXp?usp=sharing
ORPO supporthttps://colab.research.google.com/drive/11t4njE3c4Lxl-07OD8lJSMKkfyJml3Tn?usp=sharing
Phi-3 3.8b supporthttps://colab.research.google.com/drive/1NvkBmkHfucGO3Ve9s1NKZvMNlw5p83ym?usp=sharing
further 30%https://unsloth.ai/blog/long-context
4x longer context windowshttps://unsloth.ai/blog/long-context
CodeGemmahttps://colab.research.google.com/drive/19lwcRk_ZQ_ZtX-qzFP3qZBBHZNcMD1hh?usp=sharing
Gemma 7bhttps://colab.research.google.com/drive/10NbwlsRChbma1v55m8LAPYG15uQv6HLo?usp=sharing
Gemma 2bhttps://colab.research.google.com/drive/15gGm7x_jTm017_Ic8e317tdIpDG53Mtu?usp=sharing
2x faster inferencehttps://colab.research.google.com/drive/1aqlNQi7MMJbynFDyOQteD2t0yVfjb9Zh?usp=sharing
https://github.com/benchsci/unsloth#-links-and-resources
Read Our Wikihttps://github.com/unslothai/unsloth/wiki
https://camo.githubusercontent.com/6bd1a70a9fe4b97ca51c4baa8ebb66d37d3d2532721a50b6b6e2959d79b2b1f6/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f362f36662f4c6f676f5f6f665f547769747465722e737667
Follow us on Xhttps://twitter.com/unslothai
Read The Dochttps://github.com/unslothai/unsloth/tree/main#-documentation
unsloth/README.mdhttps://github.com/unslothai/unsloth/tree/main#installation-instructions
Performance Tableshttps://github.com/unslothai/unsloth/tree/main#-performance-benchmarking
Unsloth Releaseshttps://huggingface.co/unsloth
Read our Blogshttps://unsloth.ai/blog
https://github.com/benchsci/unsloth#-key-features
OpenAI's Tritonhttps://openai.com/research/triton
Check your GPU!https://developer.nvidia.com/cuda-gpus
bitsandbyteshttps://github.com/TimDettmers/bitsandbytes
Unsloth Prohttps://unsloth.ai/
https://raw.githubusercontent.com/unslothai/unsloth/main/images/made with unsloth.png
https://github.com/benchsci/unsloth#-performance-benchmarking
go to our websitehttps://unsloth.ai/blog/mistral-benchmark#Benchmark%20tables
Unsloth Prohttps://unsloth.ai/pricing
🤗Hugging Facehttps://huggingface.co/blog/unsloth-trl
https://camo.githubusercontent.com/438f375b4088134ece4e4efa4ad344bf5ef91f5c6dfcadf1faee4d193a8a4b29/68747470733a2f2f692e6962622e636f2f734a37526847472f696d6167652d34312e706e67
https://github.com/benchsci/unsloth#-installation-instructions
https://github.com/benchsci/unsloth#conda-installation
Github issuehttps://github.com/unslothai/unsloth/issues/73
https://github.com/benchsci/unsloth#pip-installation
https://pytorch.org/https://pytorch.org/
https://github.com/benchsci/unsloth#-documentation
Wiki pagehttps://github.com/unslothai/unsloth/wiki
SFT docshttps://huggingface.co/docs/trl/main/en/sft_trainer#accelerate-fine-tuning-2x-using-unsloth
DPO docshttps://huggingface.co/docs/trl/main/en/dpo_trainer#accelerate-dpo-fine-tuning-using-unsloth
https://github.com/benchsci/unsloth#dpo-support
Llama-Factoryhttps://github.com/hiyouga/LLaMA-Factory
notebookhttps://colab.research.google.com/drive/15vttTpzzVXv_tJwEk-hIcQ0S9FcEWvwP?usp=sharing
SFT docshttps://huggingface.co/docs/trl/main/en/sft_trainer#accelerate-fine-tuning-2x-using-unsloth
DPO docshttps://huggingface.co/docs/trl/main/en/dpo_trainer#accelerate-dpo-fine-tuning-using-unsloth
https://github.com/benchsci/unsloth#-detailed-benchmarking-tables
go to our websitehttps://unsloth.ai/blog/mistral-benchmark#Benchmark%20tables
Codehttps://colab.research.google.com/drive/1u4dBeM-0vGNVmmO6X7cScAut-Hyt4KDF?usp=sharing
Codehttps://colab.research.google.com/drive/1fgTOxpMbVjloQBvZyz4lF4BacKSZOB2A?usp=sharing
Codehttps://colab.research.google.com/drive/1YIPY_18xm-K0iJDgvNkRoJsgkPMPAO3G?usp=sharing
Codehttps://colab.research.google.com/drive/1ANW8EFL3LVyTD7Gq4TkheC1Z7Rxw-rHp?usp=sharing
https://github.com/benchsci/unsloth#llama-factory-3rd-party-benchmarking
Link to performance table.https://github.com/hiyouga/LLaMA-Factory/wiki/Performance-Comparison
https://github.com/benchsci/unsloth#performance-comparisons-between-popular-models
https://github.com/benchsci/unsloth#mistral-7b
Codehttps://colab.research.google.com/drive/1mePk3KzwTD81hr5mcNcs_AX3Kbg_Ha0x?usp=sharing
Codehttps://colab.research.google.com/drive/1dgHxjvTmX6hb0bPcLp26RXSE6_n9DKj7?usp=sharing
Codehttps://colab.research.google.com/drive/1SKrKGV-BZoU4kv5q3g0jtE_OhRgPtrrQ?usp=sharing
Codehttps://colab.research.google.com/drive/18yOiyX0T81mTwZqOALFSCX_tSAqju6aD?usp=sharing
https://github.com/benchsci/unsloth#codellama-34b
▶️ Codehttps://colab.research.google.com/drive/1ykfz3BqrtC_AUFegCzUQjjfUNlxp6Otc?usp=sharing
Codehttps://colab.research.google.com/drive/12ZypxQh7OC6kBXvWZI-5d05I4m-B_hoR?usp=sharing
Codehttps://colab.research.google.com/drive/1gdHyAx8XJsz2yNV-DHvbHjR1iCef5Qmh?usp=sharing
Codehttps://colab.research.google.com/drive/1fm7wqx9MJ0kRrwKOfmLkK1Rmw-pySahB?usp=sharing
https://github.com/benchsci/unsloth#1-tesla-t4
▶️ Codehttps://colab.research.google.com/drive/1XpLIV4s8Bj5uryB-X2gqM88oRGHEGdaB?usp=sharing
Codehttps://colab.research.google.com/drive/1LyXu6CjuymQg6ddHX8g1dpUvrMa1nn4L?usp=sharing
Codehttps://colab.research.google.com/drive/1gsv4LpY7C32otl1rgRo5wXTk4HIitXoM?usp=sharing
Codehttps://colab.research.google.com/drive/1VtULwRQwhEnVdNryjm27zXfdSM1tNfFK?usp=sharing
https://github.com/benchsci/unsloth#2-tesla-t4s-via-ddp
▶️ Codehttps://www.kaggle.com/danielhanchen/hf-original-alpaca-t4-ddp
Codehttps://www.kaggle.com/danielhanchen/hf-sdpa-alpaca-t4-ddp
Codehttps://www.kaggle.com/danielhanchen/unsloth-alpaca-t4-ddp
https://github.com/benchsci/unsloth#performance-comparisons-on-1-tesla-t4-gpu
https://camo.githubusercontent.com/438f375b4088134ece4e4efa4ad344bf5ef91f5c6dfcadf1faee4d193a8a4b29/68747470733a2f2f692e6962622e636f2f734a37526847472f696d6167652d34312e706e67
https://github.com/benchsci/unsloth#thank-you-to
HuyNguyen-husthttps://github.com/HuyNguyen-hust
RoPE Embeddings 28% fasterhttps://github.com/unslothai/unsloth/pull/238
RandomInternetPresonhttps://github.com/RandomInternetPreson
152334Hhttps://github.com/152334H
atgctghttps://github.com/atgctg
unsloth.aihttps://unsloth.ai
Readme https://github.com/benchsci/unsloth#readme-ov-file
Apache-2.0 license https://github.com/benchsci/unsloth#Apache-2.0-1-ov-file
Please reload this pagehttps://github.com/benchsci/unsloth
Activityhttps://github.com/benchsci/unsloth/activity
Custom propertieshttps://github.com/benchsci/unsloth/custom-properties
0 forkshttps://github.com/benchsci/unsloth/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fbenchsci%2Funsloth&report=benchsci+%28user%29
Releaseshttps://github.com/benchsci/unsloth/releases
Packages 0https://github.com/orgs/benchsci/packages?repo_name=unsloth
Please reload this pagehttps://github.com/benchsci/unsloth
Please reload this pagehttps://github.com/benchsci/unsloth
Contributorshttps://github.com/benchsci/unsloth/graphs/contributors
Please reload this pagehttps://github.com/benchsci/unsloth
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.