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 composer prefix tokens to TokenizerLazy #23

Merged
merged 3 commits into from
Aug 12, 2023

Conversation

loubbrad
Copy link
Contributor

In this PR we make the following changes:

  • Refactor the way that prefix tokens work for TokenizerLazy. Now they take the form ("prefix", type, data).
  • Add composer prefix tokens to TokenizerLazy.
  • Add functionality for including composer prefix tokens in tokenize_midi_dict according to metadata.

@loubbrad loubbrad merged commit 1786de2 into EleutherAI:main Aug 12, 2023
1 check passed
@loubbrad loubbrad deleted the tokenizer_composer branch August 12, 2023 11:34
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.

None yet

1 participant