Cosmos
Safetensors
nvidia
harrim-nv commited on
Commit
158476e
·
verified ·
1 Parent(s): 62bb765

Upload folder using huggingface_hub

Browse files
Files changed (7) hide show
  1. .gitattributes +1 -0
  2. README.md +223 -0
  3. config.json +15 -0
  4. model.pt +3 -0
  5. special_tokens_map.json +23 -0
  6. tokenizer.json +0 -0
  7. tokenizer_config.json +0 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* 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
 
 
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
+ Cosmos-1.0-Guardrail/aegis/models--nvidia--Aegis-AI-Content-Safety-LlamaGuard-Defensive-1.0/blobs/d79b29a0b9ab36db8038e39e847b3c81ebd56dd8d796551943ea4b43b2e6c55c filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: nvidia-open-model-license
4
+ license_link: >-
5
+ https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license
6
+ library_name: cosmos
7
+ tags:
8
+ - nvidia
9
+ - nemo
10
+ - cosmos
11
+ extra_gated_prompt: >-
12
+ # NVIDIA Open Model License Agreement
13
+
14
+ Version Release Date: January 6, 2025
15
+
16
+ This NVIDIA Open Model License Agreement (the "<ins>Agreement</ins>") is a legal agreement between the Legal Entity You represent, or if no entity is identified, You and NVIDIA Corporation and its Affiliates ("<ins>NVIDIA</ins>") and governs Your use of the Models that NVIDIA provides to You under this Agreement. NVIDIA and You are each a "<ins>party</ins>" and collectively the "<ins>parties</ins>."
17
+
18
+ NVIDIA models released under this Agreement are intended to be used permissively and enable the further development of AI technologies. Subject to the terms of this Agreement, NVIDIA confirms that:
19
+
20
+ * Models are commercially usable.
21
+
22
+ * You are free to create and distribute Derivative Models.
23
+
24
+ * NVIDIA does not claim ownership to any outputs generated using the Models or Model Derivatives.
25
+
26
+ By using, reproducing, modifying, distributing, performing or displaying any portion or element of the Model or Derivative Model, or otherwise accepting the terms of this Agreement, you agree to be bound by this Agreement.
27
+
28
+ ## 1. Definitions
29
+
30
+ The following definitions apply to this Agreement:
31
+
32
+ 1.1. "<ins>NVIDIA Cosmos Model</ins>" means a multimodal Model shared under this Agreement.
33
+
34
+ 1.2. "<ins>Derivative Model</ins>" means all (a) modifications to the Model, (b) works based on the Model, and (c) any other derivative works of the Model. An output is not a Derivative Model.
35
+
36
+ 1.3. "<ins>Legal Entity</ins>" means the union of the acting entity and all other entities that <ins>control</ins>, are controlled by, or are under common control with that entity. For the purposes of this definition, "<ins>control</ins>" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of fifty percent (50%) or more of the outstanding shares, or (c) beneficial ownership of such entity.
37
+
38
+ 1.4. "<ins>Model</ins>" means the machine learning model, software, checkpoints, learnt weights, algorithms, parameters, configuration files and documentation shared under this Agreement.
39
+
40
+ 1.5. "<ins>You</ins>" or "<ins>Your</ins>" means an individual or Legal Entity exercising permissions granted by this Agreement.
41
+
42
+ ## 2. Conditions for Use, License Grant, AI Ethics and IP Ownership
43
+
44
+ 2.1. Conditions for Use. The Model and any Derivative Model are subject to additional terms as described in Section 2 and Section 3 of this Agreement and govern Your use. If You institute copyright or patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Model or a Derivative Model constitutes direct or contributory copyright or patent infringement, then any licenses granted to You under this Agreement for that Model or Derivative Model will terminate as of the date such litigation is filed. If You bypass, disable, reduce the efficacy of, or circumvent any technical limitation, safety guardrail or associated safety guardrail hyperparameter, encryption, security, digital rights management, or authentication mechanism contained in the Model, your rights under this Agreement will automatically terminate. NVIDIA may update this Agreement to comply with legal and regulatory requirements at any time and You agree to either comply with any updated license or cease Your copying, use, and distribution of the Model and any Derivative Model.
45
+
46
+ 2.2. License Grant. The rights granted herein are explicitly conditioned on Your full compliance with the terms of this Agreement. Subject to the terms and conditions of this Agreement, NVIDIA hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, revocable (as stated in Section 2.1) license to publicly perform, publicly display, reproduce, use, create derivative works of, make, have made, sell, offer for sale, distribute (through multiple tiers of distribution) and import the Model.
47
+
48
+ 2.3. AI Ethics. Use of the Models under the Agreement must be consistent with NVIDIA's Trustworthy AI terms found at https://www.nvidia.com/en-us/agreements/trustworthy-ai/terms/.
49
+
50
+ 2.4. NVIDIA owns the Model and any Model Derivatives created by NVIDIA. Subject to NVIDIA's underlying ownership rights in the Model or its Model Derivatives, You are and will be the owner of Your Model Derivatives. NVIDIA claims no ownership rights in outputs. You are responsible for outputs and their subsequent uses. Except as expressly granted in this Agreement, (a) NVIDIA reserves all rights, interests and remedies in connection with the Model and (b) no other license or right is granted to you by implication, estoppel or otherwise.
51
+
52
+ ## 3. Redistribution
53
+
54
+ You may reproduce and distribute copies of the Model or Derivative Models thereof in any medium, with or without modifications, provided that You meet the following conditions:
55
+
56
+ 3.1. If you distribute the Model, You must give any other recipients of the Model a copy of this Agreement and include the following attribution notice within a "Notice" text file with such copies: "Licensed by NVIDIA Corporation under the NVIDIA Open Model License";
57
+
58
+ 3.2. If you distribute or make available a NVIDIA Cosmos Model, or a product or service (including an AI model) that contains or uses a NVIDIA Cosmos Model, use a NVIDIA Cosmos Model to create a Derivative Model, or use a NVIDIA Cosmos Model or its outputs to create, train, fine tune, or otherwise improve an AI model, you will include "Built on NVIDIA Cosmos" on a related website, user interface, blogpost, about page, or product documentation; and
59
+
60
+ 3.3. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Models as a whole, provided Your use, reproduction, and distribution of the Model otherwise complies with the conditions stated in this Agreement.
61
+
62
+ ## 4. Trademarks
63
+
64
+ This Agreement does not grant permission to use the trade names, trademarks, service marks, or product names of NVIDIA, except as required for reasonable and customary use in describing the origin of the Model and reproducing the content of the "Notice" text file.
65
+
66
+ ## **5. Disclaimer of Warranty**
67
+
68
+ **Unless required by applicable law or agreed to in writing, NVIDIA provides the Model on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Model, Derivative Models and outputs and assume any risks associated with Your exercise of permissions under this Agreement.**
69
+
70
+ ## **6. Limitation of Liability**
71
+
72
+ **In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, will NVIDIA be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this Agreement or out of the use or inability to use the Model, Derivative Models or outputs (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if NVIDIA has been advised of the possibility of such damages.**
73
+
74
+ ## 7. Indemnity
75
+
76
+ You will indemnify and hold harmless NVIDIA from and against any claim by any third party arising out of or related to your use or distribution of the Model, Model Derivatives or outputs.
77
+
78
+ ## 8. Feedback
79
+
80
+ NVIDIA appreciates your feedback, and You agree that NVIDIA may use it without restriction or compensation to You.
81
+
82
+ ## 9. Governing Law
83
+
84
+ This Agreement will be governed in all respects by the laws of the United States and the laws of the State of Delaware, without regard to conflict of laws principles or the United Nations Convention on Contracts for the International Sale of Goods. The state and federal courts residing in Santa Clara County, California will have exclusive jurisdiction over any dispute or claim arising out of or related to this Agreement, and the parties irrevocably consent to personal jurisdiction and venue in those courts; except that, either party may apply for injunctive remedies or an equivalent type of urgent legal relief in any jurisdiction.
85
+
86
+ ## 10. Trade and Compliance
87
+
88
+ You agree to comply with all applicable export, import, trade and economic sanctions laws and regulations, as amended, including without limitation U.S. Export Administration Regulations and Office of Foreign Assets Control regulations. These laws include restrictions on destinations, end-users and end-use.
89
+ extra_gated_fields:
90
+ By clicking Submit below, I accept the terms of the NVIDIA Open Model License Agreement and acknowledge that I am an adult of legal age of majority in the country in which the Cosmos Models will be used and have authority to accept this Agreement: checkbox
91
+ extra_gated_description: >-
92
+ The information you provide will be collected, stored, processed and shared in accordance with the [NVIDIA Privacy Policy](https://www.nvidia.com/en-us/about-nvidia/privacy-policy/).
93
+ extra_gated_button_content: Submit
94
+ ---
95
+ # **Cosmos-1.0 Prompt Upsampler Text2World**
96
+
97
+ [**Cosmos**](https://huggingface.co/collections/nvidia/cosmos-6751e884dc10e013a0a0d8e6) | [**Code**](https://github.com/NVIDIA/Cosmos) | [**Paper**](https://arxiv.org/abs/2501.03575) | [**Paper Website**](https://research.nvidia.com/labs/dir/cosmos1/)
98
+
99
+
100
+ ## Description:
101
+
102
+ Cosmos-1.0-Prompt-Upsampler-Text2World is a large language model (LLM) designed to transform original input prompts into more detailed and enriched versions. It improves the prompts by adding more details and maintaining a consistent description structure before they are used in a text-to-world model, which generally leads to higher quality outputs. This model is ready for commercial use.
103
+
104
+ ### License:
105
+ This model is released under the [NVIDIA Open Model License](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license). For a custom license, please contact [[email protected]](mailto:[email protected]).
106
+
107
+ Under the NVIDIA Open Model License, NVIDIA confirms:
108
+
109
+ * Models are commercially usable.
110
+ * You are free to create and distribute Derivative Models.
111
+ * NVIDIA does not claim ownership to any outputs generated using the Models or Derivative Models.
112
+
113
+ **Important Note**: If you bypass, disable, reduce the efficacy of, or circumvent any technical limitation, **safety guardrail** or
114
+ associated safety guardrail hyperparameter, encryption, security, digital rights management, or authentication mechanism contained
115
+ in the Model, your rights under [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license) will automatically terminate.
116
+ * [Cosmos-1.0-Guardrail](https://huggingface.co/nvidia/Cosmos-1.0-Guardrail) is the safety guardrail for this model.
117
+
118
+ ## Model Architecture:
119
+ **Architecture Type:** Transformer <br>
120
+ **Network Architecture:** [Mistral-NeMo-12B-Instruct](https://huggingface.co/nvidia/Mistral-NeMo-12B-Instruct) <br>
121
+
122
+ ## Input:
123
+ **Input Type(s):** Text <br>
124
+ **Input Format:** String <br>
125
+ **Input Parameters:** One-dimensional (1D) <br>
126
+ **Other Properties Related to Input:** Max of 512 tokens<br>
127
+
128
+ ## Output:
129
+ **Output Type(s):** Text <br>
130
+ **Output Format:** String <br>
131
+ **Output Parameters:** One-dimensional (1D) <br>
132
+ **Other Properties Related to Output:** Max of 512 tokens <br>
133
+
134
+
135
+ ## Software Integration:
136
+ **Runtime Engine(s):**
137
+ * [Cosmos](https://github.com/NVIDIA/Cosmos)
138
+
139
+ **Supported Hardware Microarchitecture Compatibility:** <br>
140
+ * NVIDIA Ampere <br>
141
+ * NVIDIA Hopper <br>
142
+ **Supported Operating System(s):** Linux <br>
143
+
144
+ ## Model Version:
145
+ The initial release (v1.0) of Cosmos Prompt Upsampler contains the following model:
146
+ - [Cosmos-1.0-Prompt-Upsampler-12B-Text2World](https://huggingface.co/nvidia/Cosmos-1.0-Prompt-Upsampler-12B-Text2World)
147
+
148
+ # Usage
149
+
150
+ See [Cosmos](https://github.com/NVIDIA/Cosmos) for on how to use the model.
151
+
152
+
153
+ Example:
154
+
155
+ * Input: `"A dog is playing with a ball."`
156
+ * Output: `"The video is a close-up, dynamic scene featuring a dog interacting with a ball. The setting is a simple, indoor environment with a plain, light-colored wall in the background. The dog, a medium-sized breed with a light brown coat and a white chest, is the central focus. It is actively engaged in playing with a small, red ball. The dog's ears are perked up, and its mouth is open, indicating excitement and playfulness. Throughout the video, the dog is seen holding the ball in its mouth, occasionally shaking its head and moving its body in a playful manner. The camera remains static, capturing the dog's movements from a consistent angle, allowing the viewer to focus on the dog's expressions and actions. The lighting is bright and even, highlighting the dog's fur and the vibrant color of the ball. The dog's tail is wagging, adding to the sense of joy and energy in the scene. The video captures the essence of a playful interaction between a pet and its owner, emphasizing the bond and the simple joy of playtime."`
157
+
158
+
159
+
160
+
161
+ ## Ethical Considerations
162
+ 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. When downloaded or used in accordance with our terms of service, 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.
163
+
164
+ For more detailed information on ethical considerations for this model, please see the subcards of Explainability, Bias, Safety & Security, and Privacy below. Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
165
+
166
+ ### Plus Plus (++) Promise
167
+
168
+ We value you, the datasets, the diversity they represent, and what we have been entrusted with. This model and its associated data have been:
169
+ * Verified to comply with current applicable disclosure laws, regulations, and industry standards.
170
+ * Verified to comply with applicable privacy labeling requirements.
171
+ * Annotated to describe the collector/source (NVIDIA or a third-party).
172
+ * Characterized for technical limitations.
173
+ * Reviewed to ensure proper disclosure is accessible to, maintained for, and in compliance with NVIDIA data subjects and their requests.
174
+ * Reviewed before release.
175
+ * Tagged for known restrictions and potential safety implications.
176
+
177
+ ### Bias
178
+
179
+ Field | Response
180
+ :---------------------------------------------------------------------------------------------------|:---------------
181
+ Participation considerations from adversely impacted groups [protected classes](https://www.senate.ca.gov/content/protected-classes) in model design and testing: | None
182
+ Measures taken to mitigate against unwanted bias: | None
183
+
184
+
185
+ ### Explainability
186
+
187
+ Field | Response
188
+ :------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------
189
+ Intended Application & Domain: | Text prompt enrichment for world generation
190
+ Model Type: | Transformer
191
+ Intended Users: | Generative AI developers for world generation models
192
+ Output: | Text
193
+ Describe how the model works: | Transform original input prompts into more detailed and enriched versions
194
+ Technical Limitations: | The model may not follow input text prompt accurately and may have incorrect responses or generate incorrect information.
195
+ Verified to have met prescribed NVIDIA quality standards: | Yes
196
+ Performance Metrics: | Human Evaluation
197
+ Potential Known Risks: | The model's output can generate all forms of text, including what may be considered toxic, offensive, or indecent.
198
+ Licensing: | [NVIDIA Open Model License](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license)
199
+
200
+
201
+ ### Privacy
202
+ Field | Response
203
+ :----------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------
204
+ Generatable or reverse engineerable personal information? | None Known
205
+ Protected class data used to create this model? | None Known
206
+ Was consent obtained for any personal data used? | None Known
207
+ How often is dataset reviewed? | Before Release
208
+ Is a mechanism in place to honor data subject right of access or deletion of personal data? | Not Applicable
209
+ If personal data was collected for the development of the model, was it collected directly by NVIDIA? | Not Applicable
210
+ If personal data was collected for the development of the model by NVIDIA, do you maintain or have access to disclosures made to data subjects? | Not Applicable
211
+ If personal data was collected for the development of this AI model, was it minimized to only what was required? | Not Applicable
212
+ Is there provenance for all datasets used in training? | Yes
213
+ Does data labeling (annotation, metadata) comply with privacy laws? | Yes
214
+ Is data compliant with data subject requests for data correction or removal, if such a request was made? | Not Applicable
215
+
216
+ ### Safety
217
+
218
+ Field | Response
219
+ :---------------------------------------------------|:----------------------------------
220
+ Model Application(s): | Prompt enrichment for world generation
221
+ Describe the life critical impact (if present). | None Known
222
+ Use Case Restrictions: | [NVIDIA Open Model License](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license)
223
+ 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. Model checkpoints are made available on Hugging Face, and may become available on cloud providers' model catalog.
config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_size": "12b",
3
+ "input_types": [
4
+ "text"
5
+ ],
6
+ "dim": 5120,
7
+ "n_layers": 40,
8
+ "head_dim": 128,
9
+ "hidden_dim": 14336,
10
+ "n_heads": 32,
11
+ "n_kv_heads": 8,
12
+ "norm_eps": 1e-05,
13
+ "vocab_size": 131072,
14
+ "rope_theta": 1000000.0
15
+ }
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70d5266fe6b36c5b41f3985cfda6b71de6445d5b02faacf9ae6a8fb02a31316c
3
+ size 24495692872
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff