Downloads · 30 days
14
2% of all-time downloads
Minh-Ha/simpletuner-finetuned-sd3
simpletuner-finetuned-sd3 is a text-to-image model from Minh-Ha. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
This is a full rank finetune derived from sd3/unknown-model.
Downloads · 30 days
14
2% of all-time downloads
All-time downloads
905
Public
Parameters
2.5B
184 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin13.5 GB · 73%
From the Hugging Face model README
This is a full rank finetune derived from sd3/unknown-model.
The main validation prompt used during training was:
A photo-realistic pathology image
3.00.020FlowMatchEulerDiscreteScheduler421024x1024Note: The validation settings are not necessarily the same as the training settings.
You can find some example images in the following gallery:
<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 = 'Minh-Ha/simpletuner-finetuned-sd3'
pipeline = DiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16) # loading directly in bf16
prompt = "A photo-realistic pathology image"
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=20,
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=3.0,
).images[0]
model_output.save("output.png", format="PNG")