formatting_prompts_func
Function
This function is defined in the train module.Converts each example’s conversation into a single plain-text prompt. If the example has a “conversations” field, process it as ShareGPT-style. Otherwise, assume Alpaca-style data with “instruction”, “input”, and “output” fields.
Signature
Parameters
No description available.
No description available.
Returns
The result of the operation.

