aaronb commited on
Commit
d07b411
1 Parent(s): 8c9b7c4

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -0
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: diffusers
3
+ ---
4
+
5
+ # MuLan Language Adapter
6
+
7
+ What is it ?
8
+ > We present MuLan, a versatile framework to equip any diffusion model with multilingual generation abilities natively by up to 110+ languages around the world. With properly trained text encoder from noisy data, we demonstrate that MuLan could be trained on English only data and support other languages zero-shot. Additionally, we introduce Language Adapter. A language adapter with less than 20M parameters, trained against a frozen denoiser and a text encoder, can be readily combined with any homologous community models/tools, such as LoRA, LCM, ControlNet, and IP-Adapter, without any finetuning.
9
+
10
+ https://github.com/mulanai/MuLan
11
+
12
+ Examples:
13
+
14
+ ```diff
15
+ # pip install mulankit
16
+ from diffusers import StableDiffusionPipeline
17
+ + import mulankit
18
+
19
+ pipe = StableDiffusionPipeline.from_pretrained('Lykon/dreamshaper-8')
20
+ + pipe = mulankit.transform(pipe, 'mulanai/mulan-lang-adapter::sd15_aesthetic.pth')
21
+ image = pipe('一只蓝色的🐶 in the 바다').images[0]
22
+ ```