Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

maxin-cn
/
Latte-0

Text-to-Video
Diffusers
Safetensors
LattePipeline
Model card Files Files and versions
xet
Community

Instructions to use maxin-cn/Latte-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use maxin-cn/Latte-0 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("maxin-cn/Latte-0", 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
Latte-0 / text_encoder
19.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
maxin-cn's picture
maxin-cn
upload latte-0
7088992 verified almost 2 years ago
  • added_tokens.json
    2.59 kB
    upload latte-0 almost 2 years ago
  • config.json
    780 Bytes
    upload latte-0 almost 2 years ago
  • model-00001-of-00004.safetensors
    4.99 GB
    xet
    upload latte-0 almost 2 years ago
  • model-00002-of-00004.safetensors
    5 GB
    xet
    upload latte-0 almost 2 years ago
  • model-00003-of-00004.safetensors
    4.87 GB
    xet
    upload latte-0 almost 2 years ago
  • model-00004-of-00004.safetensors
    4.19 GB
    xet
    upload latte-0 almost 2 years ago
  • model.safetensors.index.json
    19.9 kB
    upload latte-0 almost 2 years ago
  • special_tokens_map.json
    2.54 kB
    upload latte-0 almost 2 years ago
  • spiece.model
    792 kB
    xet
    upload latte-0 almost 2 years ago
  • tokenizer_config.json
    20.5 kB
    upload latte-0 almost 2 years ago