Skip to content

Commit 1b32ed1

Browse files
Update README.md
1 parent 333605b commit 1b32ed1

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

  • small_language_model_pretraining/nemo

small_language_model_pretraining/nemo/README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ After the data consolidation is done, we can run this [script](./utils/preproces
9797
```bash
9898
# fill in the built container path here
9999
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
101101
# please refer to the tokenizer section above for more details
102102
export TOKENIZER_PATH=""
103103
# 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.
137137
| Config | Value |
138138
| :-- | :-- |
139139
| Embedding | RoPE + parameter adjustments |
140-
| # Layers | 126 |
140+
| # Layers | 32 |
141141
| Attention Type | GQA |
142-
| # Attn Heads | 128 |
142+
| # Attn Heads | 32 |
143143
| Key/Value Heads | 8 |
144-
| Model Dimension | 16,384 |
145-
| Hidden Dimension | 53248 |
144+
| Model Dimension | 4096 |
145+
| FFN Dimension | 14336 |
146146
| Activation | SwiGLU |
147147
| Normalization | RMSNorm |
148-
| Tokenizer | Mixtral 8x22B tokenizer |
149-
| Vocab size | 32,000 |
148+
| Tokenizer | Llama tokenizer |
149+
| Vocab size | 128,000 |
150150
| Context Length | 8192 |
151151

152152

@@ -171,7 +171,7 @@ Validation loss
171171

172172
### Quality target
173173

174-
Validation log perplexity = 5.6
174+
Validation log perplexity = yet to determine
175175

176176
### Evaluation frequency
177177

@@ -184,10 +184,6 @@ We evaluate using **5,760** sequences from our customized validation dataset.
184184

185185
# 6. Other
186186

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.
190-
191187

192188

193189
### HuggingFace Checkpoint Preprocessing

0 commit comments

Comments
 (0)