Update finetune.py

This commit is contained in:
SillyXu 2024-02-08 10:41:37 +09:00 committed by GitHub
parent 222ae66d3e
commit c47f710b84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -190,3 +190,5 @@ if __name__ == "__main__":
)
trainer.train()
# save the incremental PEFT weights, more details can be found in https://huggingface.co/blog/peft
# model.save_pretrained("output_dir")