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

  • Log In
  • Sign Up

byliutao
/
Longcat-Image-Turbo

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

Instructions to use byliutao/Longcat-Image-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use byliutao/Longcat-Image-Turbo with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("byliutao/Longcat-Image-Turbo", 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
Longcat-Image-Turbo / tokenizer
11.5 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
byliutao's picture
byliutao
Upload tokenizer/vocab.json
d038a49 3 days ago
  • chat_template.json
    1.05 kB
    Upload tokenizer/chat_template.json 3 days ago
  • config.json
    1.37 kB
    Upload tokenizer/config.json 3 days ago
  • merges.txt
    1.67 MB
    Upload tokenizer/merges.txt 3 days ago
  • preprocessor_config.json
    351 Bytes
    Upload tokenizer/preprocessor_config.json 3 days ago
  • tokenizer.json
    7.03 MB
    Upload tokenizer/tokenizer.json 3 days ago
  • tokenizer_config.json
    7.23 kB
    Upload tokenizer/tokenizer_config.json 3 days ago
  • vocab.json
    2.78 MB
    Upload tokenizer/vocab.json 3 days ago