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

Saad381
/
Transformer_lora

Text-to-Image
Diffusers
TensorBoard
stable-diffusion-xl
stable-diffusion-xl-diffusers
lora
template:Transformers_lora
Model card Files Files and versions
xet
Metrics Training metrics Community
7

Instructions to use Saad381/Transformer_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Saad381/Transformer_lora 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("Saad381/Transformer_lora")
    
    prompt = "the elita-1"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
Transformer_lora / images
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
Saad381's picture
Saad381
Add generated example (#7)
de0020a verified over 1 year ago
  • example_axa1h0aww.png
    135 kB
    Add generated example (#4) over 1 year ago
  • example_b3o0t8jwk.png
    126 kB
    Add generated example (#2) over 1 year ago
  • example_evyogtsa0.png
    107 kB
    Add generated example (#5) over 1 year ago
  • example_jyi3p9qly.png
    100 kB
    Add generated example (#7) over 1 year ago
  • example_qafp9xggx.png
    119 kB
    Add generated example (#1) over 1 year ago
  • example_r7i79u4sm.png
    132 kB
    Add generated example (#3) over 1 year ago
  • example_ymcrjv2r1.png
    157 kB
    Add generated example (#6) over 1 year ago