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

  • Log In
  • Sign Up

callgg
/
pack-encoder

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use callgg/pack-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use callgg/pack-encoder with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("callgg/pack-encoder", 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
pack-encoder / text_encoder
15 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
chatpig's picture
chatpig
Upload 6 files
87f036e verified about 1 year ago
  • config.json
    766 Bytes
    Upload 11 files about 1 year ago
  • model-00001-of-00004.safetensors
    4.98 GB
    xet
    Upload 6 files about 1 year ago
  • model-00002-of-00004.safetensors
    5 GB
    xet
    Upload 6 files about 1 year ago
  • model-00003-of-00004.safetensors
    4.92 GB
    xet
    Upload 6 files about 1 year ago
  • model-00004-of-00004.safetensors
    117 MB
    xet
    Upload 6 files about 1 year ago
  • model.safetensors.index.json
    22.2 kB
    Upload 11 files about 1 year ago