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 tokenizer config #189

Merged
merged 4 commits into from
Jan 14, 2023
Merged

Add tokenizer config #189

merged 4 commits into from
Jan 14, 2023

Conversation

Copy link
Collaborator

@jon-tow jon-tow left a comment

Choose a reason for hiding this comment

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

Looks good to me! Great work as usual 🫡

:type truncation_side: str
"""

tokenizer_path: str
Copy link
Collaborator

Choose a reason for hiding this comment

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

(Thinking out loud on usability): I feel like we could make this optional and default to using the model_path to load the tokenizer out of AutoTokenizer.from_pretrained in the base trainer)

Copy link
Contributor

Choose a reason for hiding this comment

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

Also the tokenizer_ part seems redundant being already in a TokenizerConfig

@jon-tow jon-tow merged commit c25f598 into main Jan 14, 2023
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