mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 06:22:46 +08:00
![]() Follow example of trl's DataCollatorForCompletionOnlyLM to use response template to identify beginning of completion/continuation tokens for the purpose of masking out the other tokens during loss calculation |
||
---|---|---|
.. | ||
__init__.py | ||
datasets.py | ||
dora.py | ||
lora.py | ||
trainer.py | ||
utils.py |