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 to convert one-hot encoding into word embedding in caffe ? #2833

Closed
SunnyWay opened this issue Jul 29, 2015 · 2 comments
Closed

How to convert one-hot encoding into word embedding in caffe ? #2833

SunnyWay opened this issue Jul 29, 2015 · 2 comments

Comments

@SunnyWay
Copy link

I try to use caffe to encode a sentence into a vector.
the first step is to convert the words into embeddings: E = VW
V : each row in V is the one-hot vector of a word.
W: W is a embedding dictionary, each row is a word embedding.
So, how can I do this in caffe ?

@rorschachhb
Copy link

@jeffdonahue have developed a word embedding layer, #1873

@SunnyWay
Copy link
Author

@rorschachhb Thank you ! It is what I want !

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