Run this model with HF Jobs
Run mingyi456/Cosmos-Predict2-14B-Text2Image-DF11 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/mingyi456/Cosmos-Predict2-14B-Text2Image-DF11. 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/mingyi456/Cosmos-Predict2-14B-Text2Image-DF11 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 mingyi456/Cosmos-Predict2-14B-Text2Image-DF11 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mingyi456/Cosmos-Predict2-14B-Text2Image-DF11 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mingyi456/Cosmos-Predict2-14B-Text2Image-DF11", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload 2 files
Browse filesFiles changed (2)
- config.jsonAdded+29
- model.safetensorsAdded+3
1234567891011121314151617181920212223242526272829{
"dfloat11_config": {
"version": "0.5.0",
"threads_per_block": [
512
],
"bytes_per_thread": 8,
"pattern_dict": {
"transformer_blocks\\.\\d+": [
"norm1.linear_1",
"norm1.linear_2",
"attn1.to_q",
"attn1.to_k",
"attn1.to_v",
"attn1.to_out.0",
"norm2.linear_1",
"norm2.linear_2",
"attn2.to_q",
"attn2.to_k",
"attn2.to_v",
"attn2.to_out.0",
"norm3.linear_1",
"norm3.linear_2",
"ff.net.0.proj",
"ff.net.2"
]
}
}
}123version https://git-lfs.github.com/spec/v1oid sha256:4f88d84ee1c07bfbdcfa0cc5a61dfd8d0e7b211a1d2eda00e376f0eee9bcd8f8size 19957010423config.jsonAdded+29
model.safetensorsAdded+3