Instructions to use kandinskylab/Kandinsky-5.0-T2V-Pro-sft-5s with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kandinskylab/Kandinsky-5.0-T2V-Pro-sft-5s with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("kandinskylab/Kandinsky-5.0-T2V-Pro-sft-5s", 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 for Kandinsky 5.0: Add metadata, links, usage, and citation
#2
by nielsr HF Staff - opened
This PR significantly improves the model card for the Kandinsky 5.0 family of models by adding crucial metadata and structured content.
Key changes include:
- Metadata: Added
pipeline_tag: text-to-videofor better discoverability on the Hub. Addedlibrary_name: diffusersas the model is officially compatible with thediffuserslibrary, enabling the automated "how to use" widget. The existinglicense: mitis retained. - Model Overview: Included a concise introduction to the Kandinsky 5.0 family, highlighting its capabilities in image and video generation.
- Links: Provided direct links to the official research paper, project page, and the GitHub repository.
- Sample Usage: Incorporated a Python code snippet for text-to-video inference, copied directly from the "Quickstart" section of the GitHub README, demonstrating how to use the
kandinskylibrary, which integrates withdiffusers. - Citation: Added the BibTeX entry for the Kandinsky 5.0 paper for proper academic attribution.
- Conciseness: The content has been curated to be focused and relevant for the Hugging Face Hub, directing users to the comprehensive GitHub repository for extensive details, model variations, and further examples.
This update makes the model card more informative, discoverable, and user-friendly for the community.
makovka2000 changed pull request status to merged