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

make the from_pretrained method available to load the tokenizers from pretrained. #5

Closed
Hk669 opened this issue Jun 5, 2024 · 1 comment
Labels
pretrained pretrained tokenizers.

Comments

@Hk669
Copy link
Owner

Hk669 commented Jun 5, 2024

it should look something like:

@classmethod
def from_pretrained(cls, 
                tokenizer_name: str, 
                pretrained_dir = 'pretrained',
                verbose=False):
@Hk669 Hk669 added the pretrained pretrained tokenizers. label Jun 5, 2024
@Hk669
Copy link
Owner Author

Hk669 commented Jun 5, 2024

addressed in the PR #6

@Hk669 Hk669 closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pretrained pretrained tokenizers.
Projects
None yet
Development

No branches or pull requests

1 participant