From 63ab28ac7560ac9c6760aa755f3d99c4d98005d8 Mon Sep 17 00:00:00 2001 From: Mihir Patel Date: Thu, 17 Oct 2024 16:24:54 -0400 Subject: [PATCH] fix --- llmfoundry/data/finetuning/dataloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmfoundry/data/finetuning/dataloader.py b/llmfoundry/data/finetuning/dataloader.py index 11db121085..6a1ee7a0c6 100644 --- a/llmfoundry/data/finetuning/dataloader.py +++ b/llmfoundry/data/finetuning/dataloader.py @@ -258,7 +258,7 @@ def build_finetuning_dataloader( k: v for k, v in dataset_cfg.items() if k in set(dataset_constructor_keys).union(extraneous_keys) and - k not in {'streams', 'packing_ratio'} + k not in {'streams', 'packing_ratio', 'replication'} } streaming_dataset = dataset_constructor.build_from_streaming(