Created
June 25, 2020 07:28
-
-
Save chauhanakash23/539e0a816a4f693fc9e19cf9e70a22ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
save_path = "<Your path>/pegasus/data/testdata/test_pattern_1.tfrecords" | |
@registry.register("test_transformer") | |
def test_transformer(param_overrides): | |
return transformer_params( | |
{ | |
"train_pattern": save_path, | |
"dev_pattern": save_path, | |
"test_pattern": save_path, | |
"max_input_len": 1024, | |
"max_output_len": 256, | |
"train_steps": 180000, | |
"learning_rate": 0.0001, | |
"batch_size": 8, | |
}, param_overrides) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment