Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update add pack length & add monkey-patched llama to train.py #64

Merged
merged 8 commits into from
Dec 18, 2023

Conversation

khai-meetkai
Copy link
Collaborator

@khai-meetkai khai-meetkai commented Nov 30, 2023

  • Automatically choose monkey-patched LLama or Mistral
  • Add pack_length, previously pack_length = max_length, but this is not a must
  • Add tokenizer_ds.py to tokenize the dataset ahead training

@khai-meetkai khai-meetkai requested review from jeffreymeetkai and musab-mk and removed request for jeffreymeetkai November 30, 2023 04:20
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you expand the "ds" in the filename. Im guessing "tokenize_dataset.py" ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This means we tokenize dataset ahead. yes ds = dataset, I will rename it to "tokenize_dataset.py"

@musab-mk musab-mk merged commit 034dbe1 into main Dec 18, 2023
3 checks passed
@musab-mk musab-mk deleted the add_monkey_patch_llama_to_train.py branch December 18, 2023 08:31
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.

3 participants