Skip to content

Commit

Permalink
🐛 Style Transfer: remove keywords insertion at the gen dataset creation
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmeoni committed Nov 4, 2024
1 parent 898bb09 commit c456dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/style-transfer/style_transfer/rb_gen/steps/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def batch_generate(cfg, step, dataloader, llm, wb_ds_name) -> Dataset:
)
batch_logs = {
"prompts": batch["query"],
"ground_texts": batch["text"],
"ground_texts": batch["ground_texts"],
}
batch_logs = {**batch_logs, **flattened_gs_dict}
gen_df = pd.DataFrame.from_dict(batch_logs)
Expand Down

0 comments on commit c456dc0

Please sign in to comment.