562c323823c1cde522f57b0ebb8496f561e949c7,examples/transformer/hyperparams.py,,,#,14
Before Change
"seed": 123,
"shuffle": False,
"source_dataset" : {
"files": [os.path.join(args.data_dir, args.dev_src)],
"vocab_file": args.vocab_file,
},
"target_dataset": {
"files": [os.path.join(args.data_dir, args.dev_tgt)],
"vocab_share": True,
},
"batch_size": args.test_batch_size,
"allow_smaller_final_batch": True,
}
test_dataset_hparams = {
"num_epochs": 1,
"seed": 123,
"shuffle": False,
"source_dataset": {
"files": [os.path.join(args.data_dir, args.test_src)],
"vocab_file": args.vocab_file,
},
"target_dataset": {
"files": [os.path.join(args.data_dir, args.test_tgt)],
"vocab_share":True,
},
"batch_size": args.test_batch_size,
After Change
)
batching_scheme["boundaries"] = [b + 1 for b in batching_scheme["boundaries"]]
print("train_src:{}".format(args.train_src))
print("dev src:{}".format(args.dev_src))
train_dataset_hparams = {
"num_epochs": args.num_epochs,
//"num_epochs": args.max_train_epoch,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: asyml/texar
Commit Name: 562c323823c1cde522f57b0ebb8496f561e949c7
Time: 2018-04-09
Author: shore@pku.edu.cn
File Name: examples/transformer/hyperparams.py
Class Name:
Method Name:
Project Name: asyml/texar
Commit Name: 562c323823c1cde522f57b0ebb8496f561e949c7
Time: 2018-04-09
Author: shore@pku.edu.cn
File Name: examples/transformer/hyperparams.py
Class Name:
Method Name:
Project Name: tryolabs/luminoth
Commit Name: f6bae81dab7eedfbe58019d3d9310310bb2ca11d
Time: 2018-08-13
Author: dekked@gmail.com
File Name: luminoth/tools/cloud/gcloud.py
Class Name:
Method Name: train
Project Name: NVIDIA/OpenSeq2Seq
Commit Name: d385044dbc4cfd0b70197d513000baa53e539b09
Time: 2018-05-07
Author: igor.a.gitman@gmail.com
File Name: run.py
Class Name:
Method Name: main