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
Rename cosmos-predict2-14b-text2image.png to media/cosmos-predict2-14b-text2image.png
Browse filesFiles changed (2)
33 unmodified lines3435363733 unmodified lines*.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 -textmedia/cosmos-predict2-14b-text2image.png filter=lfs diff=lfs merge=lfs -text.gitattributes+1
cosmos-predict2-14b-text2image.png → media/cosmos-predict2-14b-text2image.pngRenamed

Large File Pointer Details
- SHA256: 1a30724e26f838ea23dbdbf28fa1aae1c00b979432dd9e626718e550ad3a6e95
- Pointer size: 133 Bytes
- Size of remote file: 10 MB

Large File Pointer Details
- SHA256: 1a30724e26f838ea23dbdbf28fa1aae1c00b979432dd9e626718e550ad3a6e95
- Pointer size: 133 Bytes
- Size of remote file: 10 MB