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

GH-833: added parameters to CharacterEmbedding constructor to modify embedding size and hidden state size #834

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

yosipk
Copy link
Collaborator

@yosipk yosipk commented Jun 24, 2019

Sometimes it is beneficial to use larger character-based word embeddings. This PR changes the constructor of CharacterEmbeddings class to allow that:

embedding = CharacterEmbedding(char_embedding_dim=64, hidden_size_char=64)

By default both embedding dimension and hidden state size will be 25, as before.

@yosipk
Copy link
Collaborator Author

yosipk commented Jun 24, 2019

👍

1 similar comment
@alanakbik
Copy link
Collaborator

👍

@alanakbik alanakbik merged commit 063ff09 into master Jun 24, 2019
@alanakbik alanakbik deleted the GH-833-CharacterEmbeddings branch June 24, 2019 09:19
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.

None yet

2 participants