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

  • Log In
  • Sign Up

leffff
/
diffusion-alignment-workshop-adapters

Text-to-Image
PEFT
Sana
diffusion
alignment
rlhf
text-rendering
lora
Model card Files Files and versions
xet
Community

Instructions to use leffff/diffusion-alignment-workshop-adapters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use leffff/diffusion-alignment-workshop-adapters with PEFT:

    Task type is invalid.
  • Sana

    How to use leffff/diffusion-alignment-workshop-adapters with Sana:

    # Load the model and infer image from text
    import torch
    from app.sana_pipeline import SanaPipeline
    from torchvision.utils import save_image
    
    sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml")
    sana.from_pretrained("hf://leffff/diffusion-alignment-workshop-adapters")
    
    image = sana(
        prompt='a cyberpunk cat with a neon sign that says "Sana"',
        height=1024,
        width=1024,
        guidance_scale=5.0,
        pag_guidance_scale=2.0,
        num_inference_steps=18,
    ) 
  • Notebooks
  • Google Colab
  • Kaggle
diffusion-alignment-workshop-adapters / samples
7.23 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
leffff's picture
leffff
LoRA adapters of the diffusion alignment workshop (reference run, H100, 5 min each)
35368ea verified 4 days ago
  • dataset.png
    1.4 MB
    xet
    LoRA adapters of the diffusion alignment workshop (reference run, H100, 5 min each) 4 days ago
  • experts_and_merges.png
    2.97 MB
    xet
    LoRA adapters of the diffusion alignment workshop (reference run, H100, 5 min each) 4 days ago
  • ocr_methods.png
    2.86 MB
    xet
    LoRA adapters of the diffusion alignment workshop (reference run, H100, 5 min each) 4 days ago