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

Should mMiniLMv2 be paired with the tokenizer of mMiniLMv1? #1493

Open
wencan opened this issue Mar 30, 2024 · 0 comments
Open

Should mMiniLMv2 be paired with the tokenizer of mMiniLMv1? #1493

wencan opened this issue Mar 30, 2024 · 0 comments

Comments

@wencan
Copy link

wencan commented Mar 30, 2024

I downloaded mMiniLMv2. The compressed package only contains the model file and no tokenizer information. However, from the shape of the embedding, it seems that mMiniLMv2 and mMiniLMv2 may use the same tokenizer.

like this:

from transformers import XLMRobertaTokenizer
tokenizer = XLMRobertaTokenizer.from_pretrained("microsoft/Multilingual-MiniLM-L12-H384")
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