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

  • Log In
  • Sign Up

17939225
/
feature_extractor

Text-to-Image
Diffusers
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Model card Files Files and versions
xet
Community
3

Instructions to use 17939225/feature_extractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use 17939225/feature_extractor with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("17939225/feature_extractor", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "A high tech solarpunk utopia in the Amazon rainforest"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
feature_extractor / tokenizer
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
17939225's picture
17939225
Upload 3 files
d68abbe over 3 years ago
  • merges.txt
    525 kB
    Upload 3 files over 3 years ago
  • special_tokens_map.json
    472 Bytes
    Upload 3 files over 3 years ago
  • tokenizer_config.json
    806 Bytes
    Rename tokenizer_config.json to tokenizer/tokenizer_config.json over 3 years ago
  • vocab.json
    1.06 MB
    Upload 3 files over 3 years ago