--- 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.