We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
model = mz.models.MatchPyramid() model.params.update(preprocessor.context) model.params['task'] = ranking_task model.params['embedding_output_dim'] = 128 model.params['embedding_input_dim'] = preprocessor.context['embedding_input_dim'] model.params['embedding_trainable'] = True model.params['num_blocks'] = 2 model.params['kernel_count'] = [8, 16] model.params['kernel_size'] = [[5, 5], [3, 3]] model.params['dpool_size'] = [3, 3] model.params['optimizer'] = 'adam' model.params['dropout_rate'] = 0.3 model.build() model.compile()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
such as model build, where we can set the learning rate
model = mz.models.MatchPyramid()
model.params.update(preprocessor.context)
model.params['task'] = ranking_task
model.params['embedding_output_dim'] = 128
model.params['embedding_input_dim'] = preprocessor.context['embedding_input_dim']
model.params['embedding_trainable'] = True
model.params['num_blocks'] = 2
model.params['kernel_count'] = [8, 16]
model.params['kernel_size'] = [[5, 5], [3, 3]]
model.params['dpool_size'] = [3, 3]
model.params['optimizer'] = 'adam'
model.params['dropout_rate'] = 0.3
model.build()
model.compile()
The text was updated successfully, but these errors were encountered: