Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.52.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
.ckptfiles to.safetensorsformat to get that pickle smell out of your weights.
How to Use
Rescale Lora Strength
- Specify the new scale factor first.
- Upload a
.safetensorsLora file, conversion begins immediately. - Download the rescaled weights.
Remove CLIP Parameters
- Upload a
.safetensorsLora file. - Download the file with CLIP parameters removed.
Convert CKPT to Safetensors
- Upload a
.ckptfile (maximum size 700MB). - Download the converted
.safetensorsfile.