इसे छोड़कर कंटेंट पर जाएं
Invoke

CogView4

CogView4 THUDM का 6B-parameter diffusion-transformer text-to-image model है। यह अपने text encoder के रूप में एक GLM language model और एक 16-channel VAE इस्तेमाल करता है। InvokeAI base CogView4-6B checkpoint को सपोर्ट करता है। CogView4 support बुनियादी है: सामान्य जनरेशन और Canvas इमेज editing काम करते हैं, लेकिन दूसरी families के adapters और controls उपलब्ध नहीं हैं।

CogView4-6B Apache 2.0 के तहत release किया गया है, जो commercial उपयोग की अनुमति देता है। डाउनलोड gated नहीं है।

यह एक सारांश है, कानूनी सलाह नहीं। किसी model को commercially इस्तेमाल करने से पहले model के HuggingFace पेज पर पूरा license पढ़ें।

Diffusers डाउनलोड लगभग 31 GB का है, जिसमें GLM text encoder और VAE शामिल हैं। सामान्य मार्गदर्शन के लिए System Requirements देखें, और memory खत्म होने पर Low VRAM guide देखें।

Model Manager के starter models से CogView4 इंस्टॉल करें। इसका source THUDM/CogView4-6B है। इस family का कोई starter bundle नहीं है।

CogView4 सिर्फ़ Diffusers format में इंस्टॉल होता है, एक अकेले फ़ोल्डर के रूप में जिसमें transformer, GLM text encoder, tokenizer और VAE होते हैं। किसी और model की ज़रूरत नहीं है, और components को अलग-अलग बदला नहीं जा सकता। Single-file और GGUF CogView4 models पहचाने नहीं जाते।

जनरेशन सेटिंग्स

Section titled “जनरेशन सेटिंग्स”

जब आप CogView4 चुनते हैं, तो InvokeAI model के reference example के defaults लागू करता है:

सेटिंगडिफ़ॉल्ट
Steps50
CFG Scale3.5
Resolution1024 × 1024
  • CFG Scale असली classifier-free guidance लागू करता है।
  • Width और height 32 के multiples होने चाहिए।
  • Negative prompts supported हैं और हमेशा इस्तेमाल होते हैं।
  • Scheduler का कोई विकल्प नहीं। CogView4 अपना flow-matching sampler इस्तेमाल करता है, इसलिए Scheduler control छिपा रहता है।
  • Prompt weighting (Compel syntax) CogView4 पर लागू नहीं होता। देखें Prompt Syntax। GLM encoder 1024 tokens तक पढ़ता है, इसलिए लंबे, वर्णनात्मक prompts ठीक हैं।

Canvas पर, CogView4 text-to-image, image-to-image, inpainting और outpainting को सपोर्ट करता है। LoRAs, ControlNet, reference इमेज, regional guidance और PiD decoding CogView4 के लिए उपलब्ध नहीं हैं।

CogView4 nodes Main Model - CogView4, Prompt - CogView4, Denoise - CogView4, Image to Latents - CogView4 और Latents to Image - CogView4 हैं। हर prompt को अपना अलग Prompt - CogView4 node चाहिए। उन्हें denoise node के positive और negative conditioning inputs से जोड़ें। दोनों ज़रूरी हैं।