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

schrum2
/
MarioDiffusion-MLM-regular0

Diffusers
Safetensors
TextConditionalDDPMPipeline
Model card Files Files and versions
xet
Community

Instructions to use schrum2/MarioDiffusion-MLM-regular0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use schrum2/MarioDiffusion-MLM-regular0 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("schrum2/MarioDiffusion-MLM-regular0", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
MarioDiffusion-MLM-regular0 / models
48 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
schrum2's picture
schrum2
Code that is apparently needed by the pipeline
1d027f9 verified over 1 year ago
  • general_training_helper.py
    6.05 kB
    Code that is apparently needed by the pipeline over 1 year ago
  • latent_diffusion_pipeline.py
    3.95 kB
    Code that is apparently needed by the pipeline over 1 year ago
  • pipeline_loader.py
    1.88 kB
    Code that is apparently needed by the pipeline over 1 year ago
  • sentence_transformers_helper.py
    4.74 kB
    Code that is apparently needed by the pipeline over 1 year ago
  • text_diffusion_pipeline.py
    22.4 kB
    Code that is apparently needed by the pipeline over 1 year ago
  • text_model.py
    8.99 kB
    Code that is apparently needed by the pipeline over 1 year ago