README: script paths (pretraining/passk/)
Browse files
README.md
CHANGED
|
@@ -17,7 +17,7 @@ as in the authors' code ([rosieyzh/openrlhf-pretrain](https://github.com/rosieyz
|
|
| 17 |
(vocab 32000; the copy shipped with the authors' checkpoints, identical to `meta-llama/Llama-2-7b-hf`),
|
| 18 |
one `</s>` (id 2) after every document, no BOS, documents shuffled with seed 0. Question-answer sources are
|
| 19 |
`question + "\n\n" + solution` with no chat template. Produced by
|
| 20 |
-
`PRETRAINING-PASSK/OLMo-mathonly/flame/data/tokenize_all.sh`.
|
| 21 |
|
| 22 |
## Layout
|
| 23 |
|
|
@@ -41,7 +41,7 @@ token count.
|
|
| 41 |
|
| 42 |
The paper's mixtures (model-card naming: `as` Algebraic-Stack, `fm3` FineMath-3+, `tg` TinyGSM, `omi1`/`omi2`
|
| 43 |
OpenMathInstruct-1/2, `mmqa` MetaMathQA, `<n>x` = n passes) are built from these pieces as directories of
|
| 44 |
-
symlinks, n copies per pass (`
|
| 45 |
one epoch at 512 x 2048 tokens per step.
|
| 46 |
|
| 47 |
Note: the authors' OpenMathInstruct-2 script globs `*.parquet`, which on the hub also matches the
|
|
@@ -51,7 +51,7 @@ only, as the paper describes.
|
|
| 51 |
## Fetching
|
| 52 |
|
| 53 |
```bash
|
| 54 |
-
bash PRETRAINING-PASSK/OLMo-mathonly/flame/data/download_from_hf.sh /tmp/$USER-mathonly-data # parallel resumable curl
|
| 55 |
```
|
| 56 |
|
| 57 |
Licenses follow the upstream datasets (ODC-By for FineMath, the Proof-Pile-2 subset licenses for
|
|
|
|
| 17 |
(vocab 32000; the copy shipped with the authors' checkpoints, identical to `meta-llama/Llama-2-7b-hf`),
|
| 18 |
one `</s>` (id 2) after every document, no BOS, documents shuffled with seed 0. Question-answer sources are
|
| 19 |
`question + "\n\n" + solution` with no chat template. Produced by
|
| 20 |
+
`PRETRAINING-PASSK/OLMo-mathonly/pretraining/passk/flame/data/tokenize_all.sh`.
|
| 21 |
|
| 22 |
## Layout
|
| 23 |
|
|
|
|
| 41 |
|
| 42 |
The paper's mixtures (model-card naming: `as` Algebraic-Stack, `fm3` FineMath-3+, `tg` TinyGSM, `omi1`/`omi2`
|
| 43 |
OpenMathInstruct-1/2, `mmqa` MetaMathQA, `<n>x` = n passes) are built from these pieces as directories of
|
| 44 |
+
symlinks, n copies per pass (`pretraining/passk/data/make_mix.py`, the authors' `mix_datasets.py`), and trained for
|
| 45 |
one epoch at 512 x 2048 tokens per step.
|
| 46 |
|
| 47 |
Note: the authors' OpenMathInstruct-2 script globs `*.parquet`, which on the hub also matches the
|
|
|
|
| 51 |
## Fetching
|
| 52 |
|
| 53 |
```bash
|
| 54 |
+
bash PRETRAINING-PASSK/OLMo-mathonly/pretraining/passk/flame/data/download_from_hf.sh /tmp/$USER-mathonly-data # parallel resumable curl
|
| 55 |
```
|
| 56 |
|
| 57 |
Licenses follow the upstream datasets (ODC-By for FineMath, the Proof-Pile-2 subset licenses for
|