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

  • Log In
  • Sign Up

xarthurx
/
diffuser-models

Diffusers
Model card Files Files and versions
xet
Community
1

Instructions to use xarthurx/diffuser-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use xarthurx/diffuser-models with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("xarthurx/diffuser-models", 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
diffuser-models / office-dbModel-v0-3 /tokenizer
1.59 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
xarthurx's picture
xarthurx
Upload folder using huggingface_hub (#1)
db8a217 almost 3 years ago
  • merges.txt
    525 kB
    Upload folder using huggingface_hub (#1) almost 3 years ago
  • special_tokens_map.json
    460 Bytes
    Upload folder using huggingface_hub (#1) almost 3 years ago
  • tokenizer_config.json
    737 Bytes
    Upload folder using huggingface_hub (#1) almost 3 years ago
  • vocab.json
    1.06 MB
    Upload folder using huggingface_hub (#1) almost 3 years ago