dvilasuero HF staff commited on
Commit
aefe980
1 Parent(s): 0b6ba72

Fix input mappings :-D

Browse files
src/distilabel_dataset_generator/pipelines/sft.py CHANGED
@@ -223,7 +223,8 @@ def get_pipeline(num_turns, num_rows, system_prompt):
223
  "max_new_tokens": 1024
224
  },
225
  ),
226
- output_mappings={"generation": "completion"}
 
227
  )
228
 
229
  keep_columns = KeepColumns(
 
223
  "max_new_tokens": 1024
224
  },
225
  ),
226
+ output_mappings={"generation": "completion"},
227
+ input_mappings={"prompt": "instruction"}
228
  )
229
 
230
  keep_columns = KeepColumns(