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

Yuan274
/
whale-lora-2

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

Instructions to use Yuan274/whale-lora-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Yuan274/whale-lora-2 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("Yuan274/whale-lora-2")
    
    prompt = "drone view of <s0><s1> in the ocean"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
whale-lora-2
191 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Yuan274's picture
Yuan274
Upload folder using huggingface_hub
3f650d5 verified about 2 years ago
  • logs
    Upload folder using huggingface_hub about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    3.53 kB
    Upload folder using huggingface_hub about 2 years ago
  • image-0.png
    858 kB
    Upload folder using huggingface_hub about 2 years ago
  • image-1.png
    872 kB
    Upload folder using huggingface_hub about 2 years ago
  • image-2.png
    843 kB
    Upload folder using huggingface_hub about 2 years ago
  • image-3.png
    824 kB
    Upload folder using huggingface_hub about 2 years ago
  • image-4.png
    890 kB
    Upload folder using huggingface_hub about 2 years ago
  • pytorch_lora_weights.safetensors
    93.1 MB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • whale-lora-2.safetensors
    93.1 MB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • whale-lora-2_emb.safetensors
    16.5 kB
    xet
    Upload folder using huggingface_hub about 2 years ago