Instructions to use zai-org/CogVideoX1.5-5B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zai-org/CogVideoX1.5-5B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("zai-org/CogVideoX1.5-5B", 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
Improve model card with pipeline tag, library name, and license clarification
#4
by nielsr HF Staff - opened
This PR enhances the model card by:
- Adding the
pipeline_tag: text-to-videoto improve discoverability on the Hugging Face Hub. - Specifying the
library_name: diffusersto clarify the model's compatibility. - Correcting and clarifying the license to Apache 2.0 based on the most up-to-date information in the Github README.
This ensures the model card is more informative and user-friendly.
THUDM-Space changed pull request status to merged