Spaces:
Sleeping
Sleeping
File size: 1,424 Bytes
9c24431 aa5d6d0 |
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 |
---
title: Lora Tools
emoji: 😻
colorFrom: pink
colorTo: indigo
sdk: streamlit
sdk_version: 1.36.0
app_file: app.py
pinned: false
license: apache-2.0
---
# Lora and Embedding Tools
😻 **Lora and Embedding Tools** is a quick toolbelt to help you manipulate Lora and Text Embedding files. This tool provides several functionalities, including rescaling Lora weights, removing CLIP parameters, converting checkpoint files to safetensors format, and whatever else I decide to add in the future.
## Features
- **Rescale Lora Strength**: Adjust the strength of Lora weights by specifying a new scale factor. Rescales the embedded Alpha scale. (No more 0.6, etc)
- **Remove CLIP Parameters**: Strip out CLIP parameters from a Lora file. If you have an overbaked or overaggressive Lora file, this can rescue it sometimes, or make it more agnostic for other models.
- **Convert CKPT to Safetensors**: Convert `.ckpt` files to `.safetensors` format to get that pickle smell out of your weights.
## How to Use
### Rescale Lora Strength
1. Specify the new scale factor first.
2. Upload a `.safetensors` Lora file, conversion begins immediately.
3. Download the rescaled weights.
### Remove CLIP Parameters
1. Upload a `.safetensors` Lora file.
2. Download the file with CLIP parameters removed.
### Convert CKPT to Safetensors
1. Upload a `.ckpt` file (maximum size 700MB).
2. Download the converted `.safetensors` file.
|