CoolFace
Modelpublic

suvadityamuk/stable-diffusion-japanese-kanji

sourceHugging Facecreativeml-openrail-mupdated 3y agoView on Hugging Face
0likes3downloads
Model Card

license: creativeml-openrail-m base_model: stabilityai/stable-diffusion-2-1 datasets:

  • —suvadityamuk/japanese-kanji tags:
  • —stable-diffusion
  • —stable-diffusion-diffusers
  • —text-to-image
  • —diffusers inference: true ---

Text-to-image finetuning - suvadityamuk/stable-diffusion-japanese-kanji

This pipeline was finetuned from stabilityai/stable-diffusion-2-1 on the suvadityamuk/japanese-kanji dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['deep learning', 'elon musk', 'india', 'sakana', 'fish', 'foundation', 'neural network', 'machine learning', 'man', 'woman', 'tokyo', 'mumbai', 'google', 'youtube', 'deepmind', 'attention', 'diffusion', 'stability']:

[image]

Pipeline usage

You can use the pipeline like so:

python
from diffusers import DiffusionPipeline
import torch

pipeline = DiffusionPipeline.from_pretrained("suvadityamuk/stable-diffusion-japanese-kanji", torch_dtype=torch.float16)
prompt = "deep learning"
image = pipeline(prompt).images[0]
image.save("my_image.png")

Training info

These are the key hyperparameters used during training:

  • —Epochs: 20
  • —Learning rate: 0.00025
  • —Batch size: 128
  • —Gradient accumulation steps: 4
  • —Image resolution: 128
  • —Mixed-precision: bf16

More information on all the CLI arguments and the environment are available on your `wandb` run page.