Skip to content

micky-li-hd/CoCo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎩 CoCo: Code as CoT for Text-to-Image Preview and Rare Concept Generation

Official repository for the paper "CoCo: CoCo as CoT for Text-to-Image Preview and Rare Concept Generation".

[πŸ“– Paper] [πŸ€— Model]


πŸ’₯ News

  • [2026.3.09] We release the arxiv paper. Code is coming soon. πŸ”₯

πŸͺ„ Draft Before Generation


We propose CoCo-as-CoT (CoCo), a novel interleaved reasoning paradigm that fully leverages both textual and visual contents in CoT for better planning and verification.

Our method 🎨 first generates Python MatPlotlib Code and render by sandbox as a preview, providing more concrete and structural visual planning and guidance.

Then, we πŸ”Ž employ the model’s inherent understanding capability to verify potential semantic misalignments between the draft and input prompt, and πŸ–ΌοΈ achieve higher fidelity and stronger semantic alignment.

🧠 Related Work

Explore our additional research on Autoregressive Text-to-Image Generation and CoT Reasoning

About

CoCo: CoCo as CoT for Text-to-Image Preview and Rare Concept Generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors