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

Getting word embeddings after training the model #11

Open
cemrifki opened this issue Jul 13, 2021 · 0 comments
Open

Getting word embeddings after training the model #11

cemrifki opened this issue Jul 13, 2021 · 0 comments

Comments

@cemrifki
Copy link

cemrifki commented Jul 13, 2021

Hi Théophile,

I hope you are doing well.

I would like to obtain word embeddings after having trained the model. That is, first, I will use training data with sentiment labels to generate the model. Then I would feed a test sentence (e.g. Tu as aimé cela.) into the system. Afterwards, I would like to get the vectors of the words Tu, as, aimé and cela, created with respect to this model. That is, in the testing phase, I am interested in those word embeddings only, not the predicted sentiment label of the test data. Is it possible? If so, how could I perform this task? Could you please show it to me through an example code snippet?

Thank you very much for your interest in advance,
Cem Rifki Aydin

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