Leeps/Fonts-Individual-Letters
Viewer • Updated • 63k • 54 • 4
How to use Leeps/sd-font-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Leeps/sd-font-model", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]This pipeline was finetuned from runwayml/stable-diffusion-v1-5 on the Leeps/Fonts-Individual-Letters dataset. Below are some example images generated with the finetuned pipeline using the following prompts: None:
You can use the pipeline like so:
from diffusers import DiffusionPipeline
import torch
pipeline = DiffusionPipeline.from_pretrained("Leeps/sd-font-model", torch_dtype=torch.float16)
These are the key hyperparameters used during training:
Base model
runwayml/stable-diffusion-v1-5