tdrussell / qlora-pipe

A pipeline parallel training script for LLMs.
MIT License
79 stars 5 forks source link

trivial: allow commented-out resume_from_checkpoint config to mean 'false' #11

Closed kallewoof closed 3 months ago

kallewoof commented 3 months ago

There's a natural tendency to just comment out stuff to disable it. This crashes the trainer for the resume_from_checkpoint flag. This PR lets a missing key stand for 'false' as well.

Edit: also done for eval_before_first_step.