8000 make bag_of_word_counts token embedder ignore padding and UNK tokens by kernelmachine · Pull Request #2432 · allenai/allennlp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

make bag_of_word_counts token embedder ignore padding and UNK tokens #2432

Merged
merged 14 commits into from
Feb 5, 2019

Conversation

kernelmachine
Copy link
Contributor
@kernelmachine kernelmachine commented Jan 24, 2019

This patch ignores padding and (optionally) UNK tokens in the bag of word count embeddings.

@kernelmachine kernelmachine changed the title adding patch bag of words token embedder patch Jan 24, 2019
@joelgrus
Copy link
Contributor

can you give it a more descriptive name so that when we look back on closed PRs it's obvious what this one does?

e.g. "make bag_of_words token embedder ignore padding and UNK tokens"

@kernelmachine kernelmachine changed the title bag of words token embedder patch make bag_of_words token embedder ignore padding and UNK tokens Jan 24, 2019
@kernelmachine kernelmachine changed the title make bag_of_words token embedder ignore padding and UNK tokens make bag_of_word_counts token embedder ignore padding and UNK tokens Jan 24, 2019
@kernelmachine
Copy link
Contributor Author

@joelgrus incorporated all your comments, ready for another look!

@kernelmachine kernelmachine merged commit 234fb18 into allenai:master Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0