Instructions to use nvidia/Cosmos3-Super-Text2Image-4Step with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use nvidia/Cosmos3-Super-Text2Image-4Step 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
- Notebooks
- Google Colab
- Kaggle
Commit ·
6319a87
0
Parent(s):
Initial release
Browse filesCo-authored-by: rickznv <rickznv@users.noreply.huggingface.co>
Co-authored-by: fsergiy <fsergiy@users.noreply.huggingface.co>
Co-authored-by: qianlim <qianlim@users.noreply.huggingface.co>
Co-authored-by: yaoxuhf <yaoxuhf@users.noreply.huggingface.co>
Co-authored-by: yzhautouskay <yzhautouskay@users.noreply.huggingface.co>
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +40 -0
- BIAS.md +11 -0
- EXPLAINABILITY.md +16 -0
- PRIVACY.md +6 -0
- README.md +507 -0
- SAFETY.md +11 -0
- assets/benchmark-text2image.png +3 -0
- assets/example_caption.json +88 -0
- assets/example_image.png +3 -0
- assets/original_prompt.txt +1 -0
- chat_template.json +3 -0
- checkpoint.json +5 -0
- config.json +267 -0
- generation_config.json +14 -0
- images/aa-t2i-all-models-2026-07-17.png +3 -0
- images/aa-t2i-open-models-2026-07-17.png +3 -0
- merges.txt +0 -0
- model.safetensors.index.json +0 -0
- model_index.json +28 -0
- modular_model_index.json +77 -0
- preprocessor_config.json +21 -0
- scheduler/scheduler_config.json +28 -0
- scripts/gen_image.py +67 -0
- sound_tokenizer/config.json +67 -0
- sound_tokenizer/diffusion_pytorch_model.safetensors +3 -0
- text_tokenizer/added_tokens.json +28 -0
- text_tokenizer/chat_template.jinja +120 -0
- text_tokenizer/merges.txt +0 -0
- text_tokenizer/special_tokens_map.json +31 -0
- text_tokenizer/tokenizer.json +3 -0
- text_tokenizer/tokenizer_config.json +239 -0
- text_tokenizer/vocab.json +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +239 -0
- transformer/config.json +43 -0
- transformer/diffusion_pytorch_model-00001-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00002-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00003-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00004-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00005-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00006-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00007-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00008-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00009-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00010-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00011-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00012-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00013-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00014-of-00027.safetensors +3 -0
- transformer/diffusion_pytorch_model-00015-of-00027.safetensors +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
text_tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/example_image.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
images/aa-t2i-all-models-2026-07-17.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
images/aa-t2i-open-models-2026-07-17.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
assets/benchmark-text2image.png filter=lfs diff=lfs merge=lfs -text
|
BIAS.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Bias
|
| 2 |
+
|
| 3 |
+
| Field | Response |
|
| 4 |
+
| :---- | :---- |
|
| 5 |
+
| Participation considerations from adversely impacted groups [protected classes](https://www.senate.ca.gov/content/protected-classes) in model design and testing | None. |
|
| 6 |
+
| Measures taken to mitigate against unwanted bias | Training, evaluation, and testing data are curated before release to filter restricted content, including content relating to protected classes. Model behavior is evaluated across Physical AI domains — robotics, autonomous vehicles, human-centric scenes, common scenes, industry, miscellaneous, and physics-oriented benchmarks — with attention to coverage across diverse demographic and contextual characteristics that affect protected-class outcomes. |
|
| 7 |
+
| Which characteristic (feature) show(s) the greatest difference in performance?: | Greatest performance differences are observed in tasks requiring long-horizon temporal consistency, fine-grained physical interactions, and embodiment-specific action generation. Performance is generally stronger on common visual reasoning and world-generation tasks than on complex multi-agent, robotics-control, or tightly synchronized multimodal generation scenarios. |
|
| 8 |
+
| Which feature(s) have the worst performance overall? | Performance is generally weakest in tasks requiring long-horizon temporal consistency, precise physical interactions, embodiment-specific action control, and strict audio-visual synchronization. |
|
| 9 |
+
| If using internal data, description of methods implemented in data acquisition or processing, if any, to address the prevalence of identifiable biases in the training, testing, and validation data: | Bias-specific methods applied during data processing include person-presence screening, demographic-taxonomy classification (age, gender, ethnicity), embedding-based diversity analysis, and dataset balancing across sources. Internal analysis surfaced: non-person scenes are more prevalent than person-centric content; demographic-taxonomy outputs on person-present samples are most frequently "uncertain" across age, gender, and ethnicity dimensions; and source-type variation, with people-centric image and video datasets showing higher demographic signal than document-, object-, robotics-, or scene-focused datasets. *(Quantitative details in the row below.)* Downstream deployments should add bias audits, fairness evaluation, red-teaming, demographically balanced fine-tuning, or counterfactual augmentation as mitigations. |
|
| 10 |
+
| Tools used to assess statistical imbalances and highlight patterns that may introduce bias into AI models: | Dataset analytics pipelines, metadata distribution analysis, heuristic quality checks, embedding-based clustering, model-assisted filtering systems, and benchmark evaluation suites are used to assess statistical imbalances and identify patterns that may introduce bias into model behavior. |
|
| 11 |
+
| Tools used to assess statistical imbalances and highlight patterns that may introduce bias into AI models: | These datasets, such as OpenImages-derived detection-to-NLP datasets, visual grounding and VQA datasets, document/image understanding datasets, video/action understanding datasets, and NVIDIA-created or curated visual datasets, do not collectively or exhaustively represent all demographic groups (and proportionally therein). For instance, automated person-presence screening did not identify a person in approximately 58% of visual samples analyzed across approximately 400 datasets, while person-present signals were identified in approximately 42% of analyzed samples. In the subset where person-present signals were identified, these datasets contain uneven representation splits across the measured visual taxonomies: age outputs were most frequently uncertain, followed by child and adult; gender outputs were most frequently uncertain, followed by male and female; and ethnicity outputs were most frequently uncertain, followed by Hispanic and White as the most frequent identified categories. Dataset-level results vary by source type, with people-centric image and video datasets containing higher person-present and demographic-taxonomy signals than document-, object-, robotics-, or scene-focused datasets. To mitigate these imbalances, we recommend considering evaluation techniques such as bias audits, task-specific fairness evaluation, and red-teaming, along with fine-tuning with demographically balanced datasets and counterfactual data augmentation to align with the desired model behavior. This evaluation used a baseline of 200 samples across all datasets, with larger subsets of up to 3,000 samples utilized for certain in-depth analyses, identified as optimal thresholds for maximizing embedder accuracy. |
|
EXPLAINABILITY.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Explainability
|
| 2 |
+
|
| 3 |
+
| Field | Response |
|
| 4 |
+
| :---- | :---- |
|
| 5 |
+
| Intended Application & Domain | World reasoning and generation for Physical AI. |
|
| 6 |
+
| Model Type | Mixture-of-Transformers architecture with two towers. One is an autoregressive model for Physical AI reasoning; the other is a diffusion model for Physical AI generation. |
|
| 7 |
+
| Intended Users | Physical AI developers, researchers, and practitioners building or evaluating autonomous vehicle, robotics, and world-generation workflows. |
|
| 8 |
+
| Output | Images, videos, audio, and action commands. |
|
| 9 |
+
| Tools used to evaluate datasets to identify synthetic data and ensure data authenticity. | Dataset provenance analysis, metadata validation, watermark and artifact detection, embedding-based clustering, heuristic quality checks, and model-assisted data validation pipelines are used to identify synthetic content patterns, assess dataset authenticity, and improve data quality during dataset curation. |
|
| 10 |
+
| Describe how the model works | Cosmos3 is an Omni world foundation model that generates texts, images, videos, audio, and action commands from combinations of text, images, videos, and action trajectory inputs. Input tokens from multiple modalities are packed into a shared sequence and processed by our mixture-of-transformer backbone with modality-specific output heads. |
|
| 11 |
+
| Name the adversely impacted groups this has been tested to deliver comparable outcomes regardless of: | None. |
|
| 12 |
+
| Technical Limitations | The model may not follow text, image, video, audio, or action trajectory inputs accurately in challenging cases, especially where the input contains complex scene composition, unusual camera motion, multiple interacting agents, low lighting, high motion blur, or fine-grained physical interactions. Generated outputs may contain temporal inconsistency, object morphing, inaccurate 3D structure, or implausible physical dynamics. Generated audio may not accurately render intelligible speech, or maintain strict temporal and semantic alignment with the visual context. |
|
| 13 |
+
| Verified to have met prescribed NVIDIA quality standards | Yes. |
|
| 14 |
+
| Performance Metrics | Video generation is measured using PAIBench-G, RBench, PhysicsIQ, and Artifical Analysis Image2Video benchmark. Image generation uses UniGenBench and Artifical Analysis Text2Image benchmark. For transfer evaluation, we use PAIBench-C and AVBench-C. Audio generation uses internal benchmarks. Action prediction uses metrics such as action MSE, Absolute Translation Error, Relative Translation Error, Relative Rotation Error, PSNR, and robotic task completion success rate. |
|
| 15 |
+
| Potential Known Risks | This model can generate synthetic media and may produce content that is offensive, unsafe, misleading, indecent, or unsuitable for a target deployment. Users should implement robust safety guardrails — including content filtering, abuse monitoring, and access controls — to reduce the risk of harmful outputs. Users are responsible for ensuring that their use of the model complies with all applicable laws and regulations, and for regularly reviewing and updating their guardrails as risks evolve. |
|
| 16 |
+
| Licensing | [OpenMDW1.1](https://openmdw.ai/) |
|
PRIVACY.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Privacy
|
| 2 |
+
| Privacy Information |
|
| 3 |
+
|---|
|
| 4 |
+
| The model was trained on large-scale publicly available data that may contain images, audio-video, and text relating to people. NVIDIA collected and used this data in compliance with applicable data protection and privacy laws. This model was not designed to derive insights or otherwise learn from any personal data contained in the datasets. |
|
| 5 |
+
| NVIDIA uses a combination of filters, data minimization techniques, and other guardrails to help prevent personal data from being recited by our models. We employ automated tools and data processing techniques during pre-training or training to identify and filter certain categories of personal data. For example, for text-bearing source and document components, our automated tools identified potential personal data such as person names, locations, and possible business or public-facing contact information such as email addresses and phone numbers. We reviewed and removed any verified instances of personal data through a combination of automated filtering and human-in-the-loop validation. |
|
| 6 |
+
| Please review NVIDIA's [Privacy Policy](https://www.nvidia.com/en-us/about-nvidia/privacy-policy/) for more information. |
|
README.md
ADDED
|
@@ -0,0 +1,507 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: openmdw1.1-license
|
| 4 |
+
license_link: >-
|
| 5 |
+
https://openmdw.ai/license/1-1/
|
| 6 |
+
library_name: cosmos
|
| 7 |
+
tags:
|
| 8 |
+
- nvidia
|
| 9 |
+
- cosmos
|
| 10 |
+
- cosmos3
|
| 11 |
+
- vllm-omni
|
| 12 |
+
- text-to-image
|
| 13 |
+
- image-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# **Cosmos 3: Omnimodal World Models for Physical AI**
|
| 17 |
+
**[Model Collection](https://huggingface.co/collections/nvidia/cosmos3)** | **[Code](https://github.com/nvidia/cosmos)** | **[White Paper](https://research.nvidia.com/labs/cosmos-lab/cosmos3/technical-report.pdf)** | **[Website](https://research.nvidia.com/labs/cosmos-lab/cosmos3/)**
|
| 18 |
+
|
| 19 |
+
[NVIDIA Cosmos™](https://github.com/nvidia/cosmos) is a world foundation model platform designed to accelerate the development of Physical AI by enabling machines to understand, simulate, and interact with the physical world across robotics, autonomous driving, and smart space environments, including industrial and factory-scale applications.
|
| 20 |
+
|
| 21 |
+
# Model Overview: Cosmos3-Super-Text2Image-4Step
|
| 22 |
+
|
| 23 |
+
## Description
|
| 24 |
+
|
| 25 |
+
Cosmos3 is a collection of Omnimodal world models capable of generating dynamic, high-quality video, image, audio, and action commands from combinations of text, image, video, and action trajectory inputs. It serves as a foundational building block for a broad range of Physical AI applications and research spanning world understanding, world generation, simulation, and embodied policy learning.
|
| 26 |
+
|
| 27 |
+
This model is ready for commercial and non-commercial use.
|
| 28 |
+
|
| 29 |
+
**Model Developer:** NVIDIA
|
| 30 |
+
|
| 31 |
+
### Model Versions
|
| 32 |
+
|
| 33 |
+
**Released on: 07/20/2026**
|
| 34 |
+
- Cosmos3-Edge:
|
| 35 |
+
- Given multimodal inputs including text, images, video, and action trajectories, generate coherent text, images, video, and action outputs for multimodal understanding, world simulation, future prediction, action reasoning, and Physical AI applications.
|
| 36 |
+
|
| 37 |
+
- Cosmos3-Edge-Policy-DROID:
|
| 38 |
+
- Given language instructions and visual observations from the DROID robot platform, generate robot action trajectories for manipulation and control tasks.
|
| 39 |
+
|
| 40 |
+
- Cosmos3-Super-Image2Video-4Step:
|
| 41 |
+
- Given one or more input images and optional text instructions, generate temporally coherent video sequences that are consistent with the provided visual content. Distilled from Cosmos3-Super-Image2Video using [Improved Distribution Matching Distillation (DMD2)](https://arxiv.org/abs/2405.14867), enabling high-quality generation in 4 steps.
|
| 42 |
+
|
| 43 |
+
- Cosmos3-Super-Text2Image-4Step:
|
| 44 |
+
- Given text input, generate high-fidelity images that are consistent with the provided description. Distilled from Cosmos3-Super-Text2Image using [Improved Distribution Matching Distillation (DMD2)](https://arxiv.org/abs/2405.14867), enabling high-quality generation in 4 steps.
|
| 45 |
+
|
| 46 |
+
**Released on: 05/31/2026**
|
| 47 |
+
- Cosmos3-Nano:
|
| 48 |
+
- Given multimodal inputs including text, images, video, audio, and action trajectories, generate coherent text, images, video, audio, and action outputs for multimodal understanding, world simulation, future prediction, action reasoning, and Physical AI applications.
|
| 49 |
+
|
| 50 |
+
- Cosmos3-Super:
|
| 51 |
+
- Given multimodal inputs including text, images, video, audio, and action trajectories, generate coherent text, images, video, audio, and action outputs for multimodal understanding, world simulation, future prediction, action reasoning, and Physical AI applications.
|
| 52 |
+
|
| 53 |
+
- Cosmos3-Nano-Policy-DROID:
|
| 54 |
+
- Given language instructions and visual observations from the DROID robot platform, generate robot action trajectories for manipulation and control tasks.
|
| 55 |
+
|
| 56 |
+
- Cosmos3-Super-Image2Video:
|
| 57 |
+
- Given one or more input images and optional text instructions, generate temporally coherent video sequences that are consistent with the provided visual content.
|
| 58 |
+
|
| 59 |
+
- Cosmos3-Super-Text2Image:
|
| 60 |
+
- Given text input, generate high-fidelity images that are consistent with the provided description.
|
| 61 |
+
|
| 62 |
+
### License
|
| 63 |
+
|
| 64 |
+
This model is released under the [OpenMDW1.1](https://openmdw.ai/license/1-1/)
|
| 65 |
+
|
| 66 |
+
### Deployment Geography
|
| 67 |
+
|
| 68 |
+
Global
|
| 69 |
+
|
| 70 |
+
### Use Case
|
| 71 |
+
|
| 72 |
+
Physical AI: Encompassing robotics, autonomous vehicles (AV), and smart space environments, including industrial and factory-scale applications.
|
| 73 |
+
|
| 74 |
+
### Release Date
|
| 75 |
+
|
| 76 |
+
Hugging Face 07/20/2026 via [https://huggingface.co/collections/nvidia/cosmos3](https://huggingface.co/collections/nvidia/cosmos3).
|
| 77 |
+
GitHub 07/20/2026 via [https://github.com/nvidia/cosmos](https://github.com/nvidia/cosmos).
|
| 78 |
+
|
| 79 |
+
## Model Architecture
|
| 80 |
+
|
| 81 |
+
**Architecture Type:** Transformer
|
| 82 |
+
|
| 83 |
+
**Network Architecture:** Mixture-of-Transformers (MoT)
|
| 84 |
+
|
| 85 |
+
Cosmos3 is an Omni-modal foundation model built on a Mixture-of-Transformers (MoT) architecture consisting of two complementary transformer towers: an autoregressive transformer for discrete token generation and a diffusion transformer for continuous multimodal generation. During inference, text is generated through standard next-token autoregressive decoding, while non-text modalities, such as images, video, audio, and actions, are synthesized through iterative denoising. This unified architecture enables Cosmos3 to model heterogeneous modalities within a single framework while preserving generation mechanisms best suited to each modality.
|
| 86 |
+
|
| 87 |
+
**This model was developed based on:** [Cosmos Framework](https://github.com/nvidia/cosmos-framework)
|
| 88 |
+
|
| 89 |
+
**Number of trainable model parameters:**
|
| 90 |
+
|
| 91 |
+
**Released on: 07/20/2026**
|
| 92 |
+
- Cosmos3-Edge: 4B
|
| 93 |
+
- Cosmos3-Edge-Policy-DROID: 4B
|
| 94 |
+
- Cosmos3-Super-Image2Video-4Step: 64B
|
| 95 |
+
- Cosmos3-Super-Text2Image-4Step: 64B
|
| 96 |
+
|
| 97 |
+
**Released on: 05/31/2026**
|
| 98 |
+
- Cosmos3-Nano: 16B
|
| 99 |
+
- Cosmos3-Super: 64B
|
| 100 |
+
- Cosmos3-Nano-Policy-DROID: 16B
|
| 101 |
+
- Cosmos3-Super-Image2Video: 64B
|
| 102 |
+
- Cosmos3-Super-Text2Image: 64B
|
| 103 |
+
|
| 104 |
+
## Input/Output Specifications
|
| 105 |
+
|
| 106 |
+
- **Generator Input**
|
| 107 |
+
- **Input Type(s)**: Text, Image, Video (with audio or without audio), Action Trajectory
|
| 108 |
+
- **Input Format(s)**:
|
| 109 |
+
- Text: String
|
| 110 |
+
- Image: jpg, png, jpeg, webp
|
| 111 |
+
- Video (with or without audio): mp4
|
| 112 |
+
- Action: json (1D list)
|
| 113 |
+
- **Input Parameters**:
|
| 114 |
+
- Text: One-dimensional (1D)
|
| 115 |
+
- Image: Two-dimensional (2D)
|
| 116 |
+
- Video: Three-dimensional (3D)
|
| 117 |
+
- Audio: One-dimensional (1D)
|
| 118 |
+
- Action trajectory: One-dimensional (1D)
|
| 119 |
+
- **Other Properties Related to Input**:
|
| 120 |
+
- For video inputs, we accept various resolutions, including 720p, 480p, and 256p.
|
| 121 |
+
- When using input video with audio muxed into the video MP4 file, the audio should have 2 channels (stereo) and a 48 kHz sample rate.
|
| 122 |
+
- Image and video inputs are RGB color (8 bits per channel, sRGB color space); grayscale inputs are not supported.
|
| 123 |
+
- Action input is a per-frame sequence of robot/agent state or control values (e.g., joint positions, gripper state, camera pose). The full input is a 2D array shaped (T, D), where T is the number of frames and D is the embodiment-specific dimensionality listed below.
|
| 124 |
+
- Input action is only supported for compatible embodiments, including general camera motion (9D), autonomous vehicle (9D), egocentric motion (57D), single Franka Panda arm with RobotiQ gripper (10D), dual Franka Panda arm with RobotiQ gripper (20D), Agibot (29D), UR (10D), Google robot (10D), WidowX 250 (10D), UMI (9D).
|
| 125 |
+
- **Input Size and Length limits:**
|
| 126 |
+
- **Text:** 4096 tokens
|
| 127 |
+
- **Image:** 256p, 480p, and 720p resolution at one of these aspect ratios (16:9, 4:3, 1:1, 3:4, 9:16)
|
| 128 |
+
- **Video:** 256p, 480p, and 720p resolution at one of these aspect ratios (16:9, 4:3, 1:1, 3:4, 9:16). Max number of frames = 5.
|
| 129 |
+
- **Audio:** Max 0.5 second
|
| 130 |
+
- **Action:** 16 – 400 video frames
|
| 131 |
+
- **Generator Output**
|
| 132 |
+
- **Output Type(s)**: Image, video, audio, action, text
|
| 133 |
+
- **Output Format(s)**:
|
| 134 |
+
- Image: JPG
|
| 135 |
+
- Video: MP4
|
| 136 |
+
- Audio: Advanced Audio Coding (AAC) stream (muxed within the MP4)
|
| 137 |
+
- Action: 1D list (.json)
|
| 138 |
+
- Text: string
|
| 139 |
+
- **Output Parameters**:
|
| 140 |
+
- Image: Two-dimensional (2D)
|
| 141 |
+
- Video: Three-dimensional (3D)
|
| 142 |
+
- Audio: One-dimensional (1D)
|
| 143 |
+
- Action: One-dimensional (1D)
|
| 144 |
+
- Text: One-dimensional (1D)
|
| 145 |
+
- **Other Properties Related to Output**:
|
| 146 |
+
- The generated video is an MP4 file, with the resolution, frame rate, and duration specified in the input. The generated audio is encoded in AAC format, muxed into the video MP4 file with 2 channels (stereo) and a 48 kHz sample rate.
|
| 147 |
+
- Video generation supports durations from 5 to 400 frames, with 189 frames as the default generation duration.
|
| 148 |
+
- The generated action is only supported for compatible embodiments, including general camera motion (9D), autonomous vehicle (9D), egocentric motion (57D), single Franka Panda arm with RobotiQ gripper (10D), dual Franka Panda arm with RobotiQ gripper (20D), Agibot (29D), UR (10D), Google robot (10D), WidowX 250 (10D), UMI (9D).
|
| 149 |
+
- Audio: 48 kHz stereo AAC stream muxed into video mp4
|
| 150 |
+
- Video: mp4 at the FPS specified in input
|
| 151 |
+
- Image: JPEG
|
| 152 |
+
- **Reasoner Input**
|
| 153 |
+
- **Input Type(s)**: Text, Text+Image, Text+Video
|
| 154 |
+
- **Input Format(s)**:
|
| 155 |
+
- Text: String
|
| 156 |
+
- Image: jpg, png, jpeg, webp
|
| 157 |
+
- Video: mp4
|
| 158 |
+
- **Input Parameters**:
|
| 159 |
+
- Text: One-dimensional (1D)
|
| 160 |
+
- Image: Two-dimensional (2D)
|
| 161 |
+
- Video: Three-dimensional (3D)
|
| 162 |
+
- **Other Properties Related to Input**:
|
| 163 |
+
- Video inputs are recommended at a frame rate of 4 fps.
|
| 164 |
+
- Long-context inputs supported up to 256K tokens.
|
| 165 |
+
- **Input Size and Length limits:**
|
| 166 |
+
- **Text:** Up to 256K tokens (context window).
|
| 167 |
+
- **Image:** Standard input image formats; passed as file or URL.
|
| 168 |
+
- **Video:** mp4 at the recommended 4 fps.
|
| 169 |
+
- **Reasoner Output**
|
| 170 |
+
- **Output Type(s)**: Text
|
| 171 |
+
- **Output Format(s)**:
|
| 172 |
+
- Text: string
|
| 173 |
+
- **Output Parameters**:
|
| 174 |
+
- Text: One-dimensional (1D)
|
| 175 |
+
- **Other Properties Related to Output**:
|
| 176 |
+
- Default `max_tokens=4096+` is recommended for reasoning outputs; longer outputs may be requested.
|
| 177 |
+
- Reasoning outputs may include structured chain-of-thought, 2D/3D point localization, and bounding-box coordinates for vision-based tasks.
|
| 178 |
+
|
| 179 |
+
The video content visualizes the input text description as a short animated scene, capturing key elements within the specified time constraints.
|
| 180 |
+
|
| 181 |
+
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g., GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.
|
| 182 |
+
|
| 183 |
+
## Software Integration
|
| 184 |
+
|
| 185 |
+
**Runtime Engine(s):**
|
| 186 |
+
|
| 187 |
+
- [PyTorch](https://github.com/nvidia/cosmos3)
|
| 188 |
+
- [vLLM-Omni](https://github.com/vllm-project/vllm-omni)
|
| 189 |
+
|
| 190 |
+
**Supported Hardware Microarchitecture Compatibility:**
|
| 191 |
+
|
| 192 |
+
- NVIDIA Ampere
|
| 193 |
+
- NVIDIA Blackwell
|
| 194 |
+
- NVIDIA Hopper
|
| 195 |
+
|
| 196 |
+
**Operating System(s):**
|
| 197 |
+
|
| 198 |
+
- Linux (We have not tested on other operating systems.)
|
| 199 |
+
|
| 200 |
+
**Note:** Only BF16 precision is tested. Other precisions like FP4, FP8, and FP16 are not officially supported.
|
| 201 |
+
|
| 202 |
+
The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.
|
| 203 |
+
|
| 204 |
+
## Training, Testing, and Evaluation Datasets
|
| 205 |
+
|
| 206 |
+
### Dataset Overview
|
| 207 |
+
|
| 208 |
+
- **Total Size:** 1.3B data points
|
| 209 |
+
- **Total Number of Datasets:** 393 dataset entries
|
| 210 |
+
- **Dataset partition:** Training [100%], Testing [N/A — evaluation benchmarks used separately], Validation [N/A — evaluation benchmarks used separately]
|
| 211 |
+
- **Time period for training data collection:** 2024–2026
|
| 212 |
+
- **Time period for testing data collection:** N/A (standard public benchmarks)
|
| 213 |
+
- **Time period for validation data collection:** N/A (standard public benchmarks)
|
| 214 |
+
|
| 215 |
+
Raw data from internal and external sources is transformed into training-ready data through multiple stages of curation, filtering, and quality review. Data acquisition spans diverse multimodal sources — robotics, autonomous driving, industrial environments, indoor and outdoor scenes, varied lighting and weather conditions, camera viewpoints, object categories, and human activities — to broaden coverage across Physical AI operating environments. Automated filtering pipelines remove corrupted, duplicate, low-quality, and restricted content. Metadata analysis, heuristic rules, and model-assisted classifiers are applied during preprocessing to flag anomalous distributions and low-diversity subsets. Human review supplements automated filtering for selected datasets, benchmark construction, and targeted quality analysis. Datasets are balanced across modalities and task categories — visual reasoning, text-to-image, text-to-video, image-to-video, audio generation, video transfer, action-conditioned generation, and action command generation — to reduce overrepresentation of narrow domains. Synthetic and simulation-based augmentation supplements coverage of rare physical interactions and edge-case scenarios. Deduplication and provenance tracking are applied across the corpus. The resulting processed data is converted into model-ready tokenized or encoded representations through modality-specific preprocessors before training begins.
|
| 216 |
+
|
| 217 |
+
Training datasets passed through multiple layers of automated and manual safeguards designed to reduce the presence of harmful or policy-violating content across categories including weapons and weapons-related instructional content, criminal planning, child sexual abuse material (CSAM), non-consensual intimate imagery (NCII), sexual content involving minors, harassment, hate speech, profanity, threats and incitement to violence, self-harm or suicide-related content, and graphic violence. Data sources are reviewed for licensing compatibility, provenance, and alignment with internal data governance and safety policies before admission into training corpora. Automated filtering pipelines combine multiple detection strategies: hash-matching against known CSAM and NCII reference databases; classifier-based moderation models trained for explicit sexual content, hate speech, violence, weapons imagery, and other restricted categories; keyword and regex-based screening for criminal-planning, threats, and self-harm phrases in text data; metadata and provenance heuristics for source-level risk signals; and embedding-based anomaly detection to surface samples that fall outside expected distributions. Human review and targeted audits supplement automated filtering for selected datasets, benchmark construction, and safety-sensitive evaluation. For multimodal Physical AI data (robotics, autonomous driving, industrial scenes), additional filtering targets invalid action trajectories, physically implausible interactions, and unsafe control sequences. Synthetic and simulation-generated data are evaluated through internal validation before inclusion. Benchmark evaluations and red-team testing are applied post-training to surface remaining safety gaps across world generation, reasoning, audio, and action tasks. No large-scale data-filtering process can guarantee complete removal of all harmful content; residual risks may remain, particularly in rare edge cases or open-world deployment settings. Ongoing monitoring and dataset review continue post-release.
|
| 218 |
+
|
| 219 |
+
**Data Modality and Training Data Size**
|
| 220 |
+
|
| 221 |
+
| Modality | Reasoning Data Sample Count | Generation Data Sample Count |
|
| 222 |
+
| -------- | ------------------- | -------------------- |
|
| 223 |
+
| Text | 22M | Not Applicable |
|
| 224 |
+
| Image | 19M | 767M |
|
| 225 |
+
| Video | 1M | 348M |
|
| 226 |
+
| Audio | Not Applicable | 139M |
|
| 227 |
+
| Action | Not Applicable | 7M |
|
| 228 |
+
|
| 229 |
+
**Data Collection Method by dataset**
|
| 230 |
+
|
| 231 |
+
- Hybrid: Automatic/Sensors, Synthetic, Automated
|
| 232 |
+
|
| 233 |
+
**Labeling Method by dataset**
|
| 234 |
+
|
| 235 |
+
- Hybrid: Human, Automated
|
| 236 |
+
|
| 237 |
+
**Properties:** The training, testing, and evaluation datasets consist of diverse multimodal video, image, audio, action, synthetic, and sensor-conditioned data sourced from NVIDIA-owned data and publicly available, commercially permissive datasets. These datasets are curated to exclude known restricted content and to support building an Omni model that learns to generate and reason about dynamic physical environments across world reasoning and generation tasks.
|
| 238 |
+
|
| 239 |
+
### Public Datasets
|
| 240 |
+
|
| 241 |
+
| Dataset | Samples |
|
| 242 |
+
|---------------------------|-------------|
|
| 243 |
+
| OpenImage | 1.2M |
|
| 244 |
+
| Coyo700M | 100M |
|
| 245 |
+
| YouTube Video | 340M |
|
| 246 |
+
| UMI | 4.5M |
|
| 247 |
+
|
| 248 |
+
### Private Datasets
|
| 249 |
+
|
| 250 |
+
| Dataset | Samples |
|
| 251 |
+
|---------------------------|-------------|
|
| 252 |
+
| Egocentric | 7M |
|
| 253 |
+
| Nexar | 0.6M |
|
| 254 |
+
| AgiBot | 0.2M |
|
| 255 |
+
| HOI | 0.3M |
|
| 256 |
+
|
| 257 |
+
### Synthetic Datasets
|
| 258 |
+
|
| 259 |
+
| Dataset | Samples |
|
| 260 |
+
|-----------------------------------------|-------------|
|
| 261 |
+
| synthetic images generated using HiDream-I1 | 15M |
|
| 262 |
+
| synthetic images generated using Qwen-Image-2512 | 14M |
|
| 263 |
+
| synthetic captions generated using Qwen3-VL | 1115M |
|
| 264 |
+
|
| 265 |
+
## Evaluation Datasets
|
| 266 |
+
|
| 267 |
+
**Data Collection Method by dataset**
|
| 268 |
+
|
| 269 |
+
- Hybrid: Automatic/Sensors, Synthetic, Automated
|
| 270 |
+
|
| 271 |
+
**Labeling Method by dataset**
|
| 272 |
+
|
| 273 |
+
- Hybrid: Human, Automated
|
| 274 |
+
|
| 275 |
+
**Properties:** The training, testing, and evaluation datasets consist of diverse multimodal video, image, audio, action, synthetic, and sensor-conditioned data sourced from NVIDIA-owned data and publicly available, commercially permissive datasets. These datasets are curated to exclude known restricted content and to support building an Omni model that learns to generate and reason about dynamic physical environments across world reasoning and generation tasks.
|
| 276 |
+
|
| 277 |
+
## Benchmarks
|
| 278 |
+
|
| 279 |
+
### Text-to-Image Benchmark Results
|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
|
| 283 |
+
### Artificial Analysis Leaderboard
|
| 284 |
+
|
| 285 |
+
#### Open-Source Models [2026/07/17]
|
| 286 |
+
|
| 287 |
+

|
| 288 |
+
|
| 289 |
+
#### All Models [2026/07/17] (Including Closed-Source)
|
| 290 |
+
|
| 291 |
+

|
| 292 |
+
|
| 293 |
+
### PBR (Performance Benchmark Reporting)
|
| 294 |
+
|
| 295 |
+
The following tables report estimated inference latency for **Cosmos3-Super-Text2Image-4Step** using the available Cosmos3-Super Text-to-Image generator benchmarks. The source benchmarks were collected using BF16 precision and batch size 1.
|
| 296 |
+
|
| 297 |
+
The original Cosmos3-Super measurements used 50 denoising steps with classifier-free guidance (CFG), requiring two model evaluations per denoising step. Cosmos3-Super-Text2Image-4Step uses a fixed 4-step distilled schedule without CFG (`guidance_scale=1.0`). The latency estimates below therefore apply a theoretical **25× speedup**:
|
| 298 |
+
|
| 299 |
+
`50 denoising steps × 2 CFG evaluations ÷ 4 distilled steps = 25×`
|
| 300 |
+
|
| 301 |
+
These values are theoretical estimates rather than direct measurements of the 4-step checkpoint. Actual end-to-end latency may differ because fixed overheads such as text encoding, VAE processing, GPU communication, and output encoding may not scale linearly with the number of denoising steps.
|
| 302 |
+
|
| 303 |
+
#### Text-to-Image Estimated Inference Latency
|
| 304 |
+
|
| 305 |
+
Latency is reported in seconds. The suffix in each column indicates the number of GPUs used; for example, `480p/4` represents 480p generation using four GPUs. `N/A` means the configuration is unavailable because the model does not fit in GPU memory. `Not tested` means no source measurement was reported.
|
| 306 |
+
|
| 307 |
+
##### vLLM-Omni
|
| 308 |
+
|
| 309 |
+
| GPU | 480p/1 | 480p/4 | 480p/8 |
|
| 310 |
+
|---|---:|---:|---:|
|
| 311 |
+
| **RTX PRO 6000 Blackwell** | N/A | Not tested | Not tested |
|
| 312 |
+
| **H20** | N/A | Not tested | Not tested |
|
| 313 |
+
| **H100 NVL** | N/A | Not tested | Not tested |
|
| 314 |
+
| **H200 NVL** | 0.251 | 0.129 | 0.708 |
|
| 315 |
+
| **H200 141GB HBM3** | 0.228 | 0.150 | 0.286 |
|
| 316 |
+
| **B200** | 0.132 | 0.124 | 0.364 |
|
| 317 |
+
|
| 318 |
+
##### PyTorch
|
| 319 |
+
|
| 320 |
+
| GPU | 480p/1 | 480p/4 | 480p/8 |
|
| 321 |
+
|---|---:|---:|---:|
|
| 322 |
+
| **RTX PRO 6000 Blackwell** | N/A | 3.689 | 3.736 |
|
| 323 |
+
| **H20** | N/A | 0.797 | 0.658 |
|
| 324 |
+
| **H100 NVL** | N/A | 0.791 | 0.792 |
|
| 325 |
+
| **H200 NVL** | N/A | 1.301 | 1.322 |
|
| 326 |
+
| **H200 141GB HBM3** | N/A | 0.533 | 0.541 |
|
| 327 |
+
| **B200** | 0.191 | 0.165 | 0.179 |
|
| 328 |
+
|
| 329 |
+
<sub>Benchmark notes:
|
| 330 |
+
|
| 331 |
+
1. Results use BF16 precision and batch size 1.
|
| 332 |
+
2. Configurations labeled `/1`, `/4`, and `/8` use one, four, and eight GPUs, respectively.
|
| 333 |
+
3. PyTorch source results report average generation or sampling time and use automatic sharding for multi-GPU execution.
|
| 334 |
+
4. vLLM-Omni source results report “Avg. Generation Time” and use HSDP/Ulysses for multi-GPU execution.
|
| 335 |
+
5. `N/A` means the configuration is unavailable because the model does not fit in GPU memory.
|
| 336 |
+
6. `Not tested` means no source measurement was reported.
|
| 337 |
+
|
| 338 |
+
</sub>
|
| 339 |
+
|
| 340 |
+
|
| 341 |
+
|
| 342 |
+
## Usage: Prepare Prompts with Prompt Upsampling
|
| 343 |
+
|
| 344 |
+
`Cosmos3-Super-Text2Image-4Step` supports dense natural-language prompts directly. It also supports JSON-format upsampled prompts, which can further improve generation quality. Description and code can be found [here](https://github.com/nvidia/cosmos-framework/blob/main/docs/prompt_upsampling.md).
|
| 345 |
+
|
| 346 |
+
To create a text-to-image upsampled prompt using Opus-4.7:
|
| 347 |
+
|
| 348 |
+
```bash
|
| 349 |
+
git clone https://github.com/NVIDIA/cosmos-framework.git packages/cosmos-framework
|
| 350 |
+
pip install -e packages/cosmos-framework
|
| 351 |
+
|
| 352 |
+
export PROMPT_UPSAMPLER_ENDPOINT_URL="https://api.anthropic.com/v1/"
|
| 353 |
+
export PROMPT_UPSAMPLER_MODEL_NAME="claude-opus-4-7"
|
| 354 |
+
export PROMPT_UPSAMPLER_API_TOKEN="<your_token>"
|
| 355 |
+
|
| 356 |
+
python -m cosmos_framework.inference.prompt_upsampling \
|
| 357 |
+
--input assets/original_prompt.txt \
|
| 358 |
+
--output /tmp/upsampled_t2i_opus/ \
|
| 359 |
+
--mode text2image \
|
| 360 |
+
--endpoint-url "${PROMPT_UPSAMPLER_ENDPOINT_URL}" \
|
| 361 |
+
--model "${PROMPT_UPSAMPLER_MODEL_NAME}" \
|
| 362 |
+
--api-token "${PROMPT_UPSAMPLER_API_TOKEN}" \
|
| 363 |
+
--resolution 768 \
|
| 364 |
+
--aspect-ratio "1,1"
|
| 365 |
+
```
|
| 366 |
+
|
| 367 |
+
The JSON-upsampled version of `assets/original_prompt.txt` is saved in `assets/example_caption.json` for convenience, and is used for the image generation examples below.
|
| 368 |
+
|
| 369 |
+
## Usage: Run Inference with PyTorch
|
| 370 |
+
|
| 371 |
+
For PyTorch inference with Cosmos Framework, see [Run with Cosmos Framework](https://github.com/NVIDIA/cosmos/tree/main/cookbooks/cosmos3/generator/audiovisual#notebook-walkthrough).
|
| 372 |
+
|
| 373 |
+
## Usage: Run Inference with vLLM-Omni
|
| 374 |
+
|
| 375 |
+
### Container
|
| 376 |
+
|
| 377 |
+
```bash
|
| 378 |
+
docker pull vllm/vllm-omni:cosmos3
|
| 379 |
+
```
|
| 380 |
+
|
| 381 |
+
### Multi-GPU Serving
|
| 382 |
+
|
| 383 |
+
You can use the release-tested `vllm-omni` package for deploying an OpenAI-compatible API inference endpoint.
|
| 384 |
+
The following configuration uses 4 GPUs and shards the 64B model with HSDP. This configuration is suitable for H100/H200-class multi-GPU nodes when sufficient memory is available:
|
| 385 |
+
|
| 386 |
+
```bash
|
| 387 |
+
vllm serve nvidia/Cosmos3-Super-Text2Image-4Step \
|
| 388 |
+
--omni \
|
| 389 |
+
--host 0.0.0.0 \
|
| 390 |
+
--port 8000 \
|
| 391 |
+
--cfg-parallel-size 2 \
|
| 392 |
+
--ulysses-degree 2 \
|
| 393 |
+
--tensor-parallel-size 1 \
|
| 394 |
+
--use-hsdp \
|
| 395 |
+
--hsdp-shard-size 4 \
|
| 396 |
+
--init-timeout 1800
|
| 397 |
+
```
|
| 398 |
+
|
| 399 |
+
For an 8-GPU node, use `--ulysses-degree 4 --hsdp-shard-size 8`. Setting `--enable-layerwise-offload` can help with memory usage on GPUs with less available memory; however, please note that for text-to-image generation, this may incur a significant performance penalty.
|
| 400 |
+
|
| 401 |
+
### Single-GPU Serving
|
| 402 |
+
|
| 403 |
+
On a single GPU with sufficient memory, such as B200, serve the model without distributed parallelism or HSDP flags:
|
| 404 |
+
|
| 405 |
+
```bash
|
| 406 |
+
vllm serve nvidia/Cosmos3-Super-Text2Image-4Step \
|
| 407 |
+
--omni \
|
| 408 |
+
--host 0.0.0.0 \
|
| 409 |
+
--port 8000 \
|
| 410 |
+
--init-timeout 1800
|
| 411 |
+
```
|
| 412 |
+
|
| 413 |
+
Single-GPU serving requires enough device memory for the 64B model. GPUs with less memory, such as H100/H200-class devices, may run out of memory; use the multi-GPU configuration above for those cases.
|
| 414 |
+
|
| 415 |
+
`Cosmos3-Super-Text2Image-4Step` uses a fixed 4-step distilled schedule. vLLM-Omni detects the distilled checkpoint from `scheduler/scheduler_config.json` and reads the schedule from `fixed_step_sampler_config.t_list`. `num_inference_steps` and `flow_shift` are not user-configurable request fields for this model. Use `guidance_scale=1.0`.
|
| 416 |
+
|
| 417 |
+
### Download Example Prompts and Scripts
|
| 418 |
+
|
| 419 |
+
The inference scripts (`scripts/`) and example inputs (`assets/`) live in this model repo. Download just those folders with the Hugging Face CLI:
|
| 420 |
+
|
| 421 |
+
```bash
|
| 422 |
+
pip install -U "huggingface_hub[cli]"
|
| 423 |
+
hf download nvidia/Cosmos3-Super-Text2Image-4Step scripts/ assets/ \
|
| 424 |
+
--local-dir Cosmos3-Super-Text2Image-4Step
|
| 425 |
+
cd Cosmos3-Super-Text2Image-4Step
|
| 426 |
+
```
|
| 427 |
+
|
| 428 |
+
Run all commands below from the downloaded repo root.
|
| 429 |
+
|
| 430 |
+
### Example: Text to Image Generation
|
| 431 |
+
|
| 432 |
+
Generate an image from a JSON-format prompt by calling the vLLM-Omni endpoint. By default, the script uses `http://localhost:8000`, which matches the serving commands above. If the server runs on another host, pass `--endpoint http://<server-host>:8000`.
|
| 433 |
+
|
| 434 |
+
```bash
|
| 435 |
+
python scripts/gen_image.py \
|
| 436 |
+
--prompt-file assets/example_caption.json \
|
| 437 |
+
--output-path scripts/output.png
|
| 438 |
+
```
|
| 439 |
+
|
| 440 |
+
Or, as a minimal standalone script:
|
| 441 |
+
|
| 442 |
+
```python
|
| 443 |
+
import base64
|
| 444 |
+
import json
|
| 445 |
+
import requests
|
| 446 |
+
|
| 447 |
+
# 1. Read JSON-upsampled prompt.
|
| 448 |
+
json_prompt = json.load(open("assets/example_caption.json"))
|
| 449 |
+
json_prompt["resolution"] = {"H": 768, "W": 768}
|
| 450 |
+
json_prompt["aspect_ratio"] = "1,1"
|
| 451 |
+
|
| 452 |
+
# 2. Build the request body.
|
| 453 |
+
request_body = {
|
| 454 |
+
"prompt": json.dumps(json_prompt),
|
| 455 |
+
"size": "768x768",
|
| 456 |
+
"n": 1,
|
| 457 |
+
"guidance_scale": 1.0,
|
| 458 |
+
"negative_prompt": "",
|
| 459 |
+
"seed": 1143,
|
| 460 |
+
"extra_args": {
|
| 461 |
+
"use_resolution_template": False,
|
| 462 |
+
"guardrails": True,
|
| 463 |
+
},
|
| 464 |
+
}
|
| 465 |
+
|
| 466 |
+
# 3. Send the POST request.
|
| 467 |
+
url = "http://localhost:8000/v1/images/generations"
|
| 468 |
+
print("Sending request to server...")
|
| 469 |
+
response = requests.post(url, json=request_body, headers={"Content-Type": "application/json"})
|
| 470 |
+
response.raise_for_status()
|
| 471 |
+
|
| 472 |
+
# 4. Extract the base64 data and decode it into an image.
|
| 473 |
+
response_json = response.json()
|
| 474 |
+
b64_data = response_json["data"][0]["b64_json"]
|
| 475 |
+
image_bytes = base64.b64decode(b64_data)
|
| 476 |
+
|
| 477 |
+
# 5. Save the final PNG file.
|
| 478 |
+
with open("/tmp/cosmos3_t2i_4step.png", "wb") as image_file:
|
| 479 |
+
image_file.write(image_bytes)
|
| 480 |
+
print("Saved image to /tmp/cosmos3_t2i_4step.png")
|
| 481 |
+
```
|
| 482 |
+
|
| 483 |
+
Example output generated from `assets/example_caption.json`:
|
| 484 |
+
|
| 485 |
+

|
| 486 |
+
|
| 487 |
+
## Limitations
|
| 488 |
+
|
| 489 |
+
Cosmos3 may produce imperfect outputs in challenging scenarios. Generation artifacts include temporal inconsistency, unstable camera or object motion, imprecise physical interactions, inaccurate audio-video synchronization, and action-state drift — especially in long-horizon or high-resolution outputs. Reasoning may also be incorrect: object states, causal relationships, spatial geometry, temporal ordering, agent intent, and future outcomes can be misinferred, and complex or long-context inputs may yield hallucinated entities, inconsistent interpretations, or implausible predictions. Because the model lacks an explicit physics simulator, 3D geometry, 4D space-time evolution, object permanence, contact dynamics, and physical laws are only approximated — producing artifacts such as disappearing or morphing objects, unrealistic collisions, and physically implausible motions. Quality further degrades in out-of-distribution environments, safety-critical edge cases, and domains underrepresented in training.
|
| 490 |
+
|
| 491 |
+
Cosmos3 outputs should not be treated as physically accurate simulation, reliable ground-truth reasoning, or safety-certified decision making. Applications involving robotics control, autonomous systems, scientific simulation, or safety-critical planning require additional validation, external constraints, system-level safety analysis, and domain-specific guardrails before deployment.
|
| 492 |
+
|
| 493 |
+
## Inference
|
| 494 |
+
|
| 495 |
+
**Acceleration Engine:** [PyTorch](https://pytorch.org/), [vLLM-Omni](https://github.com/vllm-project/vllm-omni)
|
| 496 |
+
|
| 497 |
+
**Test Hardware:** RTX PRO 6000, H20, H100, H200, B200
|
| 498 |
+
|
| 499 |
+
## Ethical Considerations
|
| 500 |
+
|
| 501 |
+
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. Developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
|
| 502 |
+
|
| 503 |
+
Please make sure you have proper rights and permissions for all input image and video content; if image or video includes people, personal health information, or intellectual property, the image or video generated will not blur or maintain proportions of image subjects included.
|
| 504 |
+
|
| 505 |
+
Users are responsible for model inputs and outputs. Users are responsible for ensuring safe integration of this model, including implementing guardrails as well as other safety mechanisms, prior to deployment.
|
| 506 |
+
|
| 507 |
+
For more detailed information on ethical considerations for this model, please see the Model Card++ [Explainability](EXPLAINABILITY.md), [Bias](BIAS.md), [Safety & Security](SAFETY.md), and [Privacy](PRIVACY.md) subcards. Please report model quality, risk, security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
|
SAFETY.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Safety & Security
|
| 2 |
+
|
| 3 |
+
| Field | Response |
|
| 4 |
+
| :---- | :---- |
|
| 5 |
+
| Model Application(s) | World reasoning and generation for Physical AI. |
|
| 6 |
+
| Describe the life critical impact: | This model is not a safety-certified component and must not be used as the sole basis for life-critical decisions or control without additional system-level validation, safety analysis, and safeguards. The model is not designed or tested by NVIDIA for use in any system or application where the use of or failure of such system or application developed with the model could result in injury, death, or catastrophic damage. NVIDIA is not liable to any party, in whole or in part, for any claims or damages arising from those uses. Any system or application developed with the model must include sufficient safety and redundancy features and comply with applicable legal and regulatory standards and requirements. |
|
| 7 |
+
| Description of methods implemented in data acquisition or processing, if any, to address other types of potentially harmful data in the training, testing, and validation data: | Training, evaluation, and validation datasets pass through multi-stage automated and manual filtering to reduce harmful, unsafe, restricted, or policy-violating content. Pipelines include source-licensing review, deduplication, metadata-based and classifier-based moderation, embedding-based anomaly detection, and human audits on selected datasets. For Physical AI data (robotics, autonomous driving, industrial scenes), filtering also targets invalid action trajectories, physically implausible interactions, and unsafe control sequences. Synthetic and simulation-generated data are evaluated through internal validation before inclusion. Benchmark and red-team testing surface remaining safety gaps across world generation, reasoning, audio, and action tasks. No data-filtering process can guarantee complete removal; developers are responsible for application-specific safeguards and validation before deployment. |
|
| 8 |
+
| Description of any methods implemented in data acquisition or processing, if any, to address illegal or harmful content in the training data, including, but not limited to, child sexual abuse material (CSAM) and non-consensual intimate imagery (NCII) | In addition to the general unsafe-content filtering described above, training data acquisition and preprocessing apply CSAM- and NCII-specific safeguards: hash-matching systems against known CSAM databases, classifier-based moderation models trained specifically for explicit content and NCII detection, and provenance and licensing review for sources containing human imagery. Identified content is removed at ingest, with human review and targeted audits supplementing automated filtering for selected datasets. Despite these safeguards, no large-scale data-filtering system can guarantee complete detection. Ongoing monitoring and dataset review continue post-release. |
|
| 9 |
+
| Use Case Restrictions | Use is governed by the [OpenMDW1.1](https://openmdw.ai/) |
|
| 10 |
+
| Model and dataset restrictions | The Principle of least privilege (PoLP) is applied limiting access for dataset generation and model development. Restrictions enforce dataset access during training, and dataset license constraints adhered to. |
|
| 11 |
+
| Responsible Data Handling | This AI model was developed based on our policies to ensure responsible data handling and risk mitigation. The datasets used for training have been scanned for harmful content and illegal content, consistent with our policies including scanning for Child Sexual Abuse Material (CSAM). Ongoing review and monitoring mechanisms are in place based on our policies and to maintain data integrity. |
|
assets/benchmark-text2image.png
ADDED
|
Git LFS Details
|
assets/example_caption.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"subjects": [
|
| 3 |
+
{
|
| 4 |
+
"description": "Two damp human hands working a spinning cylinder of wet gray clay on a pottery wheel, fingers gently pinching and pulling the walls upward to form a narrow neck and rounded belly",
|
| 5 |
+
"appearance_details": "Hands coated with a thin sheen of slip, glistening with water; fingertips leave subtle ridges and fingerprints in the clay; knuckles slightly creased, nails short and rimmed with gray clay; small splatters of clay on the back of the wrists",
|
| 6 |
+
"relationship": "The primary actor shaping the central spinning clay form on the wheel",
|
| 7 |
+
"location": "Center foreground, framing the clay column",
|
| 8 |
+
"relative_size": "Hands and clay occupy roughly the central 60 percent of the frame",
|
| 9 |
+
"orientation": "Hands angled inward from left and right, palms cupping the clay symmetrically",
|
| 10 |
+
"pose": "Both hands curled around the clay, thumbs and index fingers pinched at the upper neck while remaining fingers support the rounded belly below",
|
| 11 |
+
"clothing": "",
|
| 12 |
+
"expression": "",
|
| 13 |
+
"gender": "Unknown",
|
| 14 |
+
"age": "Adult",
|
| 15 |
+
"skin_tone_and_texture": "Light to medium skin tone, slick with watery slip giving a glossy sheen, fine pores and small wrinkles visible at knuckles",
|
| 16 |
+
"facial_features": "",
|
| 17 |
+
"number_of_subjects": 1,
|
| 18 |
+
"number_of_arms": 2,
|
| 19 |
+
"number_of_legs": 0,
|
| 20 |
+
"number_of_hands": 2,
|
| 21 |
+
"number_of_fingers": 10
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"description": "A spinning cylinder of wet gray stoneware clay being formed into a vase shape with a narrow neck and rounded belly",
|
| 25 |
+
"appearance_details": "Concentric horizontal rings spiral around the surface from the rotation; glistening film of water; subtle fingerprint impressions; small drips of slip running down the lower belly onto the wheel head",
|
| 26 |
+
"relationship": "The object being shaped by the hands; central focal point of the scene",
|
| 27 |
+
"location": "Absolute center of the frame, rising vertically from the wheel head",
|
| 28 |
+
"relative_size": "Approximately one third of the frame height, dominant central form",
|
| 29 |
+
"orientation": "Vertical axis, rotating",
|
| 30 |
+
"pose": "Upright cylindrical-to-vase form mid-throw, neck tapering, belly bulging",
|
| 31 |
+
"clothing": "",
|
| 32 |
+
"expression": "",
|
| 33 |
+
"gender": "N/A",
|
| 34 |
+
"age": "N/A",
|
| 35 |
+
"skin_tone_and_texture": "",
|
| 36 |
+
"facial_features": "",
|
| 37 |
+
"number_of_subjects": 1,
|
| 38 |
+
"number_of_arms": 0,
|
| 39 |
+
"number_of_legs": 0,
|
| 40 |
+
"number_of_hands": 0,
|
| 41 |
+
"number_of_fingers": 0
|
| 42 |
+
}
|
| 43 |
+
],
|
| 44 |
+
"subject_details": {
|
| 45 |
+
"clay_state": "Wet gray stoneware, plastic and pliable, glistening with slip",
|
| 46 |
+
"wheel_motion": "Visible motion blur in concentric ring patterns indicating rotation",
|
| 47 |
+
"forming_stage": "Mid-throw, transitioning from cylinder to vase form with narrow neck and rounded belly",
|
| 48 |
+
"slip_splatter": "Splattered clay droplets dot the black apron and the wheel tray",
|
| 49 |
+
"tools_in_background": "Wooden ribs, wire cutter, sponge, and metal trimming tools softly blurred behind"
|
| 50 |
+
},
|
| 51 |
+
"background_setting": "A dim pottery studio with a matte black wheel tray and splash pan surrounding the spinning wheel head. Behind the potter, softly blurred, sit a row of throwing tools: wooden ribs, a metal kidney, a wire cutter coiled on a small shelf, and a sponge in a shallow water bowl. The black apron worn by the potter forms part of the lower background, dotted with dried clay flecks. The studio walls are deep charcoal, allowing the warm directional light to sculpt the central action.",
|
| 52 |
+
"lighting": {
|
| 53 |
+
"conditions": "Warm, controlled studio lighting with a single key source",
|
| 54 |
+
"direction": "From the right side of the frame, slightly elevated",
|
| 55 |
+
"shadows": "Soft, defined shadows falling to the left of the clay form and beneath the hands; subtle contact shadow on the wheel head",
|
| 56 |
+
"illumination_effect": "Highlights the wet sheen on the clay, accentuates concentric ring textures and fingerprint detail, and creates a moody chiaroscuro that isolates the hands and clay from the darker background"
|
| 57 |
+
},
|
| 58 |
+
"aesthetics": {
|
| 59 |
+
"composition": "Centered symmetrical composition with the clay form on the vertical axis, hands framing it from both sides; rule-of-thirds intersections align with the neck and belly of the vase",
|
| 60 |
+
"color_scheme": "Muted earth tones dominated by cool grays of the clay, warm amber highlights from the studio light, deep blacks of the apron and wheel tray, and natural skin tones",
|
| 61 |
+
"mood_atmosphere": "Meditative, tactile, focused craftsmanship",
|
| 62 |
+
"patterns": "Concentric horizontal rings spiraling around the clay surface from the wheel's rotation"
|
| 63 |
+
},
|
| 64 |
+
"cinematography": {
|
| 65 |
+
"framing": "Medium close-up",
|
| 66 |
+
"camera_angle": "Slightly above rim height, looking gently down onto the hands and clay",
|
| 67 |
+
"depth_of_field": "Shallow",
|
| 68 |
+
"focus": "Crisp focus on the hands and the wet clay surface",
|
| 69 |
+
"lens_focal_length": "35mm"
|
| 70 |
+
},
|
| 71 |
+
"style_medium": "Photography",
|
| 72 |
+
"artistic_style": "Photorealistic studio product/process photography",
|
| 73 |
+
"context": "Editorial or artisanal documentation of a hand-thrown ceramic vase being formed on a pottery wheel",
|
| 74 |
+
"text_and_signage_elements": [],
|
| 75 |
+
"quadrant_scan": {
|
| 76 |
+
"top_left": "Softly blurred dark background with faint warm rim light catching the edge of a wooden rib tool on a shelf",
|
| 77 |
+
"top_right": "Warm directional studio light source area; brightest highlights spill across the upper right, illuminating the narrow neck of the vase",
|
| 78 |
+
"bottom_left": "Edge of the black apron speckled with dried clay flecks and the curved rim of the splash pan in shadow",
|
| 79 |
+
"bottom_right": "Wheel tray dotted with splattered clay droplets and trickles of slip; partial view of the rotating wheel head",
|
| 80 |
+
"absolute_center": "The wet gray clay vase form mid-throw, cradled by two slip-coated hands pinching the neck and supporting the rounded belly, concentric rings glistening under warm light"
|
| 81 |
+
},
|
| 82 |
+
"comprehensive_t2i_caption": "A photorealistic studio photograph captured at slightly above rim height with a 35mm lens shows a pottery wheel in motion at the center of the frame. A cylinder of wet gray stoneware clay spins, its surface scored with fine concentric rings from rotation and glistening with a thin film of water and slip. Two damp human hands, coated in pale gray slip, gently pinch and pull the walls upward, the thumbs and index fingers narrowing the neck while the lower fingers cradle and shape a rounded belly, transforming the cylinder into a vase. Warm directional studio light from the right rakes across the scene, accentuating the sheen of water, the subtle ridges of fingerprints, and the soft modeling of the clay's curves, while casting gentle shadows to the left. Splattered droplets of clay dot a black apron worn by the potter and the matte black wheel tray and splash pan beneath. In the softly blurred background, a row of pottery tools — wooden ribs, a metal kidney, a wire cutter, and a damp sponge in a water bowl — sit on a charcoal-toned shelf. The depth of field is shallow, holding crisp focus on the hands and clay while the surroundings dissolve into a moody, warm-toned haze. The atmosphere is meditative and tactile, celebrating the intimate craftsmanship of hand-thrown ceramics.",
|
| 83 |
+
"resolution": {
|
| 84 |
+
"H": 1024,
|
| 85 |
+
"W": 1024
|
| 86 |
+
},
|
| 87 |
+
"aspect_ratio": "1,1"
|
| 88 |
+
}
|
assets/example_image.png
ADDED
|
Git LFS Details
|
assets/original_prompt.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Photorealistic studio photograph of a pottery wheel in motion, a cylinder of wet gray clay spinning with concentric rings. Two hands, damp and coated with slip, gently pinch and pull the walls upward to form a narrow neck and rounded belly like a vase. Directional warm studio light from the right highlights the sheen of water on clay and the texture of fingerprints. Splattered clay dots the black apron and wheel tray. Camera slightly above rim height, 35mm, crisp focus on hands and clay, background tools softly blurred.
|
chat_template.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- for message in messages %}\n {%- if message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content_item in message.content %}\n {%- if 'text' in content_item %}\n {{- content_item.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and message.content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n"
|
| 3 |
+
}
|
checkpoint.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"checkpoint_type": "hf",
|
| 3 |
+
"source_weights": "ema",
|
| 4 |
+
"student_only": true
|
| 5 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"allow_patterns_overrides": [
|
| 3 |
+
"*/*.safetensors"
|
| 4 |
+
],
|
| 5 |
+
"architectures": [
|
| 6 |
+
"Cosmos3ForConditionalGeneration"
|
| 7 |
+
],
|
| 8 |
+
"image_token_id": 151655,
|
| 9 |
+
"model": {
|
| 10 |
+
"_recursive_": false,
|
| 11 |
+
"_target": "omni_mot_model",
|
| 12 |
+
"config": {
|
| 13 |
+
"_type": "omni_mot_model_config",
|
| 14 |
+
"action_gen": false,
|
| 15 |
+
"activation_checkpointing": {
|
| 16 |
+
"_type": "activation_checkpointing_config",
|
| 17 |
+
"determinism_check": "default",
|
| 18 |
+
"mode": "full",
|
| 19 |
+
"preserve_rng_state": true,
|
| 20 |
+
"save_ops_regex": [
|
| 21 |
+
"fmha"
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
"causal_training_strategy": "none",
|
| 25 |
+
"compile": {
|
| 26 |
+
"_type": "compile_config",
|
| 27 |
+
"compile_dynamic": true,
|
| 28 |
+
"compiled_region": "language",
|
| 29 |
+
"coordinate_descent_tuning": false,
|
| 30 |
+
"enabled": false,
|
| 31 |
+
"max_autotune_pointwise": false,
|
| 32 |
+
"use_cuda_graphs": false
|
| 33 |
+
},
|
| 34 |
+
"diffusion_expert_config": {
|
| 35 |
+
"_type": "diffusion_expert_config",
|
| 36 |
+
"base_fps": 24,
|
| 37 |
+
"enable_fps_modulation": true,
|
| 38 |
+
"load_weights_from_pretrained": false,
|
| 39 |
+
"max_vae_latent_side_after_patchify": 20,
|
| 40 |
+
"patch_spatial": 2,
|
| 41 |
+
"sound_base_temporal_compression_factor": null,
|
| 42 |
+
"timestep_range": 1.0,
|
| 43 |
+
"unified_3d_mrope_reset_spatial_ids": true,
|
| 44 |
+
"unified_3d_mrope_temporal_modality_margin": 15000,
|
| 45 |
+
"vision_temporal_position_mode": "latent_index"
|
| 46 |
+
},
|
| 47 |
+
"ema": {
|
| 48 |
+
"_type": "ema_config",
|
| 49 |
+
"enabled": false,
|
| 50 |
+
"iteration_shift": 0,
|
| 51 |
+
"rate": 0.1
|
| 52 |
+
},
|
| 53 |
+
"enable_input_bias": true,
|
| 54 |
+
"exclude_reasoner_weights_from_checkpoint": false,
|
| 55 |
+
"fixed_step_sampler_config": {
|
| 56 |
+
"_type": "fixed_step_sampler_config",
|
| 57 |
+
"sample_type": "sde",
|
| 58 |
+
"t_list": [
|
| 59 |
+
1.0,
|
| 60 |
+
0.9375,
|
| 61 |
+
0.8333333333333334,
|
| 62 |
+
0.625
|
| 63 |
+
]
|
| 64 |
+
},
|
| 65 |
+
"input_caption_key": "ai_caption",
|
| 66 |
+
"input_image_key": "images",
|
| 67 |
+
"input_video_key": "video",
|
| 68 |
+
"joint_attn_implementation": "two_way",
|
| 69 |
+
"latent_downsample_factor": 16,
|
| 70 |
+
"lbl": {
|
| 71 |
+
"_type": "lbl_config",
|
| 72 |
+
"coeff_gen": null,
|
| 73 |
+
"coeff_und": null,
|
| 74 |
+
"method": "local"
|
| 75 |
+
},
|
| 76 |
+
"log_enc_time_every_n": 100,
|
| 77 |
+
"lora_alpha": 32,
|
| 78 |
+
"lora_enabled": false,
|
| 79 |
+
"lora_rank": 16,
|
| 80 |
+
"lora_target_modules": "q_proj_moe_gen,k_proj_moe_gen,v_proj_moe_gen,o_proj_moe_gen",
|
| 81 |
+
"max_action_dim": 32,
|
| 82 |
+
"max_num_tokens_after_packing": 69632,
|
| 83 |
+
"natten_parameter_list": null,
|
| 84 |
+
"net": null,
|
| 85 |
+
"num_embodiment_domains": 32,
|
| 86 |
+
"parallelism": {
|
| 87 |
+
"_type": "parallelism_config",
|
| 88 |
+
"attention_io_layout": "sequence_sharded",
|
| 89 |
+
"cfg_parallel_shard_degree": 1,
|
| 90 |
+
"context_parallel_shard_degree": 1,
|
| 91 |
+
"data_parallel_replicate_degree": 1,
|
| 92 |
+
"data_parallel_shard_degree": 128,
|
| 93 |
+
"enable_inference_mode": false,
|
| 94 |
+
"fsdp_master_dtype": "float32"
|
| 95 |
+
},
|
| 96 |
+
"precision": "bfloat16",
|
| 97 |
+
"rectified_flow_inference_config": {
|
| 98 |
+
"_type": "rectified_flow_inference_config",
|
| 99 |
+
"num_train_timesteps": 1000,
|
| 100 |
+
"scheduler_type": "unipc",
|
| 101 |
+
"shift": 1,
|
| 102 |
+
"use_dynamic_shifting": false
|
| 103 |
+
},
|
| 104 |
+
"rectified_flow_training_config": {
|
| 105 |
+
"_type": "rectified_flow_training_config",
|
| 106 |
+
"action_loss_weight": 10.0,
|
| 107 |
+
"image_loss_scale": null,
|
| 108 |
+
"independent_action_schedule": false,
|
| 109 |
+
"independent_sound_schedule": false,
|
| 110 |
+
"loss_scale": 10.0,
|
| 111 |
+
"normalize_loss_by_active": false,
|
| 112 |
+
"shift": {
|
| 113 |
+
"256": 3,
|
| 114 |
+
"480": 5,
|
| 115 |
+
"720": 5,
|
| 116 |
+
"768": 5
|
| 117 |
+
},
|
| 118 |
+
"shift_action": null,
|
| 119 |
+
"shift_sound": null,
|
| 120 |
+
"sound_loss_scale": 2.0,
|
| 121 |
+
"train_time_action_distribution": "logitnormal",
|
| 122 |
+
"train_time_image_distribution": "logitnormal",
|
| 123 |
+
"train_time_sound_distribution": "logitnormal",
|
| 124 |
+
"train_time_video_distribution": "waver",
|
| 125 |
+
"train_time_weight": "uniform",
|
| 126 |
+
"use_discrete_rf": false,
|
| 127 |
+
"use_dynamic_shift": false
|
| 128 |
+
},
|
| 129 |
+
"resolution": "768",
|
| 130 |
+
"sound_dim": 64,
|
| 131 |
+
"sound_gen": true,
|
| 132 |
+
"sound_latent_fps": 25,
|
| 133 |
+
"sound_tokenizer": {
|
| 134 |
+
"_target": "avae_interface",
|
| 135 |
+
"audio_channels": 2,
|
| 136 |
+
"avae_config_path": "",
|
| 137 |
+
"avae_path": "pretrained/tokenizers/audio/avae/avae_48k_noncausal_25hz_64ch.ckpt",
|
| 138 |
+
"bucket_name": "bucket",
|
| 139 |
+
"hop_size": 1920,
|
| 140 |
+
"io_channels": 64,
|
| 141 |
+
"latent_mean": null,
|
| 142 |
+
"latent_std": null,
|
| 143 |
+
"normalization_type": "none",
|
| 144 |
+
"normalize_latents": false,
|
| 145 |
+
"object_store_credential_path_pretrained": "",
|
| 146 |
+
"sample_rate": 48000,
|
| 147 |
+
"tanh_clamp": 0.995,
|
| 148 |
+
"tanh_input_scale": 1.5,
|
| 149 |
+
"tanh_output_scale": 3.5
|
| 150 |
+
},
|
| 151 |
+
"state_ch": 48,
|
| 152 |
+
"state_t": 300,
|
| 153 |
+
"tokenizer": {
|
| 154 |
+
"_target": "wan2pt2_vae_interface",
|
| 155 |
+
"bucket_name": "bucket",
|
| 156 |
+
"causal": true,
|
| 157 |
+
"chunk_duration": 93,
|
| 158 |
+
"encode_bucket_multiple": 1,
|
| 159 |
+
"encode_chunk_frames": {
|
| 160 |
+
"256": 68,
|
| 161 |
+
"480": 24,
|
| 162 |
+
"720": 12,
|
| 163 |
+
"768": 12
|
| 164 |
+
},
|
| 165 |
+
"encode_exact_durations": null,
|
| 166 |
+
"keep_decoder_cache": false,
|
| 167 |
+
"object_store_credential_path_pretrained": "",
|
| 168 |
+
"spatial_compression_factor": 16,
|
| 169 |
+
"temporal_compression_factor": 4,
|
| 170 |
+
"temporal_window": null,
|
| 171 |
+
"use_streaming_encode": false,
|
| 172 |
+
"vae_path": "pretrained/tokenizers/video/wan2pt2/Wan2.2_VAE.pth"
|
| 173 |
+
},
|
| 174 |
+
"video_temporal_causal": false,
|
| 175 |
+
"vision_gen": true,
|
| 176 |
+
"vlm_config": {
|
| 177 |
+
"_type": "vlm_config",
|
| 178 |
+
"layer_module": null,
|
| 179 |
+
"model_instance": {
|
| 180 |
+
"_target": "qwen3_vl_text_for_causal_lm",
|
| 181 |
+
"config": {
|
| 182 |
+
"_target": "create_vlm_config",
|
| 183 |
+
"base_config": {
|
| 184 |
+
"_target": "qwen3_vl_mot_config_from_json_file",
|
| 185 |
+
"json_file": "cosmos3://vfm/models/vlm/qwen3_vl/configs/Qwen3-VL-32B-Instruct.json"
|
| 186 |
+
},
|
| 187 |
+
"qk_norm_for_text": true
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"model_name": "nvidia/Cosmos3-Super-Reasoner",
|
| 191 |
+
"pretrained_weights": {
|
| 192 |
+
"_type": "pretrained_weights_config",
|
| 193 |
+
"backbone_path": "",
|
| 194 |
+
"checkpoint_format": null,
|
| 195 |
+
"credentials_path": "",
|
| 196 |
+
"enable_gcs_patch_in_boto3": false,
|
| 197 |
+
"enabled": false
|
| 198 |
+
},
|
| 199 |
+
"qk_norm": false,
|
| 200 |
+
"safetensors_path": "",
|
| 201 |
+
"tie_word_embeddings": false,
|
| 202 |
+
"tokenizer": {
|
| 203 |
+
"_target": "create_qwen2_tokenizer_with_download",
|
| 204 |
+
"config_variant": "hf",
|
| 205 |
+
"pretrained_model_name": "Qwen/Qwen3-VL-32B-Instruct"
|
| 206 |
+
},
|
| 207 |
+
"use_system_prompt": false
|
| 208 |
+
}
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
"model_type": "cosmos3_omni",
|
| 212 |
+
"text_config": {
|
| 213 |
+
"attention_bias": false,
|
| 214 |
+
"attention_dropout": 0.0,
|
| 215 |
+
"bos_token_id": 151643,
|
| 216 |
+
"dtype": "bfloat16",
|
| 217 |
+
"eos_token_id": 151645,
|
| 218 |
+
"head_dim": 128,
|
| 219 |
+
"hidden_act": "silu",
|
| 220 |
+
"hidden_size": 5120,
|
| 221 |
+
"initializer_range": 0.02,
|
| 222 |
+
"intermediate_size": 25600,
|
| 223 |
+
"max_position_embeddings": 262144,
|
| 224 |
+
"model_type": "qwen3_vl_text",
|
| 225 |
+
"num_attention_heads": 64,
|
| 226 |
+
"num_hidden_layers": 64,
|
| 227 |
+
"num_key_value_heads": 8,
|
| 228 |
+
"rms_norm_eps": 1e-06,
|
| 229 |
+
"rope_scaling": {
|
| 230 |
+
"mrope_interleaved": true,
|
| 231 |
+
"mrope_section": [
|
| 232 |
+
24,
|
| 233 |
+
20,
|
| 234 |
+
20
|
| 235 |
+
],
|
| 236 |
+
"rope_type": "default"
|
| 237 |
+
},
|
| 238 |
+
"rope_theta": 5000000,
|
| 239 |
+
"use_cache": true,
|
| 240 |
+
"vocab_size": 151936
|
| 241 |
+
},
|
| 242 |
+
"tie_word_embeddings": false,
|
| 243 |
+
"transformers_version": "4.57.0.dev0",
|
| 244 |
+
"video_token_id": 151656,
|
| 245 |
+
"vision_config": {
|
| 246 |
+
"deepstack_visual_indexes": [
|
| 247 |
+
8,
|
| 248 |
+
16,
|
| 249 |
+
24
|
| 250 |
+
],
|
| 251 |
+
"depth": 27,
|
| 252 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 253 |
+
"hidden_size": 1152,
|
| 254 |
+
"in_channels": 3,
|
| 255 |
+
"initializer_range": 0.02,
|
| 256 |
+
"intermediate_size": 4304,
|
| 257 |
+
"model_type": "qwen3_vl",
|
| 258 |
+
"num_heads": 16,
|
| 259 |
+
"num_position_embeddings": 2304,
|
| 260 |
+
"out_hidden_size": 5120,
|
| 261 |
+
"patch_size": 16,
|
| 262 |
+
"spatial_merge_size": 2,
|
| 263 |
+
"temporal_patch_size": 2
|
| 264 |
+
},
|
| 265 |
+
"vision_end_token_id": 151653,
|
| 266 |
+
"vision_start_token_id": 151652
|
| 267 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"pad_token_id": 151643,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
151645,
|
| 7 |
+
151643
|
| 8 |
+
],
|
| 9 |
+
"top_p": 0.8,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"temperature": 0.7,
|
| 12 |
+
"repetition_penalty": 1.0,
|
| 13 |
+
"transformers_version": "4.56.0"
|
| 14 |
+
}
|
images/aa-t2i-all-models-2026-07-17.png
ADDED
|
Git LFS Details
|
images/aa-t2i-open-models-2026-07-17.png
ADDED
|
Git LFS Details
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model_index.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "Cosmos3OmniPipeline",
|
| 3 |
+
"_diffusers_version": "0.39.0",
|
| 4 |
+
"safety_checker": [
|
| 5 |
+
null,
|
| 6 |
+
null
|
| 7 |
+
],
|
| 8 |
+
"scheduler": [
|
| 9 |
+
"diffusers",
|
| 10 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 11 |
+
],
|
| 12 |
+
"sound_tokenizer": [
|
| 13 |
+
"diffusers",
|
| 14 |
+
"Cosmos3AVAEAudioTokenizer"
|
| 15 |
+
],
|
| 16 |
+
"text_tokenizer": [
|
| 17 |
+
"transformers",
|
| 18 |
+
"Qwen2TokenizerFast"
|
| 19 |
+
],
|
| 20 |
+
"transformer": [
|
| 21 |
+
"diffusers",
|
| 22 |
+
"Cosmos3OmniTransformer"
|
| 23 |
+
],
|
| 24 |
+
"vae": [
|
| 25 |
+
"diffusers",
|
| 26 |
+
"AutoencoderKLWan"
|
| 27 |
+
]
|
| 28 |
+
}
|
modular_model_index.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_blocks_class_name": "Cosmos3DistilledBlocks",
|
| 3 |
+
"_class_name": "Cosmos3DistilledModularPipeline",
|
| 4 |
+
"_diffusers_version": "0.39.0",
|
| 5 |
+
"is_distilled": true,
|
| 6 |
+
"distilled_sigmas": [
|
| 7 |
+
1.0,
|
| 8 |
+
0.9375,
|
| 9 |
+
0.8333333333333334,
|
| 10 |
+
0.625
|
| 11 |
+
],
|
| 12 |
+
"scheduler": [
|
| 13 |
+
"diffusers",
|
| 14 |
+
"FlowMatchEulerDiscreteScheduler",
|
| 15 |
+
{
|
| 16 |
+
"pretrained_model_name_or_path": "nvidia/Cosmos3-Super-Text2Image-4Step",
|
| 17 |
+
"subfolder": "scheduler",
|
| 18 |
+
"type_hint": [
|
| 19 |
+
"diffusers",
|
| 20 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 21 |
+
],
|
| 22 |
+
"variant": null
|
| 23 |
+
}
|
| 24 |
+
],
|
| 25 |
+
"sound_tokenizer": [
|
| 26 |
+
"diffusers",
|
| 27 |
+
"Cosmos3AVAEAudioTokenizer",
|
| 28 |
+
{
|
| 29 |
+
"pretrained_model_name_or_path": "nvidia/Cosmos3-Super-Text2Image-4Step",
|
| 30 |
+
"subfolder": "sound_tokenizer",
|
| 31 |
+
"type_hint": [
|
| 32 |
+
"diffusers",
|
| 33 |
+
"Cosmos3AVAEAudioTokenizer"
|
| 34 |
+
],
|
| 35 |
+
"variant": null
|
| 36 |
+
}
|
| 37 |
+
],
|
| 38 |
+
"text_tokenizer": [
|
| 39 |
+
"transformers",
|
| 40 |
+
"Qwen2TokenizerFast",
|
| 41 |
+
{
|
| 42 |
+
"pretrained_model_name_or_path": "nvidia/Cosmos3-Super-Text2Image-4Step",
|
| 43 |
+
"subfolder": "text_tokenizer",
|
| 44 |
+
"type_hint": [
|
| 45 |
+
"transformers",
|
| 46 |
+
"Qwen2TokenizerFast"
|
| 47 |
+
],
|
| 48 |
+
"variant": null
|
| 49 |
+
}
|
| 50 |
+
],
|
| 51 |
+
"transformer": [
|
| 52 |
+
"diffusers",
|
| 53 |
+
"Cosmos3OmniTransformer",
|
| 54 |
+
{
|
| 55 |
+
"pretrained_model_name_or_path": "nvidia/Cosmos3-Super-Text2Image-4Step",
|
| 56 |
+
"subfolder": "transformer",
|
| 57 |
+
"type_hint": [
|
| 58 |
+
"diffusers",
|
| 59 |
+
"Cosmos3OmniTransformer"
|
| 60 |
+
],
|
| 61 |
+
"variant": null
|
| 62 |
+
}
|
| 63 |
+
],
|
| 64 |
+
"vae": [
|
| 65 |
+
"diffusers",
|
| 66 |
+
"AutoencoderKLWan",
|
| 67 |
+
{
|
| 68 |
+
"pretrained_model_name_or_path": "nvidia/Cosmos3-Super-Text2Image-4Step",
|
| 69 |
+
"subfolder": "vae",
|
| 70 |
+
"type_hint": [
|
| 71 |
+
"diffusers",
|
| 72 |
+
"AutoencoderKLWan"
|
| 73 |
+
],
|
| 74 |
+
"variant": null
|
| 75 |
+
}
|
| 76 |
+
]
|
| 77 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"size": {
|
| 3 |
+
"longest_edge": 16777216,
|
| 4 |
+
"shortest_edge": 65536
|
| 5 |
+
},
|
| 6 |
+
"patch_size": 16,
|
| 7 |
+
"temporal_patch_size": 2,
|
| 8 |
+
"merge_size": 2,
|
| 9 |
+
"image_mean": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"image_std": [
|
| 15 |
+
0.5,
|
| 16 |
+
0.5,
|
| 17 |
+
0.5
|
| 18 |
+
],
|
| 19 |
+
"processor_class": "Qwen3VLProcessor",
|
| 20 |
+
"image_processor_type": "Qwen2VLImageProcessorFast"
|
| 21 |
+
}
|
scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FlowMatchEulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.39.0",
|
| 4 |
+
"base_image_seq_len": 256,
|
| 5 |
+
"base_shift": 0.5,
|
| 6 |
+
"fixed_step_requires_explicit_sigmas": true,
|
| 7 |
+
"fixed_step_sampler_config": {
|
| 8 |
+
"sample_type": "sde",
|
| 9 |
+
"t_list": [
|
| 10 |
+
1.0,
|
| 11 |
+
0.9375,
|
| 12 |
+
0.8333333333333334,
|
| 13 |
+
0.625
|
| 14 |
+
]
|
| 15 |
+
},
|
| 16 |
+
"invert_sigmas": false,
|
| 17 |
+
"max_image_seq_len": 4096,
|
| 18 |
+
"max_shift": 1.15,
|
| 19 |
+
"num_train_timesteps": 1000,
|
| 20 |
+
"shift": 1.0,
|
| 21 |
+
"shift_terminal": null,
|
| 22 |
+
"stochastic_sampling": true,
|
| 23 |
+
"time_shift_type": "exponential",
|
| 24 |
+
"use_beta_sigmas": false,
|
| 25 |
+
"use_dynamic_shifting": false,
|
| 26 |
+
"use_exponential_sigmas": false,
|
| 27 |
+
"use_karras_sigmas": false
|
| 28 |
+
}
|
scripts/gen_image.py
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Minimal text-to-image generation against a vLLM-Omni endpoint.
|
| 2 |
+
|
| 3 |
+
Run from the Cosmos3-Super-Text2Image-4Step repo root:
|
| 4 |
+
|
| 5 |
+
python scripts/gen_image.py \
|
| 6 |
+
--prompt-file assets/example_caption.json \
|
| 7 |
+
--output-path scripts/output.png
|
| 8 |
+
|
| 9 |
+
Use --endpoint http://<server-host>:8000 if the vLLM-Omni server is not local.
|
| 10 |
+
"""
|
| 11 |
+
|
| 12 |
+
import argparse
|
| 13 |
+
import base64
|
| 14 |
+
import json
|
| 15 |
+
from pathlib import Path
|
| 16 |
+
|
| 17 |
+
import requests
|
| 18 |
+
|
| 19 |
+
# Fixed generation settings: square 768px image.
|
| 20 |
+
WIDTH = 768
|
| 21 |
+
HEIGHT = 768
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def main() -> None:
|
| 25 |
+
parser = argparse.ArgumentParser(description="Generate one T2I sample.")
|
| 26 |
+
parser.add_argument("--endpoint", default="http://localhost:8000", help="vLLM-Omni endpoint base URL.")
|
| 27 |
+
parser.add_argument("--prompt-file", type=Path, default=Path("assets/example_caption.json"))
|
| 28 |
+
parser.add_argument("--output-path", type=Path, default=Path("scripts/output.png"))
|
| 29 |
+
args = parser.parse_args()
|
| 30 |
+
|
| 31 |
+
json_prompt = json.loads(args.prompt_file.read_text(encoding="utf-8"))
|
| 32 |
+
json_prompt["resolution"] = {"H": HEIGHT, "W": WIDTH}
|
| 33 |
+
json_prompt["aspect_ratio"] = "1,1"
|
| 34 |
+
|
| 35 |
+
request_body = {
|
| 36 |
+
"prompt": json.dumps(json_prompt, ensure_ascii=False),
|
| 37 |
+
"size": f"{WIDTH}x{HEIGHT}",
|
| 38 |
+
"n": 1,
|
| 39 |
+
"guidance_scale": 1.0,
|
| 40 |
+
"negative_prompt": "",
|
| 41 |
+
"seed": 1143,
|
| 42 |
+
"extra_args": {
|
| 43 |
+
"guardrails": True,
|
| 44 |
+
"use_resolution_template": False,
|
| 45 |
+
},
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
endpoint = args.endpoint.rstrip("/")
|
| 49 |
+
response = requests.post(
|
| 50 |
+
f"{endpoint}/v1/images/generations",
|
| 51 |
+
json=request_body,
|
| 52 |
+
headers={"Content-Type": "application/json"},
|
| 53 |
+
timeout=(10, 600),
|
| 54 |
+
)
|
| 55 |
+
response.raise_for_status()
|
| 56 |
+
|
| 57 |
+
response_json = response.json()
|
| 58 |
+
b64_data = response_json["data"][0]["b64_json"]
|
| 59 |
+
image_bytes = base64.b64decode(b64_data)
|
| 60 |
+
|
| 61 |
+
args.output_path.parent.mkdir(parents=True, exist_ok=True)
|
| 62 |
+
args.output_path.write_bytes(image_bytes)
|
| 63 |
+
print(f"Saved image to {args.output_path} ({len(image_bytes) / (1024 * 1024):.1f} MB)")
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
if __name__ == "__main__":
|
| 67 |
+
main()
|
sound_tokenizer/config.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "Cosmos3AVAEAudioTokenizer",
|
| 3 |
+
"_diffusers_version": "0.39.0",
|
| 4 |
+
"activation": "snakebeta",
|
| 5 |
+
"anti_aliasing": false,
|
| 6 |
+
"bottleneck": {
|
| 7 |
+
"type": "vae"
|
| 8 |
+
},
|
| 9 |
+
"bottleneck_type": "vae",
|
| 10 |
+
"causal": false,
|
| 11 |
+
"dec_anti_aliasing": false,
|
| 12 |
+
"dec_c_mults": [
|
| 13 |
+
1,
|
| 14 |
+
2,
|
| 15 |
+
4,
|
| 16 |
+
8,
|
| 17 |
+
16
|
| 18 |
+
],
|
| 19 |
+
"dec_dim": 320,
|
| 20 |
+
"dec_final_tanh": false,
|
| 21 |
+
"dec_out_channels": 2,
|
| 22 |
+
"dec_strides": [
|
| 23 |
+
2,
|
| 24 |
+
4,
|
| 25 |
+
5,
|
| 26 |
+
6,
|
| 27 |
+
8
|
| 28 |
+
],
|
| 29 |
+
"dec_type": "oobleck",
|
| 30 |
+
"dec_use_nearest_upsample": false,
|
| 31 |
+
"dec_use_snake": true,
|
| 32 |
+
"dec_use_tanh_at_final": false,
|
| 33 |
+
"enc_c_mults": [
|
| 34 |
+
1,
|
| 35 |
+
2,
|
| 36 |
+
4
|
| 37 |
+
],
|
| 38 |
+
"enc_dim": 192,
|
| 39 |
+
"enc_hop_length": 16,
|
| 40 |
+
"enc_identity_init": false,
|
| 41 |
+
"enc_intermediate_dim": 768,
|
| 42 |
+
"enc_latent_dim": 128,
|
| 43 |
+
"enc_n_fft": 64,
|
| 44 |
+
"enc_num_blocks": 2,
|
| 45 |
+
"enc_num_layers": 12,
|
| 46 |
+
"enc_strides": [
|
| 47 |
+
4,
|
| 48 |
+
5,
|
| 49 |
+
6
|
| 50 |
+
],
|
| 51 |
+
"enc_type": "spec_convnext",
|
| 52 |
+
"enc_use_snake": true,
|
| 53 |
+
"encoder_enabled": true,
|
| 54 |
+
"hop_size": 1920,
|
| 55 |
+
"input_channels": 1,
|
| 56 |
+
"latent_mean": null,
|
| 57 |
+
"latent_std": null,
|
| 58 |
+
"model_type": "autoencoder_v2",
|
| 59 |
+
"normalize_volume": true,
|
| 60 |
+
"padding_mode": "zeros",
|
| 61 |
+
"sampling_rate": 48000,
|
| 62 |
+
"snake_logscale": true,
|
| 63 |
+
"stereo": true,
|
| 64 |
+
"use_cuda_kernel": false,
|
| 65 |
+
"use_wav_as_input": true,
|
| 66 |
+
"vocoder_input_dim": 64
|
| 67 |
+
}
|
sound_tokenizer/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4b6da5975bf89f6853fe589ad4752d281ac79fbdfad52ea90537fa080b4b9c2
|
| 3 |
+
size 1985176840
|
text_tokenizer/added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
text_tokenizer/chat_template.jinja
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{%- if messages[0].content is string %}
|
| 5 |
+
{{- messages[0].content }}
|
| 6 |
+
{%- else %}
|
| 7 |
+
{%- for content in messages[0].content %}
|
| 8 |
+
{%- if 'text' in content %}
|
| 9 |
+
{{- content.text }}
|
| 10 |
+
{%- endif %}
|
| 11 |
+
{%- endfor %}
|
| 12 |
+
{%- endif %}
|
| 13 |
+
{{- '\n\n' }}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 16 |
+
{%- for tool in tools %}
|
| 17 |
+
{{- "\n" }}
|
| 18 |
+
{{- tool | tojson }}
|
| 19 |
+
{%- endfor %}
|
| 20 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 21 |
+
{%- else %}
|
| 22 |
+
{%- if messages[0].role == 'system' %}
|
| 23 |
+
{{- '<|im_start|>system\n' }}
|
| 24 |
+
{%- if messages[0].content is string %}
|
| 25 |
+
{{- messages[0].content }}
|
| 26 |
+
{%- else %}
|
| 27 |
+
{%- for content in messages[0].content %}
|
| 28 |
+
{%- if 'text' in content %}
|
| 29 |
+
{{- content.text }}
|
| 30 |
+
{%- endif %}
|
| 31 |
+
{%- endfor %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '<|im_end|>\n' }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endif %}
|
| 36 |
+
{%- set image_count = namespace(value=0) %}
|
| 37 |
+
{%- set video_count = namespace(value=0) %}
|
| 38 |
+
{%- for message in messages %}
|
| 39 |
+
{%- if message.role == "user" %}
|
| 40 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 41 |
+
{%- if message.content is string %}
|
| 42 |
+
{{- message.content }}
|
| 43 |
+
{%- else %}
|
| 44 |
+
{%- for content in message.content %}
|
| 45 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 46 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 47 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 48 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 49 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 50 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 51 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 52 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 53 |
+
{%- elif 'text' in content %}
|
| 54 |
+
{{- content.text }}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{%- endfor %}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{{- '<|im_end|>\n' }}
|
| 59 |
+
{%- elif message.role == "assistant" %}
|
| 60 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 61 |
+
{%- if message.content is string %}
|
| 62 |
+
{{- message.content }}
|
| 63 |
+
{%- else %}
|
| 64 |
+
{%- for content_item in message.content %}
|
| 65 |
+
{%- if 'text' in content_item %}
|
| 66 |
+
{{- content_item.text }}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{%- endfor %}
|
| 69 |
+
{%- endif %}
|
| 70 |
+
{%- if message.tool_calls %}
|
| 71 |
+
{%- for tool_call in message.tool_calls %}
|
| 72 |
+
{%- if (loop.first and message.content) or (not loop.first) %}
|
| 73 |
+
{{- '\n' }}
|
| 74 |
+
{%- endif %}
|
| 75 |
+
{%- if tool_call.function %}
|
| 76 |
+
{%- set tool_call = tool_call.function %}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 79 |
+
{{- tool_call.name }}
|
| 80 |
+
{{- '", "arguments": ' }}
|
| 81 |
+
{%- if tool_call.arguments is string %}
|
| 82 |
+
{{- tool_call.arguments }}
|
| 83 |
+
{%- else %}
|
| 84 |
+
{{- tool_call.arguments | tojson }}
|
| 85 |
+
{%- endif %}
|
| 86 |
+
{{- '}\n</tool_call>' }}
|
| 87 |
+
{%- endfor %}
|
| 88 |
+
{%- endif %}
|
| 89 |
+
{{- '<|im_end|>\n' }}
|
| 90 |
+
{%- elif message.role == "tool" %}
|
| 91 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 92 |
+
{{- '<|im_start|>user' }}
|
| 93 |
+
{%- endif %}
|
| 94 |
+
{{- '\n<tool_response>\n' }}
|
| 95 |
+
{%- if message.content is string %}
|
| 96 |
+
{{- message.content }}
|
| 97 |
+
{%- else %}
|
| 98 |
+
{%- for content in message.content %}
|
| 99 |
+
{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
|
| 100 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 101 |
+
{%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
|
| 102 |
+
<|vision_start|><|image_pad|><|vision_end|>
|
| 103 |
+
{%- elif content.type == 'video' or 'video' in content %}
|
| 104 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 105 |
+
{%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
|
| 106 |
+
<|vision_start|><|video_pad|><|vision_end|>
|
| 107 |
+
{%- elif 'text' in content %}
|
| 108 |
+
{{- content.text }}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- endfor %}
|
| 111 |
+
{%- endif %}
|
| 112 |
+
{{- '\n</tool_response>' }}
|
| 113 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 114 |
+
{{- '<|im_end|>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- endif %}
|
| 117 |
+
{%- endfor %}
|
| 118 |
+
{%- if add_generation_prompt %}
|
| 119 |
+
{{- '<|im_start|>assistant\n' }}
|
| 120 |
+
{%- endif %}
|
text_tokenizer/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
text_tokenizer/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
text_tokenizer/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
|
| 3 |
+
size 11422654
|
text_tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|im_end|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 262144,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"split_special_tokens": false,
|
| 237 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 238 |
+
"unk_token": null
|
| 239 |
+
}
|
text_tokenizer/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].content is string %}\n {{- messages[0].content }}\n {%- else %}\n {%- for content in messages[0].content %}\n {%- if 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set image_count = namespace(value=0) %}\n{%- set video_count = namespace(value=0) %}\n{%- for message in messages %}\n {%- if message.role == \"user\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role + '\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content_item in message.content %}\n {%- if 'text' in content_item %}\n {{- content_item.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and message.content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {%- if message.content is string %}\n {{- message.content }}\n {%- else %}\n {%- for content in message.content %}\n {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}\n {%- set image_count.value = image_count.value + 1 %}\n {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}\n <|vision_start|><|image_pad|><|vision_end|>\n {%- elif content.type == 'video' or 'video' in content %}\n {%- set video_count.value = video_count.value + 1 %}\n {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}\n <|vision_start|><|video_pad|><|vision_end|>\n {%- elif 'text' in content %}\n {{- content.text }}\n {%- endif %}\n {%- endfor %}\n {%- endif %}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 231 |
+
"clean_up_tokenization_spaces": false,
|
| 232 |
+
"eos_token": "<|im_end|>",
|
| 233 |
+
"errors": "replace",
|
| 234 |
+
"model_max_length": 262144,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"split_special_tokens": false,
|
| 237 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 238 |
+
"unk_token": null
|
| 239 |
+
}
|
transformer/config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "Cosmos3OmniTransformer",
|
| 3 |
+
"_diffusers_version": "0.39.0",
|
| 4 |
+
"action_dim": 32,
|
| 5 |
+
"action_gen": false,
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"base_fps": 24,
|
| 9 |
+
"enable_fps_modulation": true,
|
| 10 |
+
"head_dim": 128,
|
| 11 |
+
"hidden_size": 5120,
|
| 12 |
+
"intermediate_size": 25600,
|
| 13 |
+
"latent_channel": 48,
|
| 14 |
+
"latent_patch_size": 2,
|
| 15 |
+
"num_attention_heads": 64,
|
| 16 |
+
"num_embodiment_domains": 32,
|
| 17 |
+
"num_hidden_layers": 64,
|
| 18 |
+
"num_key_value_heads": 8,
|
| 19 |
+
"patch_latent_dim": 192,
|
| 20 |
+
"rms_norm_eps": 1e-06,
|
| 21 |
+
"rope_axes_dim": [
|
| 22 |
+
24,
|
| 23 |
+
20,
|
| 24 |
+
20
|
| 25 |
+
],
|
| 26 |
+
"rope_scaling": {
|
| 27 |
+
"mrope_interleaved": true,
|
| 28 |
+
"mrope_section": [
|
| 29 |
+
24,
|
| 30 |
+
20,
|
| 31 |
+
20
|
| 32 |
+
],
|
| 33 |
+
"rope_type": "default"
|
| 34 |
+
},
|
| 35 |
+
"rope_theta": 5000000,
|
| 36 |
+
"sound_dim": 64,
|
| 37 |
+
"sound_gen": true,
|
| 38 |
+
"sound_latent_fps": 25,
|
| 39 |
+
"timestep_scale": 0.001,
|
| 40 |
+
"unified_3d_mrope_reset_spatial_ids": true,
|
| 41 |
+
"unified_3d_mrope_temporal_modality_margin": 15000,
|
| 42 |
+
"vocab_size": 151936
|
| 43 |
+
}
|
transformer/diffusion_pytorch_model-00001-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5349680a92b755a6b4f813c0186b9289b4093f4735891b66626808ffcb48696c
|
| 3 |
+
size 4932297056
|
transformer/diffusion_pytorch_model-00002-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9fbb44119a6be9b98e9de8aaa23cfa3c4ab804abb55ea09f7185873a512bed4f
|
| 3 |
+
size 4802610968
|
transformer/diffusion_pytorch_model-00003-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b102b79ce0213884ca4aa390e0634fe5e99e778507ac155ca500da6a5928801b
|
| 3 |
+
size 4949368056
|
transformer/diffusion_pytorch_model-00004-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c62e65baa85861caa2b684e1f9c7d95a3007139b22a9a5e444b254ac2f251ac3
|
| 3 |
+
size 4802610968
|
transformer/diffusion_pytorch_model-00005-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77d145279dd84ebf82f86b8459cc94d013fbf414e4e57362b18aca2e001b5b3d
|
| 3 |
+
size 4949368096
|
transformer/diffusion_pytorch_model-00006-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0dda9f72e03cd55d73844c0335262961018b0398f3fb088f2c2dca6aaaafa8c
|
| 3 |
+
size 4802611024
|
transformer/diffusion_pytorch_model-00007-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c3c338914f8599819d8115ea74b6ea8017ba1f7f7f944a1dd29f9485408601b
|
| 3 |
+
size 4949368104
|
transformer/diffusion_pytorch_model-00008-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9317d6767840bf92efe9e7e14153d2921bb721d09704c81b55614eda6661b11
|
| 3 |
+
size 4802611024
|
transformer/diffusion_pytorch_model-00009-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32d5739c395bbdac89672507d5314781fc88d7c6cdcc8ccf358bf8610db9136b
|
| 3 |
+
size 4949368104
|
transformer/diffusion_pytorch_model-00010-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6411374f654df2f111912e0a8649a2408543f3a81efa2a7769489c193b2624aa
|
| 3 |
+
size 4802611024
|
transformer/diffusion_pytorch_model-00011-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b7ec78e856107a52df881eb80de575156de9e83c468458d13eedc3f335cb5c2
|
| 3 |
+
size 4949368104
|
transformer/diffusion_pytorch_model-00012-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4241caccf6cfbbeb380fb314354d65ea4be195e5b8b072bcf2ac7e44abaa6558
|
| 3 |
+
size 4802611024
|
transformer/diffusion_pytorch_model-00013-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e802d80b93b856ebc24897dfe311988eeafce729b4660094306e47fa305c50d
|
| 3 |
+
size 4949368104
|
transformer/diffusion_pytorch_model-00014-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f0a79b8bb4c0a88aca395115931fcbf3084326f9966fe60c2cdfe2fea6e26e7
|
| 3 |
+
size 4802611024
|
transformer/diffusion_pytorch_model-00015-of-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2146a965a535513e21c6c7547783ffbd585385533cb9b1b10d63e3388c4f26ba
|
| 3 |
+
size 4949368104
|