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

How to use GNMT model? #7

Open
RalphMao opened this issue Jun 27, 2018 · 3 comments
Open

How to use GNMT model? #7

RalphMao opened this issue Jun 27, 2018 · 3 comments

Comments

@RalphMao
Copy link

I did not see it in model.py's all list

@alphadl
Copy link

alphadl commented Jan 6, 2019

Hi~ Maybe , you need to configure the parameter "-model_config" by yourself to achieve the setting as GNMT

@guyco87
Copy link

guyco87 commented Feb 7, 2019

Did someone configured a GNMT model and willing to share it?

@guyco87
Copy link

guyco87 commented Feb 11, 2019

Here is my model configuration, what do you think?

{'hidden_size': 1024, 'dropout': 0.2, 'forget_bias': 1.0, 'residual': True,
'tie_embedding': True, 'transfer_hidden': False,
'encoder': {'num_layers': 4, 'bidirectional': True, 'num_bidirectional': 1, 'pack_inputs': False},
'decoder': {'num_layers': 4, 'concat_attention': True,
'attention': {'mode': 'bahdanau', 'normalize': True, 'dropout': 0, 'output_transform':
True, 'output_nonlinearity': 'tanh'}
}
}

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

3 participants