Downloads · 30 days
4
5% of all-time downloads
kumo24/sdxl_nuclear
sdxl_nuclear is a machine learning model from kumo24. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for diffusers. The card lists the license as apache-2.0.
This is the Stable Diffusion XL UNet fine-tuned on images related to nuclear energy. Code below shows how to use it.
Downloads · 30 days
4
5% of all-time downloads
All-time downloads
86
Public
Parameters
2.6B
10.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors10.3 GB · 100%
From the Hugging Face model README
This is the Stable Diffusion XL UNet fine-tuned on images related to nuclear energy. Code below shows how to use it.
import torch
from diffusers import DiffusionPipeline, UNet2DConditionModel
custom_unet = UNet2DConditionModel.from_pretrained("kumo24/sdxl_nuclear",
torch_dtype=torch.float16,
use_safetensors=True)
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0",
unet=custom_unet,
torch_dtype=torch.float16,
variant="fp16",
use_safetensors=True).to('cuda')
prompt = "A model of the ZETA generator, Britain’s first nuclear fusion experiment"
image = pipe(prompt).images[0]
image