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

Add dataset loader for MegaCodeTraining112k & Evol-Instruct-Code-80k-v1 #3605

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

andreaskoepf
Copy link
Collaborator

@andreaskoepf andreaskoepf commented Jul 25, 2023

Added code to load rombodawg/MegaCodeTraining112k (key: megacode) and nickrosh/Evol-Instruct-Code-80k-v1 (key: evol_instruct_code).
Also added an optional fill_min_length parameter to InstructionDataset class. If specified instructions are concatenate until the total string length of prompts and completions exceeds fill_min_length. Seed for random order can optionally be specified (default: 42).

Example:

  datasets:
    - megacode:
        fill_min_length: 24000
    - evol_instruct_code:
        fill_min_length: 24000
  • updated transformers dependency to ==4.31.0

Copy link
Collaborator

@shahules786 shahules786 left a comment

Choose a reason for hiding this comment

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

LGTM

@shahules786 shahules786 merged commit bc5b70d into main Jul 25, 2023
@shahules786 shahules786 deleted the add_code_instruction_datasets branch July 25, 2023 19:20
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