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

Try to add context embeddings #38

Open
PonteIneptique opened this issue Jan 9, 2020 · 2 comments
Open

Try to add context embeddings #38

PonteIneptique opened this issue Jan 9, 2020 · 2 comments

Comments

@PonteIneptique
Copy link
Contributor

Hey Enrique,
I want to dig in Contextual embeddings/Language models and in particular Bert. I want to see if the these features would help the lemmatizer for languages close to French (Camembert).

Did you plan to do it ? If so, please tell me, I would not want to steal that from you :)

@emanjavacas
Copy link
Owner

Hey! This went missing... sorry! In the current setup, if you use the LM loss, you are effectively leveraging contextual embeddings (even before they were cool). Of course you are missing the effect of pre-training on massive datasets. Feel free to explore it. I could also help if you want. For lemmatization, however, I wont expect miracles, since the possibilities in which contextual information helps there are limited (mostly disambiguation).

@PonteIneptique
Copy link
Contributor Author

Well, I actually did it :) I am figuring some things out, and discovered few bugs with CRF (probably breaking changes that went in at some point...)

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

2 participants