German28 commited on
Commit
fe1ce4e
·
verified ·
1 Parent(s): 0785fb7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -47
README.md CHANGED
@@ -1,47 +0,0 @@
1
- ---
2
- license: creativeml-openrail-m
3
- base_model: runwayml/stable-diffusion-v1-5
4
- tags:
5
- - lora
6
- - stable-diffusion
7
- - stable-diffusion-v1-5
8
- - text-to-image
9
- - fine-tuned
10
- - personal-model
11
- - GermanIA
12
- model_type: StableDiffusion
13
- library_name: diffusers
14
- inference: true
15
- ---
16
-
17
- # GermanIA-LoRA
18
-
19
- 🎨 Fine-tuned LoRA model based on Stable Diffusion v1.5
20
- 🧠 Тренирована на изображениях одного человека (GermanIA)
21
- 📦 Формат: `safetensors` + `adapter_config.json`
22
- 🚀 Полностью совместима с Kohya-совместимыми генераторами и Colab-блокнотами
23
-
24
- ## 📌 Информация о модели
25
-
26
- - Базовая модель: `runwayml/stable-diffusion-v1-5`
27
- - Разрешение: 512x512
28
- - LoRA Rank: 4
29
- - Эпох обучения: 10
30
- - Размер файла: ~19 MB
31
-
32
- ## 🚀 Как использовать
33
-
34
- ```python
35
- from diffusers import StableDiffusionPipeline
36
- import torch
37
-
38
- base_model = "runwayml/stable-diffusion-v1-5"
39
- lora_path = "German28/GermanIA-LoRA"
40
-
41
- pipe = StableDiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.float16)
42
- pipe.load_lora_weights(lora_path)
43
- pipe.to("cuda")
44
-
45
- prompt = "a cinematic portrait of GermanIA in a futuristic city, hyper-detailed, 4k"
46
- image = pipe(prompt).images[0]
47
- image.save("output.png")