Kolors
Kolors is a large-scale text-to-image generation model based on latent diffusion, developed by the Kuaishou Kolors team. Trained on billions of text-image pairs, Kolors exhibits significant advantages over both...
Source du modèle
- Type
- Other
- Taille du fichier
- 160 MB–9,61 GB
- Version
- vmain
- Mis à jour
- 30 sept. 2026
- Téléchargements
- 894
- Tâches
- Texte en image
- Source
- Hugging Face
Extrait de la source
Kolors is a large-scale text-to-image generation model based on latent diffusion, developed by the Kuaishou Kolors team. Trained on billions of text-image pairs, Kolors exhibits significant advantages over both...
Ressources connexes
4 connexions
Ressources connexes
4 connexionsSources
1 source
Sources
1 sourceDownload files
Artefacts du modèle
13 artefacts
Artefacts du modèle
13 artefactstext_encoder/pytorch_model-00001-of-00007.bin
bin · 1,70 GB · SHA-256 b6a6388dae55…ab05 · Hugging Face
Download shardtext_encoder/pytorch_model-00002-of-00007.bin
bin · 1,83 GB · SHA-256 2f96bef324ac…a6ac · Hugging Face
Download shardtext_encoder/pytorch_model-00003-of-00007.bin
bin · 1,80 GB · SHA-256 240010125521…b27e · Hugging Face
Download shardtext_encoder/pytorch_model-00004-of-00007.bin
bin · 1,69 GB · SHA-256 472567c1b0e4…037d · Hugging Face
Download shardtext_encoder/pytorch_model-00005-of-00007.bin
bin · 1,83 GB · SHA-256 ef2aea78fa38…e2b9 · Hugging Face
Download shardtext_encoder/pytorch_model-00006-of-00007.bin
bin · 1,80 GB · SHA-256 35191adf21a1…526f · Hugging Face
Download shardtext_encoder/pytorch_model-00007-of-00007.bin
bin · 1 004 MB · SHA-256 b7cdaa9b8ed1…9261 · Hugging Face
Download shardunet/diffusion_pytorch_model.fp16.safetensors
safetensors · FP16 (unverified) · 4,80 GB · SHA-256 425ff1dcbe3a…966c · Hugging Face
Download fileunet/diffusion_pytorch_model.safetensors
safetensors · 9,61 GB · SHA-256 31b49ec528d5…fb4f · Hugging Face
Download filevae/diffusion_pytorch_model.fp16.bin
bin · 160 MB · SHA-256 2ce744db8ec4…05ce · Hugging Face
Download filevae/diffusion_pytorch_model.fp16.safetensors
safetensors · FP16 (tensor header) · 160 MB · SHA-256 bcb60880a46b…1e68 · Hugging Face
Download filevae/diffusion_pytorch_model.safetensors
safetensors · 319 MB · SHA-256 1598f3d24932…2341 · Hugging Face
Download fileExtraits de sources
3 extraits
Extraits de sources
3 extraits--- license: apache-2.0 language: - zh - en tags: - text-to-image - stable-diffusion - kolors --- # Kolors: Effective Training of Diffusion Model for Photorealistic Text-to-Image Synthesis <div align="center" style="display: flex; justify-content: center; flex-wrap: wrap;"> <a href="https://github.com/Kwai-Kolors/Kolors"><img src="https://img.shields.io/static/v1?label=Kolors Code&message=Github&color=blue&logo=github-pages"></a>   <a href="https://kwai-kolors.github.io/"><img src="https://img.shields.io/static/v1?label=Team%20Page&message=Page&color=green"></a>   <a href="https://github.com/Kwai-Kolors/Kolors/blob/master/imgs/Kolors_paper.pdf"><img src="https://img.shields.io/static/v1?label=Tech Report&message=Arxiv:Kolors&color=red&logo=arxiv"></a>   <a href="https://kolors.kuaishou.com/"><img src="https://img.shields.io/static/v1?label=Official Website&message=Page&color=green"></a> </div> <figure> <img src="imgs/head_final3.png"> </figure> <br> ## 📖 Introduction Kolors is a large-scale text-to-image generation model based on latent diffusion, developed by the Kuaishou Kolors team. Trained on billions of text-image pairs, Kolors exhibits significant advantages over both open-source and proprietary models in visual quality, complex semantic accuracy, and text rendering for both Chinese and English characters. Furthermore, Kolors supports both Chinese and English inputs, demonstrating strong performance in understanding and generating Chinese-specific content. For more details, please refer to this <a href="https://github.com/Kwai-Kolors/Kolors/blob/master/imgs/Kolors_paper.pdf">technical report</a></b>. ## 🚀 Quick Start ### Requirements * Python 3.8 or later * PyTorch 1.13.1 or later * Transformers 4.26.1 or later * Recommended: CUDA 11.7 or later <br> 1. Repository cloning and dependency installation ```bash apt-get install git-lfs git clone https://github.com/Kwai-Kolors/Kolors cd Kolors conda create --name kolors python=3.8 conda activate kolors pip install -r requirements.txt python3 setup.py install ``` 2. Weights download([link](https://huggingface.co/Kwai-Kolors/Kolors)): ```bash huggingface-cli download --resume-download Kwai-Kolors/Kolors --local-dir weights/Kolors ``` or ```bash git lfs clone https://huggingface.co/Kwai-Kolors/Kolors weights/Kolors ``` 3. Inference: ```bash python3 scripts/sample.py "一张瓢虫的照片,微距...
Source context: 894 downloads · 862 likes · Pipeline text-to-image · Library diffusers · Repo Kwai-Kolors/Kolors
Source context: 890 downloads · 862 likes · Pipeline text-to-image · Library diffusers · Repo Kwai-Kolors/Kolors
