Skip to content

Add backtranslation data generation code#76

Draft
SachiraKuruppu wants to merge 2 commits intomainfrom
add-backtranslation-data-generation-code
Draft

Add backtranslation data generation code#76
SachiraKuruppu wants to merge 2 commits intomainfrom
add-backtranslation-data-generation-code

Conversation

@SachiraKuruppu
Copy link
Copy Markdown
Contributor

No description provided.

if list(pathlib.Path(training_args.output_dir).glob("checkpoint-*")):
trainer.train(resume_from_checkpoint=True)
else:
trainer.train()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@SachiraKuruppu

Can we try to refine this code with the HF alignment book ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will do 👍

@@ -0,0 +1,22 @@
{
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can use the yaml format as mentioned in the alignment book.

@SachiraKuruppu SachiraKuruppu marked this pull request as draft November 27, 2023 09:29
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