Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

LordLiang
/
example-lora-trained-xl

Text-to-Image
Diffusers
stable-diffusion-xl
stable-diffusion-xl-diffusers
lora
template:sd-lora
Model card Files Files and versions
xet
Community

Instructions to use LordLiang/example-lora-trained-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use LordLiang/example-lora-trained-xl with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("LordLiang/example-lora-trained-xl")
    
    prompt = "A photo of sks cartoon character dancing"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
example-lora-trained-xl
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
LordLiang's picture
LordLiang
End of training
0600a8e verified over 2 years ago
  • checkpoint-500
    End of training over 2 years ago
  • .gitattributes
    1.57 kB
    End of training over 2 years ago
  • README.md
    2.72 kB
    End of training over 2 years ago
  • example-lora-trained-xl.safetensors
    23.5 MB
    xet
    End of training over 2 years ago
  • image_0.png
    796 kB
    End of training over 2 years ago
  • image_1.png
    796 kB
    End of training over 2 years ago
  • image_2.png
    736 kB
    End of training over 2 years ago
  • image_3.png
    1.01 MB
    xet
    End of training over 2 years ago
  • pytorch_lora_weights.safetensors
    23.4 MB
    xet
    End of training over 2 years ago