How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("kentarrito/stable-diffusion-2-kanji-finetune", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

🧾 Model Card: Full Fine-Tuned – kentarrito/stable-diffusion-2-kanji-finetune

🈢 Stable Diffusion 2 – Kanji Fine-Tune (Full Model)

This is a full fine-tuned version of Stable Diffusion 2 on a custom dataset of kanji characters and their English meanings. The model was trained to generate kanji-style images based on English prompts such as "fire", "mountain", or "peace".

πŸ“¦ Usage

from diffusers import StableDiffusionPipeline
import torch

pipe = StableDiffusionPipeline.from_pretrained(
    "kentarrito/stable-diffusion-2-kanji-finetune",
    torch_dtype=torch.float16
).to("cuda")

image = pipe(prompt="fire").images[0]
image.show()

πŸ–ΌοΈ Generated Samples

See Github

🧠 Dataset

The dataset was built using:

Each training sample pairs an image of a kanji with one of its English meanings.

🎯 Limitations

  • Generated images are kanji-like but may not be accurate or interpretable as real characters.
  • The model may fail with abstract or multi-word prompts.

πŸ§ͺ Training

  • Training Code Github
  • Model: stabilityai/stable-diffusion-2
  • Fine-tuning: Full model training (UNet, text encoder, VAE)
  • Framework: Hugging Face diffusers
  • GPU: A40

πŸ“œ License

MIT License. Dataset sources are licensed under their respective terms.

Downloads last month
139
Safetensors
Model size
0.9B params
Tensor type
F16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for kentarrito/stable-diffusion-2-kanji-finetune

Finetuned
(189)
this model

Dataset used to train kentarrito/stable-diffusion-2-kanji-finetune