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

Model_3.ipynb (util.py) #3

Closed
swayam01 opened this issue Apr 15, 2019 · 3 comments
Closed

Model_3.ipynb (util.py) #3

swayam01 opened this issue Apr 15, 2019 · 3 comments

Comments

@swayam01
Copy link

thanks for the great work, i see get_init_embedding wrapper function has embedding pickle file as glove/model_glove_300.pkl. want to confirm from you - is it just the pickle conversion of glove/glove.6B.300d.txt file or somethinfg else.

Also want to know what is the difference between loading .vec file or .pkl file as embedding vector

@theamrzaki
Copy link
Owner

I think you are working on model 2

and yes , this is a pickle conversion of the glove/glove.6B.300d.txt
here is the link for both glove/glove.6B.300d.txt & my pickle file

and for the .vec & .pkl
they both serve the same concept for word2vector (a dictionary for words , where each word is represented by a vector) , the only difference is how you load them , nothing more .

Hope this helps

@swayam01
Copy link
Author

thank a lot for the help.

@theamrzaki
Copy link
Owner

Any time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants