Skip to content

Implement a canonical function to convert rendered samples to external formats (e.g. ChatML) #2996

@GabrielBianconi

Description

@GabrielBianconi

The upcoming Unsloth notebook has message_to_chatml. We need a canonical, battle-tested version of this that evolves with the codebase and is tested in CI. Maybe something that integrates with HF's apply_chat_template neatly?

Metadata

Metadata

Assignees

Labels

priority-highThe team is prioritizing this issue and will tackle it very soon.pythonThis issue involves Python.rustThis issue involves Rust.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions