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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

AbstractPhil
/
geolip-beatrix-sana

Text-to-Image
Sana
Safetensors
Diffusers
lora
experiments
Model card Files Files and versions
xet
Community

Instructions to use AbstractPhil/geolip-beatrix-sana with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Sana

    How to use AbstractPhil/geolip-beatrix-sana 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://AbstractPhil/geolip-beatrix-sana")
    
    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,
    ) 
  • Diffusers

    How to use AbstractPhil/geolip-beatrix-sana with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Efficient-Large-Model/Sana_600M_512px_diffusers", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("AbstractPhil/geolip-beatrix-sana")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
geolip-beatrix-sana / experiments
1.22 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 34 commits
AbstractPhil's picture
AbstractPhil
e009_lora_mood_up_lr_2e-4: evaluation + result
d81cae6 verified 7 days ago
  • e001_flavor_test
    e001_flavor_test: meta 7 days ago
  • e002_flavor_dial_heldout
    e002_flavor_dial_heldout: meta 7 days ago
  • e003_trainer_parity
    e003_trainer_parity: meta 7 days ago
  • e004_lora_mood_up
    e004_lora_mood_up: evaluation + result 7 days ago
  • e005_lora_neutral_control
    e005_lora_neutral_control: evaluation + result 7 days ago
  • e006_lora_mood_down
    e006_lora_mood_down: evaluation + result 7 days ago
  • e007_lora_mood_up_reseed
    e007_lora_mood_up_reseed: evaluation + result 7 days ago
  • e008_lora_mood_up_lr_5e-5
    e008_lora_mood_up_lr_5e-5: evaluation + result 7 days ago
  • e009_lora_mood_up_lr_2e-4
    e009_lora_mood_up_lr_2e-4: evaluation + result 7 days ago