File size: 5,856 Bytes
3eebc55
ff66d5c
3eebc55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72a79fb
d27d330
3eebc55
8f1a64f
d27d330
3aace18
7a0a54d
 
3eebc55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
091dd7d
3eebc55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8852e83
 
 
 
 
3eebc55
 
 
 
ff66d5c
 
 
 
 
3eebc55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
091dd7d
452ed03
091dd7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
---
license: creativeml-openrail-m
tags:
  - lora
  - stable-diffusion
  - sd1.5
  - style
  - ukiyo-e
  - japanese-art
  - kunisada
  - bijin-ga
base_model: JosephusCheung/ACertainModel
inference: false
language:
  - ja
  - en
---

# UKnsdV2.0 — Utagawa Kunisada-style LoRA (SD 1.5)

**Author:** [Rootport](https://huggingface.co/Rootport)  
**Trigger word:** `UKnsd`  
**Type:** LoRA (`.safetensors`)  
**Intended style:** Ukiyo-e / Kunisada-inspired *bijin-ga*(歌川国貞風)

※2023年に SD1.5 の LoRA 学習手順を把握するために作成した試作モデルです。

[![UknsdV2.0ツイッター投稿スクショ](https://cdn-uploads.huggingface.co/production/uploads/684da03b0d7c819ab4113019/1XF8-vXhMOiXg1S1ZfW0s.jpeg)](https://x.com/rootport/status/1663135869451268097)
https://x.com/rootport/status/1663135869451268097

![samples_UknsdV2.0](https://cdn-uploads.huggingface.co/production/uploads/684da03b0d7c819ab4113019/C6RKqNZkmLxzwwksk_Wku.jpeg)

---

## 🧩 Files

- `UKnsdV2.0.safetensors`**SHA256:** `4CC476F05246C376D005FF34CDF44B4C1BD3B4D88DED982D2B6C447D8721ECCD`
- `README.md`(このモデルカード)

---

## 📚 Training data

- **Source:** 国立国会図書館 **NDLイメージバンク** テーマ  
  **「江戸名所百人美女」**(歌川国貞/歌川豊国三代, 1857–58 年頃)  
  テーマページ: https://ndlsearch.ndl.go.jp/imagebank/theme/edomeisho100bijo
- **Count:** 83 images
- **Captions:** すべて **`UKnsd`**(トリガーワードのみ)
- **Regularization images:** なし
- **Preprocess:** (当時ログ紛失のため詳細不明/一般的なリサイズ・クロップ想定)
- **出典:** 国立国会図書館「NDLイメージバンク」《江戸名所百人美女》
- **Notes:** 作者(歌川国貞/豊国三代, **没1864**)の作品は保護期間満了。NDLイメージバンクは保護期間満了画像の公開を基本とし、**出典明記のうえ転載・二次利用可**です(各作品ページの表示に従ってください)。

---

## 🧪 Training setup (historical)

- **Base model (for training):** `ACertainModel`(SD 1.5 系、**JosephusCheung/ACertainModel** からダウンロード)  
  https://huggingface.co/JosephusCheung/ACertainModel
- **Optimizer / Scheduler / Steps / Rank / Alpha:** 不明(2023年の試作につきログ未保存)
- **Format:** `safetensors`

> **注:** ベース **ACertainModel****CreativeML OpenRAIL-M**。本LoRAのライセンス(MIT)は**ベース側の条件に抵触しない範囲**で適用されます(再配布時に OpenRAIL-M の利用制限とライセンス文面を同梱してください)。

---

## 🚀 Usage (inference)

- **Trigger word:** `UKnsd`
- **Recommended weight:** `0.6–0.9`(下記サンプルは `0.0/0.4/0.6/0.8/1.0` 比較)
- **Good motifs:** 和装(着物・帯)、扇・簪・花鳥、平面的配色、太めの輪郭線
- **Known caveats:** 指・手・文字・透視図法が崩れる場合あり。`photorealistic` や強い被写界深度(DoF)語と併用で作風がにじむことがあります。

### Example prompt (used for all samples)

**Positive**
```
masterpiece, best quality, ultra detailed, absurdres, highres, [[ flat color, ]]
full body, 1girl, standing, kimono, outdoors, UKnsd,  <lora:UKnsdV2.0:WEIGHT>
```

**Negative**
```
EasyNegativeV2, ( worst quality, low quality, ) censorship, ( watermark, words, text, )
ugly, mutation, multi-limbs, missing fingers, extra fingers, bad composition,
inaccurate eyes, extra digit, fewer digits, photorealistic, depth of field,
```

**Sampler / Other settings**
```
Steps: 23
Sampler: Euler a
Schedule type: Automatic
CFG scale: 7
Seed: 10000003
Size: 512x640
Base checkpoint for samples: CounterfeitV30 (hash: cbfba64e66)
Denoising strength: 0.5
Clip skip: 2
ENSD: 31337
Hires: upscale 2.0, upscaler R-ESRGAN 4x+ Anime6B, Hires CFG 7
LoRA hash: UKnsdV2.0 = 86ed86cb8476
TI: EasyNegativeV2
VAE: vae-ft-mse-840000-ema-pruned
```

> **WEIGHT** を `0.0 / 0.4 / 0.6 / 0.8 / 1.0` に切り替えて 5 枚を掲載(同一シード)。

---

## 🖼️ Sample set

1. ![w0.0](samples/uknsd_w0.0.png) **No LoRA (0.0)** — ベースのみ
2. ![w0.4](samples/uknsd_w0.4.png) **0.4** — ベース寄り、輪郭と配色にわずかな浮世絵風味
3. ![w0.6](samples/uknsd_w0.6.png) **0.6** — 作風の明確化
4. ![w0.8](samples/uknsd_w0.8.png) **0.8** — より強い版画調
5. ![w1.0](samples/uknsd_w1.0.png) **1.0** — スタイル強制が強く、破綻が出る場合あり

---

## 🔖 License
- **Training images:** Public Domain(…)
- **Base model:** **ACertainModel — CreativeML OpenRAIL-M**(…)
- **This LoRA (weights):** **CreativeML OpenRAIL-M** — 使用制限を派生物/再配布にも下流適用します。  
- **Repo内の補助コード/スクリプト(該当する場合):** MIT  
  ※OpenRAIL-Mの原文を `LICENSE` に同梱。再配布時は本ライセンスと使用制限を必ず添付してください。

---

## ✅ Responsible Use

- 歴史的美術様式の再解釈を目的としたLoRAです。誤情報・差別的文脈・違法行為の助長を目的とする利用は避けてください。
- 商標・人格権等の第三者権利に配慮してください。
- 再配布時は本カード(出典・ライセンス)を継承してください。

---

## 🙏 Credits

- Artwork source: National Diet Library, **NDL Image Bank**(「江戸名所百人美女」, Utagawa Kunisada / Utagawa Toyokuni III)
- Author: **Rootport** (https://huggingface.co/Rootport)
- Thanks: Stable Diffusion community

---

## 🔧 Changelog

- **v2.0 (2023-05-29)**: this model was trained.
- **v2.0 (2025-10-20)**: initial public test release (prototype; training logs unavailable)