You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nemo_vfm/diffusion/vae/readme.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,11 @@ Data Preparation
49
49
.. code-block:: bash
50
50
51
51
000000.tar
52
-
├── 1.jpg
53
-
├── 2.jpg
52
+
├── 1.jpg
53
+
├── 2.jpg
54
54
000001.tar
55
-
├── 3.jpg
56
-
├── 4.jpg
55
+
├── 3.jpg
56
+
├── 4.jpg
57
57
58
58
2. next we need to index the webdataset with `energon <https://nvidia.github.io/Megatron-Energon/>`_. navigate to the dataset directory and run the following command:
Copy file name to clipboardExpand all lines: nemo_vfm/physicalai/Cosmos/cosmos1/models/autoregressive/nemo/post_training/tokenizer/README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,20 +49,20 @@ The NeMo Framework supports the following Cosmos Autoregressive (AR) models for
49
49
50
50
## Why Change Tokenizers?
51
51
52
-
Cosmos Autoregressive models are typically trained on a specific tokenizer configuration (e.g., 8×16×16). If you’d like to reduce patch size or change compression (e.g., to 4×8×8), you can post-train the existing weights so that the model effectively aligns its internal representations with the new token embeddings—without re-training the tokenizer.
52
+
Cosmos Autoregressive models are typically trained on a specific tokenizer configuration (e.g., 8×16×16). If you'd like to reduce patch size or change compression (e.g., to 4×8×8), you can post-train the existing weights so that the model effectively aligns its internal representations with the new token embeddings—without re-training the tokenizer.
53
53
54
54
## Tutorial: Finetuning Cosmos-4B on 10k Videos with a New Tokenizer
55
55
56
56
In this tutorial, we will:
57
-
- Take a model originally trained on an 8×16×16 tokenizer.
58
-
- Post-train it on a 4×8×8 tokenizer.
57
+
- Take a model originally trained on an 8×16×16 tokenizer.
58
+
- Post-train it on a 4×8×8 tokenizer.
59
59
- Demonstrate using a sample dataset of 10 (in production, we recommend using 10k videos from a distribution similar to that of pretraining).
- Adjust parameters such as `--max_steps`, `--global_batch_size`, and `--lr` to suit your needs.
140
-
- Ensure that `--model_path` matches the checkpoint originally trained on an 8×16×16 tokenizer.
140
+
- Ensure that `--model_path` matches the checkpoint originally trained on an 8×16×16 tokenizer.
141
141
- For an explanation on other configuration options, please see [the general post-training tutorial](https://github.com/NVIDIA/Cosmos/blob/main/cosmos1/models/autoregressive/nemo/post_training/README.md#configuration-options).
0 commit comments