Instructions to use HuggingVince/H4n4ged with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HuggingVince/H4n4ged with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("HuggingVince/H4n4ged") prompt = "an stylistic cartoon of a man dangling from his neck-rope-noose standing on a small wooden stool in the center facing the crowd and facing the viewer in a medieval town square, the man is wearing tattered rags, there is an executioner man standing beside wearing an executioners hood holding a scroll with a list of crimes *Prominent text on the scroll reads:\"being a very naughty boy\".*, in the foreground front is an angry mob of townspeople, his arms are behind his back and his wrists are bound with rope" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
1cb374c
verified ·
0
Parent(s):
initial commit
Browse files- .gitattributes +55 -0
- LICENSE +0 -0
- README.md +106 -0
.gitattributes
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
# Audio files - uncompressed
|
| 38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
# Audio files - compressed
|
| 42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
# Image files - uncompressed
|
| 48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
# Image files - compressed
|
| 53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
File without changes
|
README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- lora
|
| 5 |
+
- diffusers
|
| 6 |
+
- template:diffusion-lora
|
| 7 |
+
widget:
|
| 8 |
+
- output:
|
| 9 |
+
url: images/E_500.png
|
| 10 |
+
text: >-
|
| 11 |
+
an stylistic cartoon of a man dangling from his neck-rope-noose standing on
|
| 12 |
+
a small wooden stool in the center facing the crowd and facing the viewer in
|
| 13 |
+
a medieval town square, the man is wearing tattered rags, there is an
|
| 14 |
+
executioner man standing beside wearing an executioners hood holding a
|
| 15 |
+
scroll with a list of crimes *Prominent text on the scroll reads:"being a
|
| 16 |
+
very naughty boy".*, in the foreground front is an angry mob of townspeople,
|
| 17 |
+
his arms are behind his back and his wrists are bound with rope
|
| 18 |
+
- output:
|
| 19 |
+
url: images/E_750.png
|
| 20 |
+
text: >-
|
| 21 |
+
an stylistic cartoon of a man dangling from his neck-rope-noose standing on
|
| 22 |
+
a small wooden stool in the center facing the crowd and facing the viewer in
|
| 23 |
+
a medieval town square, the man is wearing tattered rags, there is an
|
| 24 |
+
executioner man standing beside wearing an executioners hood holding a
|
| 25 |
+
scroll with a list of crimes *Prominent text on the scroll reads:"being a
|
| 26 |
+
very naughty boy".*, in the foreground front is an angry mob of townspeople,
|
| 27 |
+
his arms are behind his back and his wrists are bound with rope
|
| 28 |
+
- output:
|
| 29 |
+
url: images/E_1000.png
|
| 30 |
+
text: >-
|
| 31 |
+
an stylistic cartoon of a man dangling from his neck-rope-noose standing on
|
| 32 |
+
a small wooden stool in the center facing the crowd and facing the viewer in
|
| 33 |
+
a medieval town square, the man is wearing tattered rags, there is an
|
| 34 |
+
executioner man standing beside wearing an executioners hood holding a
|
| 35 |
+
scroll with a list of crimes *Prominent text on the scroll reads:"being a
|
| 36 |
+
very naughty boy".*, in the foreground front is an angry mob of townspeople,
|
| 37 |
+
his arms are behind his back and his wrists are bound with rope
|
| 38 |
+
- output:
|
| 39 |
+
url: images/E_1250.png
|
| 40 |
+
text: >-
|
| 41 |
+
an stylistic cartoon of a man dangling from his neck-rope-noose standing on
|
| 42 |
+
a small wooden stool in the center facing the crowd and facing the viewer in
|
| 43 |
+
a medieval town square, the man is wearing tattered rags, there is an
|
| 44 |
+
executioner man standing beside wearing an executioners hood holding a
|
| 45 |
+
scroll with a list of crimes *Prominent text on the scroll reads:"being a
|
| 46 |
+
very naughty boy".*, in the foreground front is an angry mob of townspeople,
|
| 47 |
+
his arms are behind his back and his wrists are bound with rope
|
| 48 |
+
- output:
|
| 49 |
+
url: images/E_1500.png
|
| 50 |
+
text: >-
|
| 51 |
+
an stylistic cartoon of a man dangling from his neck-rope-noose standing on
|
| 52 |
+
a small wooden stool in the center facing the crowd and facing the viewer in
|
| 53 |
+
a medieval town square, the man is wearing tattered rags, there is an
|
| 54 |
+
executioner man standing beside wearing an executioners hood holding a
|
| 55 |
+
scroll with a list of crimes *Prominent text on the scroll reads:"being a
|
| 56 |
+
very naughty boy".*, in the foreground front is an angry mob of townspeople,
|
| 57 |
+
his arms are behind his back and his wrists are bound with rope
|
| 58 |
+
- output:
|
| 59 |
+
url: images/E_1750.png
|
| 60 |
+
text: >-
|
| 61 |
+
an stylistic cartoon of a man dangling from his neck-rope-noose standing on
|
| 62 |
+
a small wooden stool in the center facing the crowd and facing the viewer in
|
| 63 |
+
a medieval town square, the man is wearing tattered rags, there is an
|
| 64 |
+
executioner man standing beside wearing an executioners hood holding a
|
| 65 |
+
scroll with a list of crimes *Prominent text on the scroll reads:"being a
|
| 66 |
+
very naughty boy".*, in the foreground front is an angry mob of townspeople,
|
| 67 |
+
his arms are behind his back and his wrists are bound with rope
|
| 68 |
+
- output:
|
| 69 |
+
url: images/E_2000.png
|
| 70 |
+
text: >-
|
| 71 |
+
an stylistic cartoon of a man dangling from his neck-rope-noose standing on
|
| 72 |
+
a small wooden stool in the center facing the crowd and facing the viewer in
|
| 73 |
+
a medieval town square, the man is wearing tattered rags, there is an
|
| 74 |
+
executioner man standing beside wearing an executioners hood holding a
|
| 75 |
+
scroll with a list of crimes *Prominent text on the scroll reads:"being a
|
| 76 |
+
very naughty boy".*, in the foreground front is an angry mob of townspeople,
|
| 77 |
+
his arms are behind his back and his wrists are bound with rope
|
| 78 |
+
base_model: krea/Krea-2-Turbo
|
| 79 |
+
instance_prompt: >-
|
| 80 |
+
It waxs trained with one constant H4n4ged But it is not needed use natural
|
| 81 |
+
language and do not underestimate the power of the word Prominent in Krea2
|
| 82 |
+
license: other
|
| 83 |
+
license_name: dowhateverthefkuwant
|
| 84 |
+
license_link: LICENSE
|
| 85 |
+
---
|
| 86 |
+
# H4n4ged
|
| 87 |
+
|
| 88 |
+
<Gallery />
|
| 89 |
+
|
| 90 |
+
## Model description
|
| 91 |
+
|
| 92 |
+
This can depict a hanging scene using natural language
|
| 93 |
+
this seems pretty versatile but for realism you may need to adjust the lora strength down as it seems the higher epoch's can reduce the quality of Krea2 Outputs like detail and skin texture im pretty sure this must be due to low quality input images im not fully satisfied with any of my loras so far but will put this up as it is sufficient for now,
|
| 94 |
+
i will be looking into methods to improve possibly up-scaling the inputs prior to training or maybe captioning the low quality to steer the model away from the unwanted effects.
|
| 95 |
+
|
| 96 |
+
A not from my testing of Krea2 Unrelated to my Lora the word Prominent can be extremely powerful as Krea2 does not support weighted prompting the same way as SDXL and other models *E.G (Metallic Blue Armor:1.6), instead with Krea2 you woudl instead want He is wearing a prominent Metallic Blue Armor this will put emphasis on this part of the prompt i will need to test more but, if you don know now you know *trigger*
|
| 97 |
+
|
| 98 |
+
## Trigger words
|
| 99 |
+
|
| 100 |
+
You should use `It waxs trained with one constant H4n4ged But it is not needed use natural language and do not underestimate the power of the word Prominent in Krea2` to trigger the image generation.
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
## Download model
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
[Download](/HuggingVince/H4n4ged/tree/main) them in the Files & versions tab.
|