Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

JiaxinGe
/
Diffusers-BAGEL

Diffusers
Safetensors
BagelPipeline
Model card Files Files and versions
xet
Community
1

Instructions to use JiaxinGe/Diffusers-BAGEL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use JiaxinGe/Diffusers-BAGEL with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("JiaxinGe/Diffusers-BAGEL", 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
Diffusers-BAGEL / tokenizer
5.38 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
para-lost's picture
para-lost
add code
4897a76 10 months ago
  • added_tokens.json
    605 Bytes
    Add Bagel weights and config 10 months ago
  • merges.txt
    1.67 MB
    Add Bagel weights and config 10 months ago
  • pipeline.py
    315 kB
    add code 10 months ago
  • special_tokens_map.json
    613 Bytes
    Add Bagel weights and config 10 months ago
  • tokenizer_config.json
    7.34 kB
    Add Bagel weights and config 10 months ago
  • vocab.json
    3.38 MB
    Add Bagel weights and config 10 months ago