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

  • Log In
  • Sign Up

leemeng
/
danbooru_small

Diffusers
TensorBoard
AltDiffusionPipeline
Model card Files Files and versions
xet
Metrics Training metrics Community
1

Instructions to use leemeng/danbooru_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use leemeng/danbooru_small with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("leemeng/danbooru_small", 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
danbooru_small / tokenizer
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
leemeng's picture
leemeng
End of training
2fc87ea over 3 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    End of training over 3 years ago
  • special_tokens_map.json
    280 Bytes
    End of training over 3 years ago
  • tokenizer_config.json
    623 Bytes
    End of training over 3 years ago