Fix output mappings
Browse files
src/distilabel_dataset_generator/pipelines/sft.py
CHANGED
|
@@ -209,7 +209,7 @@ def get_pipeline(num_turns, num_rows, system_prompt):
|
|
| 209 |
n_turns=num_turns,
|
| 210 |
num_rows=num_rows,
|
| 211 |
system_prompt=system_prompt,
|
| 212 |
-
output_mappings=
|
| 213 |
only_instruction=True
|
| 214 |
)
|
| 215 |
|
|
@@ -222,6 +222,7 @@ def get_pipeline(num_turns, num_rows, system_prompt):
|
|
| 222 |
"temperature": 0.8,
|
| 223 |
"max_new_tokens": 1024
|
| 224 |
},
|
|
|
|
| 225 |
)
|
| 226 |
)
|
| 227 |
|
|
|
|
| 209 |
n_turns=num_turns,
|
| 210 |
num_rows=num_rows,
|
| 211 |
system_prompt=system_prompt,
|
| 212 |
+
output_mappings={"instruction": "prompt"},
|
| 213 |
only_instruction=True
|
| 214 |
)
|
| 215 |
|
|
|
|
| 222 |
"temperature": 0.8,
|
| 223 |
"max_new_tokens": 1024
|
| 224 |
},
|
| 225 |
+
output_mappings={"generation": "completion"}
|
| 226 |
)
|
| 227 |
)
|
| 228 |
|