supervised.py
8.91 KB
-
llamafactory: Replacement for src/llamafactory/data/processors/supervised.py · 0ad3af4a
Modifications: - Do not mask the first turn in the chat history when `mask_history`. - Preserve the original order of messages (do not reverse the list).
nzy committed