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 function to load vocabularies from the file #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MorinoseiMorizo
Copy link
Contributor

Sometimes making vocabulary takes a lot of time (especially using BPE).
So I added the function to load vocabularies from the file.

; If you specified the model directory here, load vocabulary from the specified model.
; If you use this option, the vocabulary type and the vocabulary size specified above will be ignored.
; By writing vocabulary_model=none, this option will be ignored.
vocabulary_model=none
Copy link
Owner

Choose a reason for hiding this comment

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

This allows us not to load vocabulary from none directory. It might be better to separate switch and path options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants