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: small_language_model_pretraining/nemo/README.md
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ After the data consolidation is done, we can run this [script](./utils/preproces
97
97
```bash
98
98
# fill in the built container path here
99
99
export CONT_IMAGE_URL=""
100
-
# pass in the folder path that contains the Mixtral tokenizer here
100
+
# pass in the folder path that contains the Llama tokenizer here
101
101
# please refer to the tokenizer section above for more details
102
102
export TOKENIZER_PATH=""
103
103
# pass in the merged file path here
@@ -137,16 +137,16 @@ The model largely follows the Llama 3.1 405B [paper](https://arxiv.org/abs/2407.
137
137
| Config | Value |
138
138
| :-- | :-- |
139
139
| Embedding | RoPE + parameter adjustments |
140
-
| # Layers |126|
140
+
| # Layers |32|
141
141
| Attention Type | GQA |
142
-
| # Attn Heads |128|
142
+
| # Attn Heads |32|
143
143
| Key/Value Heads | 8 |
144
-
| Model Dimension |16,384|
145
-
|Hidden Dimension |53248|
144
+
| Model Dimension |4096|
145
+
|FFN Dimension |14336|
146
146
| Activation | SwiGLU |
147
147
| Normalization | RMSNorm |
148
-
| Tokenizer |Mixtral 8x22B tokenizer |
149
-
| Vocab size |32,000 |
148
+
| Tokenizer |Llama tokenizer |
149
+
| Vocab size |128,000 |
150
150
| Context Length | 8192 |
151
151
152
152
@@ -171,7 +171,7 @@ Validation loss
171
171
172
172
### Quality target
173
173
174
-
Validation log perplexity = 5.6
174
+
Validation log perplexity = yet to determine
175
175
176
176
### Evaluation frequency
177
177
@@ -184,10 +184,6 @@ We evaluate using **5,760** sequences from our customized validation dataset.
184
184
185
185
# 6. Other
186
186
187
-
#### Prepare tokenizer
188
-
189
-
We use Mixtral 8x22B tokenizer in this benchmark. Tokenizer files can be downloaded [here](https://huggingface.co/mistralai/Mixtral-8x22B-v0.1/tree/main). Only the five files containing tokenizer-related contents (`special_tokens_map.json`, `tokenizer.json`, `tokenizer.model`, `tokenizer.model.v1`, `tokenizer_config.json`) are needed.
0 commit comments