Datasets:
format string | version int64 | mask_alignment string | tokenizer string | chat_template_sha256 string | role_ids dict | shards list | documents int64 | tokens int64 | supervised_tokens int64 | zero_supervision_documents int64 | embedded_marker_documents int64 | roundtrip_samples int64 | max_document_tokens int64 | documents_over_length dict | all_rows_source_text_and_decoded_tokens_verified bool | smoke bool | selection_split string | selection_source string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
indexed_sft | 1 | unshifted_target_tokens | /work/yanan/data/tokenizer-deepseekv3-olmo-chat | a3d6a7ad3fde8e26fa9953d80ac30682f7d56ac1d03f3428910a4239a4e23bef | {
"system": 1,
"user": 2,
"assistant": 3,
"tool": 4,
"environment": 4
} | [
{
"tokens": "/work/yanan/data/dolci-indexed-sft/Dolci-Instruct-SFT/train-00000-of-00015.rg-00000.tokens",
"roles": "/work/yanan/data/dolci-indexed-sft/Dolci-Instruct-SFT/train-00000-of-00015.rg-00000.roles",
"mask": "/work/yanan/data/dolci-indexed-sft/Dolci-Instruct-SFT/train-00000-of-00015.rg-00000.mas... | 2,152,112 | 1,863,846,181 | 764,046,498 | 0 | 0 | 2,430 | 616,165 | {
"8192": 15193,
"16384": 3556,
"32768": 1738,
"65536": 796,
"131072": 726
} | true | false | train | /work/yanan/data/dolci-indexed-sft/Dolci-Instruct-SFT/manifest.json |
Dolci Instruct: Megatron indexed SFT, 32K CP=1
This repository contains the pretokenized Megatron dataset and exact sequential packing indexes used to train the Instruct checkpoint at iteration 3378. It is not a model checkpoint or a raw-text/Parquet dataset.
For fresh SFT and checkpoint resume instructions, see START_SFT.md.
The included launch_sft.sh defaults to dry-run; model.yaml preserves the original
model configuration. Base weights and a compatible modified Megatron checkout are
required separately and are not backed up by this dataset repository.
Provenance and configuration
- Source: allenai/Dolci-Instruct-SFT
- Source revision:
bd3c8f3a9b2cc5a9682e44b96ddd0bb2ff027221 - Tokenizer: DeepSeek-V3 vocabulary with the included OLMo-style chat template.
- Sequence length: 32,768; context parallel size: 1.
- Training split: 2,141,345 documents, 54,036 packs per epoch.
- Validation split: 10,761 documents, 271 packs.
- Training run: 3,378 optimizer steps, global batch size 32, 108,096 consumed packs (two epochs). The stored shard corpus includes documents excluded by packing; use the supplied packing indexes to reproduce the selected splits.
- Supervision masks align with unshifted target tokens; the Megatron loader handles next-token shifting. Do not shift the stored masks a second time.
Files
shards/: 270 shard prefixes, each withtokens,roles, andmask.bin/.idxpairs, plus the original source manifest. Train/validation share the shard corpus.packing/: exact CP=1 train/validation manifests and.packing.npzindexes, split map, packing map, and counts. Original files retain original absolute paths so their embedded manifest checksums remain valid.tokenizer/: tokenizer JSON, tokenizer configuration, and chat template.prepare_local.py: rebases manifests and packing-map paths after download; updates manifest checksums without altering selected sample IDs or pack offsets.SOURCE_README.md: original upstream dataset card, including source attribution.SHA256SUMS: checksums for all payload files (excluding this checksum file).
Download and use
hf download xfxcwynlc/instruct_olmo_tokenized_sft --repo-type dataset --local-dir ./instruct_sft
python -m pip install numpy
python ./instruct_sft/prepare_local.py
Use the three printed paths as DATA_SPLITS_JSON, PACKING_INDEX_MAP, and
TOKENIZER. Enable SFT_PRETOKENIZED=1, SFT_PACKING=1, SEQ_LEN=32768, CP=1
in a compatible Megatron training implementation.
This is the custom indexed_sft version-1 format with tokens, roles, masks, and
separate packing indexes. A stock GPT-only .bin/.idx loader is insufficient.
The Hugging Face tabular dataset viewer / datasets.load_dataset is not the
intended loader. Download the repository files instead.
Attribution and use
The upstream Dolci collection declares ODC-BY and research/educational intent;
see SOURCE_README.md for component sources and applicable terms. This processing
does not replace upstream dataset or tokenizer terms. Tokenization is reversible
and is not a privacy/anonymization measure. No training logs, model weights, or
authentication credentials are included.
- Downloads last month
- 426