Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.40.2
metadata
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
- Specify the new scale factor first.
- Upload a
.safetensors
Lora file, conversion begins immediately. - Download the rescaled weights.
Remove CLIP Parameters
- Upload a
.safetensors
Lora file. - Download the file with CLIP parameters removed.
Convert CKPT to Safetensors
- Upload a
.ckpt
file (maximum size 700MB). - Download the converted
.safetensors
file.