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

Better use_one_hot_embeddings documentation in extract_features #45

Closed
jonthegeek opened this issue Dec 30, 2019 · 1 comment
Closed
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@jonthegeek
Copy link
Collaborator

The documentation for use_one_hot_embeddings says: "Logical; whether to use one-hot word embeddings or tf.embedding_lookup() for the word embeddings."

I can get most of that from the name of the parameter. What's the difference between those two options?

Also update .model_fn_builder_EF to inherit this param from extract_features (or vice versa?), so it's documented the same in both places. Actually, BertModel also uses it, and it looks like its "home" is embedding_lookup. The documentation there is slightly different, but neither really helps me grok what the difference is/when I'd want it to be TRUE.

@jonthegeek jonthegeek added the documentation Improvements or additions to documentation label Dec 30, 2019
@jonathanbratt
Copy link
Owner

jonathanbratt commented Dec 31, 2019

Yeah, I was just thinking about this the other day. I'm not even sure this should be a parameter in extract_features. Will investigate.

@jonathanbratt jonathanbratt self-assigned this Jan 3, 2020
jonathanbratt added a commit that referenced this issue Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants