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

How to get the XLNet vocabulary from spiece.model file and store it to a .vocab file? #283

Open
SambhawDrag opened this issue Jul 2, 2021 · 0 comments

Comments

@SambhawDrag
Copy link

Hi, I was working on implementing the XLNet language model in Julia. It uses the sentence-piece as the tokenizer.
I need the vocabulary for the tokenizer, which is stored inside spiece.model file.

I did refer to this Issue #121, but it only tells about modification of the model.

Could you tell me, how I should obtain the vocabulary in a .vocab format?

@SambhawDrag SambhawDrag changed the title How to get the XLNet vocabulary from spiec.model file and store it to a .vocab file? How to get the XLNet vocabulary from spiece.model file and store it to a .vocab file? Jul 2, 2021
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

No branches or pull requests

1 participant