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

  • Log In
  • Sign Up

rootlocalghost
/
ERNIE-Image

Text-to-Image
Diffusers
Safetensors
ErnieImagePipeline
8B
Model card Files Files and versions
xet
Community

Instructions to use rootlocalghost/ERNIE-Image with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use rootlocalghost/ERNIE-Image with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("rootlocalghost/ERNIE-Image", 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
  • Local Apps
  • Draw Things
  • DiffusionBee
ERNIE-Image
31.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 25 commits
rootlocalghost's picture
rootlocalghost
clone vae/diffusion_pytorch_model.safetensors
06dce2d verified 4 days ago
  • pe
    clone pe/tokenizer_config.json 4 days ago
  • pe_tokenizer
    clone pe_tokenizer/tokenizer_config.json 4 days ago
  • scheduler
    clone scheduler/scheduler_config.json 4 days ago
  • text_encoder
    clone text_encoder/model.safetensors 4 days ago
  • tokenizer
    clone tokenizer/tokenizer_config.json 4 days ago
  • transformer
    clone transformer/diffusion_pytorch_model.safetensors.index.json 4 days ago
  • vae
    clone vae/diffusion_pytorch_model.safetensors 4 days ago
  • .gitattributes
    1.7 kB
    clone .gitattributes 4 days ago
  • LICENSE
    11.4 kB
    clone LICENSE 4 days ago
  • README.md
    11.2 kB
    clone README.md 4 days ago
  • model_index.json
    547 Bytes
    clone model_index.json 4 days ago