-
Notifications
You must be signed in to change notification settings - Fork 9
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 generate the mapping matrixs for the ELMo of my own language. #9
Comments
Hi @scofield7419 The supervised alignment computation was done with the MUSE repository. Their repo is not on installable with pip so I think the best way is to run it with their instructions. I can create a short bash script if it helps. Use their provided command line, for example:
Let me know if that works. |
Hi @TalSchuster , thank you for your reply. As for MUSE, actually i'm quite familiar with that (frequently used) ^_^ If I guess correct, the first thing I should do to align one language (say Fi.) to En., is to use the Is all above correct? |
Yes, that sounds correct. |
BTW, there's another thing to ask: If I wanna generate the multi-lingual ELMo embedding, (I mean the real one, like multi-Bert, bert, multi-bert, not through alignment ), can I just blend enough numbers of sentences from different languages (say, including 10 languages) as the training data for training the ELMo? Specifically, I may prepare considerable sentences for each languages (just consider 50m sentences for each languages respectively). So is this applicable for generating the real multi-lingual ELMo? And is the training sentences for each lingual sufficient enough? |
For joint-training, you can check this paper. |
Thank you for your response! : ) |
I've trained several ELMo weights for other languages (e.g., Finnish, Chinese ...)(I consider to enrich your repo), and now I wanna align them (including each LSTM layer) to English space, as just you did.
But, it seems you did not release the codes for generating such aligning matrix (like such below).
P.S.: note that you only released the code for generating the anchors, and I believe it is nothing to do with the aligning matrix.
Or, if I misunderstand the approach, please show the hints, correct my wrong.
So, may I have your prompt reply concerning this issue?
Thx a lot.
The text was updated successfully, but these errors were encountered: