Run this model with HF Jobs

Run waleriawatson/my-custom-lora on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/waleriawatson/my-custom-lora. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/waleriawatson/my-custom-lora on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Custom SDXL LoRA Model

This is a custom LoRA (Low-Rank Adaptation) model trained on SDXL.

Usage

from diffusers import StableDiffusionXLPipeline
import torch

# Load the base pipeline
pipeline = StableDiffusionXLPipeline.from_pretrained(
    "stabilityai/stable-diffusion-xl-base-1.0",
    torch_dtype=torch.float16
)

# Load this LoRA
pipeline.load_lora_weights("YOUR_USERNAME/YOUR_REPO_NAME")

# Generate image
image = pipeline(
    "professional portrait of a person, high quality",
    num_inference_steps=25,
    guidance_scale=7.5
).images[0]

image.save("result.png")

Model Details

  • Base Model: SDXL Base 1.0
  • LoRA Rank: 32
  • LoRA Alpha: 16
  • Training Images: 14 images
  • File Size: ~12 MB

Recommended Settings

  • LoRA Scale: 0.7-0.9
  • CFG Scale: 7-8
  • Steps: 25-30
  • Resolution: 1024x1024

Example Prompts

  • "professional portrait of a person in business attire, corporate headshot"
  • "casual portrait of a person wearing a hoodie, urban setting"
  • "elegant portrait of a person in formal evening wear, studio lighting"
Downloads last month
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for waleriawatson/my-custom-lora

Adapter
(9,868)
this model