[[autodoc]] isconversational
Data Utilities
is_conversational
[[autodoc]] is_conversational
maybe_convert_to_chatml
[[autodoc]] maybe_convert_to_chatml
extract_prompt
[[autodoc]] extract_prompt
unpair_preference_dataset
[[autodoc]] unpair_preference_dataset
Source and license
Source: TRL documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.