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 is language id embedding is learned? #169

Open
mani-rai opened this issue Dec 16, 2020 · 2 comments
Open

How is language id embedding is learned? #169

mani-rai opened this issue Dec 16, 2020 · 2 comments

Comments

@mani-rai
Copy link

I have been reading this paper to replicate the architecture for my unsupported language pretraining. I was able to grasp everything except learning of language id embedding. Can anyone tell me how embedding is learned? I am assuming it is learned during training as well. Is this true?

@hoschwenk
Copy link
Contributor

Which language ID embedding you are referring to ?
The encoder does not use an LID, only the decoder, to know whether it should generate English or Spanish.
It is learned as a parameter as the rest of the network.

@loretoparisi
Copy link

@hoschwenk regarding LID / LASER I have a clue, and maybe you and the right answer
facebookresearch/fastText#1345

Thanks in advance!

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

3 participants