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

Patch 1 #2

Merged
merged 2 commits into from
May 21, 2018
Merged

Patch 1 #2

merged 2 commits into from
May 21, 2018

Conversation

AlbertoPaz
Copy link
Contributor

Hello,

I made a small modification to the calculation of the locationed memory in this model. Now it uses the absolute distance context word - aspect as specified in the paper.

Hope you find this useful!

Hello,

I made a small modification to the calculation of the locationed memory in this model. The previous implementation was not using the absolute distance context word - aspect as specified in the paper.

Hope you find this useful. If so, it will also require to include this change in the input_colse of the train.py file
'memnet': ['text_raw_without_aspect_indices', 'aspect_indices', 'text_left_with_aspect_indices']
@songyouwei songyouwei merged commit d44c340 into songyouwei:master May 21, 2018
@AlbertoPaz AlbertoPaz deleted the patch-1 branch May 22, 2018 11:26
@songyouwei
Copy link
Owner

@all-contributors please add @AlbertoPaz for code

@allcontributors
Copy link
Contributor

@songyouwei

I've put up a pull request to add @AlbertoPaz! 🎉

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

Successfully merging this pull request may close these issues.

2 participants