From 644c493d107f7921ad1fcfd9c9113975f22b7f96 Mon Sep 17 00:00:00 2001 From: maxreciprocate <56548574+maxreciprocate@users.noreply.github.com> Date: Mon, 24 Jul 2023 13:51:23 +0300 Subject: [PATCH] fix style --- trlx/pipeline/ppo_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trlx/pipeline/ppo_pipeline.py b/trlx/pipeline/ppo_pipeline.py index 19bae03af..2b1ea374e 100644 --- a/trlx/pipeline/ppo_pipeline.py +++ b/trlx/pipeline/ppo_pipeline.py @@ -84,7 +84,7 @@ def filter_text(d, only_text): d.pop(key) return d - data = [filter_text(exp_to_dict(exp), only_text) for exp in self.history] + data = [filter_text(exp_to_dict(exp), only_text) for exp in self.history] with open(fpath, "w") as f: f.write(json.dumps(data, indent=2))