We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Could you guys provide a description of how to use this tokenizer ? I tried by myself but i couldn't figure out on how to make it work.
Thanks :)
The text was updated successfully, but these errors were encountered:
Feed your dataset.txt to the spm_train command. (Docs here: https://github.com/google/sentencepiece)
dataset.txt
spm_train
This will generate a "vocab file". Use it for initializing the SentencePieceTokenizer:
SentencePieceTokenizer::load("model.vocab")
Sorry, something went wrong.
Thanks, it works :)
Now i will try to implement some sort of EOS_TOKEN on the tokenizer, for doing a question/answer model
Sounds good! Let me know if you got good results!
No branches or pull requests
Could you guys provide a description of how to use this tokenizer ? I tried by myself but i couldn't figure out on how to make it work.
Thanks :)
The text was updated successfully, but these errors were encountered: