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

  • Log In
  • Sign Up

callgg
/
kontext-decoder

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

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

  • Libraries
  • Diffusers

    How to use callgg/kontext-decoder 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/kontext-decoder", 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
kontext-decoder / tokenizer_2
3.24 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
chatpig's picture
chatpig
Update tokenizer_2/tokenizer_config.json
c175eb0 verified 9 months ago
  • special_tokens_map.json
    2.54 kB
    Upload 16 files 10 months ago
  • spiece.model
    792 kB
    xet
    Upload 16 files 10 months ago
  • tokenizer.json
    2.42 MB
    Upload 16 files 10 months ago
  • tokenizer_config.json
    20.8 kB
    Update tokenizer_2/tokenizer_config.json 9 months ago