hugh

Results 2 comments of hugh

This is what I am currently working on: attempting to fine-tune Starcoder with my own project's code context in hopes of obtaining code snippets within my code base. I have...

This may helpful, put it in `SavePeftModelCallback` ``` if state.best_model_checkpoint is None: print(f"Setting best_model_checkpoint to {checkpoint_folder}") state.best_model_checkpoint = checkpoint_folder elif state.best_model_checkpoint.endswith(checkpoint_folder): print(f"Updating best_model_checkpoint to {checkpoint_folder}") state.best_model_checkpoint = checkpoint_folder ```