Run this model with HF Jobs
Run city96/Cosmos-Predict2-14B-Text2Image-gguf on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/city96/Cosmos-Predict2-14B-Text2Image-gguf. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/city96/Cosmos-Predict2-14B-Text2Image-gguf on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use city96/Cosmos-Predict2-14B-Text2Image-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use city96/Cosmos-Predict2-14B-Text2Image-gguf with Cosmos:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Diffusers
How to use city96/Cosmos-Predict2-14B-Text2Image-gguf with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("city96/Cosmos-Predict2-14B-Text2Image-gguf", 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
Upload 2 files
Browse filesFiles changed (3)
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textcosmos-predict2-14b-text2image.png filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427{ "id": "242a6140-7341-49ca-876b-c01366b39b84", "revision": 0, "last_node_id": 29, "last_link_id": 43, "nodes": [ { "id": 10, "type": "CLIPLoader", "pos": [ 0, 230 ], "size": [ 270, 106 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 34, 35 ] } ], "properties": { "Node name for S&R": "CLIPLoader" }, "widgets_values": [ "oldt5_xxl_fp16.safetensors", "cosmos", "default" ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 400, 180 ], "size": [ 400, 170 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 35 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 4 ] } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "A close-up view of a man kneading dough on a wooden countertop. The man's hands are covered in flour as he works the dough, pushing and folding it with firm movements. The background includes a rustic kitchen setting with various baking ingredients like flour, eggs, and a rolling pin. The lighting is warm and natural, highlighting the texture of the dough and the man's hands at work." ] }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 400, 390 ], "size": [ 400, 88 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 34 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 6 ] } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "jpeg compression, bad quality," ] }, { "id": 12, "type": "EmptySD3LatentImage", "pos": [ 530, 530 ], "size": [ 270, 106 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 40 ] } ], "properties": { "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 1280, 768, 1 ] }, { "id": 29, "type": "UnetLoaderGGUF", "pos": [ 380, 70 ], "size": [ 420, 60 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 43 ] } ], "properties": { "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ "gguf/cosmos-predict2-14b-text2image-BF16.gguf" ] }, { "id": 15, "type": "VAELoader", "pos": [ 850, -30 ], "size": [ 310, 60 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 17 ] } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "wan_2.1_vae.safetensors" ] }, { "id": 3, "type": "KSampler", "pos": [ 850, 70 ], "size": [ 310, 486 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 43 }, { "name": "positive", "type": "CONDITIONING", "link": 4 }, { "name": "negative", "type": "CONDITIONING", "link": 6 }, { "name": "latent_image", "type": "LATENT", "link": 40 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 7 ] } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 23, "fixed", 35, 4, "euler", "normal", 1 ] }, { "id": 8, "type": "VAEDecode", "pos": [ 1190, 70 ], "size": [ 140, 50 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 7 }, { "name": "vae", "type": "VAE", "link": 17 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 42 ] } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 28, "type": "PreviewImage", "pos": [ 1350, 70 ], "size": [ 750, 430 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 42 } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" }, "widgets_values": [] } ], "links": [ [ 4, 6, 0, 3, 1, "CONDITIONING" ], [ 6, 7, 0, 3, 2, "CONDITIONING" ], [ 7, 3, 0, 8, 0, "LATENT" ], [ 17, 15, 0, 8, 1, "VAE" ], [ 34, 10, 0, 7, 0, "CLIP" ], [ 35, 10, 0, 6, 0, "CLIP" ], [ 40, 12, 0, 3, 3, "LATENT" ], [ 42, 8, 0, 28, 0, "IMAGE" ], [ 43, 29, 0, 3, 0, "MODEL" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.9229599817706657, "offset": [ 45.13351721648357, 200.6273544912944 ] }, "frontendVersion": "1.21.7" }, "version": 0.4}.gitattributes+1
cosmos-predict2-14b-text2image.pngAdded

Large File Pointer Details
- SHA256: 1a30724e26f838ea23dbdbf28fa1aae1c00b979432dd9e626718e550ad3a6e95
- Pointer size: 133 Bytes
- Size of remote file: 10 MB
cosmos-predict2-14b-text2image_workflow.jsonAdded+427