Spaces:
Sleeping
Sleeping
File size: 2,190 Bytes
f512012 54e2e91 f512012 ea92fac 5ee7bf3 037a4b0 df0bf53 da37e4b 07c7225 df0bf53 da37e4b df0bf53 45200e7 df0bf53 da37e4b df0bf53 25a5236 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
---
title: SLM Instruction Tuning using Unsloth
emoji: 🐨
colorFrom: yellow
colorTo: indigo
sdk: gradio
sdk_version: 4.38.1
app_file: app.py
pinned: false
license: apache-2.0
---
-----
# LoRA Instruction Tuning using Unsloth
### What?
This Gradio app is a simple interface to access [unsloth AI's](https://github.com/unslothai) fine-tuning methods hosted on [Huggingface Spaces](https://huggingface.co/docs/hub/en/spaces-overview). This outputs of this fine-tuning will be instruction tuned LoRA weights that will be uploaded into your personal huggingface models repository.
This is more for personal use since the A100 GPUs only last for a stated runtime (~60 seconds or more if specified).
### Why?
The goal of this demo is to show how you can tune your own language models leveraging industry standard compute and fine tuning methods using a simple point-and-click UI.
This is a demo and not a production application and is hosted here simply to . This application is subject a demand queue.
### How?
Just start by following the guide below:
1) Navigate through the tabs at the top from left to right.
2) Basic Setup: Populate your username, repository, token, and model details.
3) Upload data: Either from transformers or your local jsonl file. Please view [this guide](https://platform.openai.com/docs/guides/fine-tuning/preparing-your-dataset) for best practices.
4) Fine-tune Model: Eat a snack and wait as you train the model for your use case.
For GPU runtimes longer than a minute, remove the imports to huggingface spaces and decorators and run on your local GPU or migrate this work to a workspace like [lightning AI](https://lightning.ai/).
### Coming soon!
- More models and added flexibility with guardrails on hyperparameter tuning.
- Downloads for a [WandB](https://wandb.ai/home) logger for training monitoring.
### Other resources.
- [Unsloth's notebooks](https://colab.research.google.com/drive/1hhdhBa1j_hsymiW9m-WzxQtgqTH_NHqi?usp=sharing) to look at what is going on under the hood.
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|