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

Design of character level feature extractor #25

Closed
udion opened this issue Jun 7, 2018 · 1 comment
Closed

Design of character level feature extractor #25

udion opened this issue Jun 7, 2018 · 1 comment

Comments

@udion
Copy link

udion commented Jun 7, 2018

Hi,
In the cnn feature extractor, is it the case that in a batch you are assuming all the words to be of the same length? If so, then there must have been padding to the smaller words, will it not disturb the char level features?

@jiesutd
Copy link
Owner

jiesutd commented Jun 7, 2018

Yes, the batch implementation is used, so the character sequences are padded as the same length. There is a pooling operation following the CNN calculation, so the padding part will not affect the representation of character sequence.

@jiesutd jiesutd closed this as completed Jun 7, 2018
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