From 8c29021a1943cdfbbbd6fdd2c6e5b3a76cdc1df2 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 3 Jul 2024 22:38:11 -0400 Subject: [PATCH] iterblock: remove duplicate line of code Signed-off-by: Russell Bryant --- src/instructlab/sdg/iterblock.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/instructlab/sdg/iterblock.py b/src/instructlab/sdg/iterblock.py index 21a20470..31726b12 100644 --- a/src/instructlab/sdg/iterblock.py +++ b/src/instructlab/sdg/iterblock.py @@ -14,7 +14,6 @@ def __init__(self, block_name, num_iters, block_type, block_kwargs, **kwargs): self.num_iters = num_iters self.block = block_type(**block_kwargs) self.gen_kwargs = kwargs.get("gen_kwargs", {}) - self.gen_kwargs = kwargs.get("gen_kwargs", {}) def generate(self, samples, **gen_kwargs) -> Dataset: generated_samples = []