Random Weights for LoRAs and TIs版本v1.0 (ID: 490019)

Random Weights for LoRAs and TIs版本v1.0 (ID: 490019)

This is a set of wildcards that enable random variance for the weights of LoRAs and Textual Inversion embeddings.

Use for LoRAs may look like <lora:my-lora:__proc/[modifier]__> where [modifier] can include the following:

  • full: For when you want a lot of variance for common models. The range is 0.10-0.95 with an average of 0.60.

  • high: High range values typical for most character/clothing/subject models. R:0.55-0.95, A:0.75

  • mid or med: Mid range values. R:0.3-0.7, A:0.50

  • low: Low range values for accents and themes. R:0.10-0.45, A:0.27

For a TI embedding, an example may look like (my-textual-inversion:__proc/[modifier]__) where [modifier] might be:

  • buff: Enhances an embedding. R1.05-1.3, A:1.17

  • dep: Depresses an embedding. R:0.80-0.95, A:0.88

There's also a series of values for weights that have a +/- 0.15 variance for finer precision. These can be accessed with the wildcard: __proc/p[value]__ where [value] can be a quarter {25, 50, 75} or a quintile {20, 40, 60, 80}. These precision weights are more flexible in their formatting because they do not include a digit before the decimal point, so you can adjust their magnitude by adding this. For example having 1__proc/p25__ in your prompt would return values ranging from 1.1 to 1.4. To make weights negative, add a minus sign in front of the wildcard.

Precision values that are a multiple of 100 are not as flexible because they must have a digit before the decimal point. __proc/p000__ can also return negative values, so adding a minus sign would create a double negative.

LoRA Block Weights:

You can also use wildcards to randomly assign lora block weights. The syntax is a little different depending on whether you're applying it to a SD LoRA, XL LoRA or LyCORIS.

SD: <lora:[my-sd-lora]:1,1:__proc/lbw/[modifier]__>

XL: <lora:[my-xl-lora]:1,1:__proc/lbwXL/[modifier]__>

Lycoris: <lora:[my-lycoris]:1:1:__proc/lbwLyc/[modifier]__>

The following modifiers apply to all three forms. Only UNet blocks are affected, the BASE block is always set to 1 using these methods.

  • rand: Sets each individual block to 1 or 0.

  • randIN: Same as rand except it applies only to IN blocks.

  • randOUT: Same as rand except it applies only to OUT blocks.

  • midd: Sets the MID and a random number of adjacent IN and OUT blocks to 1.

  • wrap: Inverse of midd, sets MID and a random number of adjacent blocks to 0.

Other:

Finally, you can generate some whole numbers with the following dice. This could be useful in some edge cases with a little formatting.

  • __proc/d10__ will return digits from 0 to 9.

  • __proc/d100__ will return numbers from 00 to 99.

Cover art generated using SirDigsbey's model of Mary Wiseman.

描述:

训练词语:

名称: randomWeightsForLoras_v10.zip

大小 (KB): 1

类型: Archive

Pickle 扫描结果: Success

Pickle 扫描信息: No Pickle imports

病毒扫描结果: Success

Random Weights for LoRAs and TIs

资源下载
下载价格VIP专享
仅限VIP下载升级VIP
犹豫不决让我们错失一次又一次机会!!!
原文链接:https://1111down.com/1049305.html,转载请注明出处
由于网站升级,部分用户密码全部设置为111111,登入后自己修改, 并且VIP等级提升一级(包月提升至包季,包季提升到包年 包年提升至永久)
没有账号?注册  忘记密码?

社交账号快速登录