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 / tokenizer
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
chatpig's picture
chatpig
Upload 11 files
f30ed6b verified about 1 year ago
  • special_tokens_map.json
    577 Bytes
    Upload 11 files about 1 year ago
  • tokenizer.json
    17.2 MB
    xet
    Upload 11 files about 1 year ago
  • tokenizer_config.json
    51.7 kB
    Upload 11 files about 1 year ago