Downloads · 30 days
2
1% of all-time downloads
samuelcahyawijaya/sea-sdxl-full
sea-sdxl-full is a text-to-image model from samuelcahyawijaya. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
This is a full rank finetune derived from stabilityai/stable-diffusion-xl-base-1.0.
Downloads · 30 days
2
1% of all-time downloads
All-time downloads
145
Public
Parameters
2.6B
35.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin15.4 GB · 43%
From the Hugging Face model README
This is a full rank finetune derived from stabilityai/stable-diffusion-xl-base-1.0.
The main validation prompt used during training was:
A high‑resolution photo‑realistic image of a wild tiger in jungle
2.00.030ddim421024x1024Note: The validation settings are not necessarily the same as the training settings.
<Gallery />The text encoder was not trained. You may reuse the base model text encoder for inference.
no_changeimport torch
from diffusers import DiffusionPipeline
model_id = 'samuelcahyawijaya/sea-sdxl-full'
pipeline = DiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16) # loading directly in bf16
prompt = "A high‑resolution photo‑realistic image of a wild tiger in jungle"
negative_prompt = 'blurry, cropped, ugly'
pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu') # the pipeline is already in its target precision level
model_output = pipeline(
prompt=prompt,
negative_prompt=negative_prompt,
num_inference_steps=30,
generator=torch.Generator(device='cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu').manual_seed(42),
width=1024,
height=1024,
guidance_scale=2.0,
guidance_rescale=0.0,
).images[0]
model_output.save("output.png", format="PNG")
SimpleTuner generates a safetensors variant of the EMA weights and a pt file.
The safetensors file is intended to be used for inference, and the pt file is for continuing finetuning.
The EMA model may provide a more well-rounded result, but typically will feel undertrained compared to the full model as it is a running decayed average of the model weights.