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

  • Log In
  • Sign Up

ZB-Tech
/
Text-to-Image

Text-to-Image
Diffusers
TensorBoard
Safetensors
English
StableDiffusionPipeline
diffusers-training
lora
template:sd-lora
stable-diffusion-xl
stable-diffusion-xl-diffusers
Model card Files Files and versions
xet
Metrics Training metrics Community
14

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

  • Libraries
  • Diffusers

    How to use ZB-Tech/Text-to-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("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("ZB-Tech/Text-to-Image")
    
    prompt = "Draw a picture of two female boxers fighting each other."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Text-to-Image
10.9 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 43 commits
ZB-Tech's picture
ZB-Tech
Artificial-AI's picture
Artificial-AI
Add generated example (#2)
7f21e47 verified over 1 year ago
  • feature_extractor
    Create feature_extractor/preprocessor_config.json about 2 years ago
  • images
    Add generated example (#2) over 1 year ago
  • logs
    End of training about 2 years ago
  • safety_checker
    Upload 2 files about 2 years ago
  • scheduler
    Create scheduler/scheduler_config.json about 2 years ago
  • text_encoder
    Upload 2 files about 2 years ago
  • tokenizer
    Rename tokenizer/tokenizer_vocab.json to tokenizer/vocab.json about 2 years ago
  • unet
    Upload diffusion_pytorch_model.bin about 2 years ago
  • vae
    Upload 2 files about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.57 kB
    Add generated example (#2) over 1 year ago
  • model_index.json
    540 Bytes
    Create model_index.json about 2 years ago
  • pytorch_lora_weights.safetensors
    458 MB
    xet
    updating weights about 2 years ago