xchuan commited on
Commit
23ace49
·
verified ·
1 Parent(s): 822e8dd

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +22 -0
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - pytorch
5
+ - diffusers
6
+ - unconditional-image-generation
7
+ - diffusion-models-class
8
+ ---
9
+
10
+ # Example Fine-Tuned Model for Unit 2 of the [Diffusion Models Class 🧨](https://github.com/huggingface/diffusion-models-class)
11
+
12
+ You are fine-tuning the google/ddpm-celebahq-256 model using the huggan/few-shot-anime-face dataset, with the goal of enabling users to generate cartoon character avatars.
13
+
14
+ ## Usage
15
+
16
+ ```python
17
+ from diffusers import DDPMPipeline
18
+
19
+ pipeline = DDPMPipeline.from_pretrained('your_hub_username/ddpm-fewshot_anime_face')
20
+ image = pipeline().images[0]
21
+ image.show() # To display the generated image
22
+ ```