Skip to content

Add instructions and code for loading and finetuning StarCoder2 models#1

Merged
loubnabnl merged 5 commits intomainfrom
finetune
Feb 27, 2024
Merged

Add instructions and code for loading and finetuning StarCoder2 models#1
loubnabnl merged 5 commits intomainfrom
finetune

Conversation

@loubnabnl
Copy link
Contributor

No description provided.

trainer.train()

print("Saving the last checkpoint of the model")
model.save_pretrained(os.path.join(args.output_dir, "final_checkpoint/"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add a push to hub flag (default true), wdyt?

@loubnabnl loubnabnl merged commit d6d0869 into main Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants