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

  • Log In
  • Sign Up

JingyeChen22
/
textdiffuser2-full-ft

Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
Model card Files Files and versions
xet
Community
1

Instructions to use JingyeChen22/textdiffuser2-full-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use JingyeChen22/textdiffuser2-full-ft with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("JingyeChen22/textdiffuser2-full-ft", 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
textdiffuser2-full-ft
3.94 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
JingyeChen22's picture
JingyeChen22
Create scheduler/scheduler_config.json
6e7c488 verified over 2 years ago
  • scheduler
    Create scheduler/scheduler_config.json over 2 years ago
  • text_encoder
    upload textdiffuser2 ckpt over 2 years ago
  • unet
    upload textdiffuser2 ckpt over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • architecture.jpg
    269 kB
    Upload architecture.jpg over 2 years ago
  • gray256.jpg
    9.08 kB
    Upload gray256.jpg over 2 years ago
  • model_index.json
    541 Bytes
    Create model_index.json over 2 years ago
  • random_states_0.pkl

    Detected Pickle imports (7)

    • "numpy.ndarray",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "_codecs.encode",
    • "numpy.core.multiarray._reconstruct",
    • "torch.ByteStorage",
    • "numpy.dtype"

    How to fix it?

    21.8 kB
    xet
    upload textdiffuser2 ckpt over 2 years ago
  • scaler.pt

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    557 Bytes
    xet
    upload textdiffuser2 ckpt over 2 years ago
  • scheduler.bin

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    627 Bytes
    xet
    upload textdiffuser2 ckpt over 2 years ago