Created
April 8, 2019 06:13
-
-
Save icoxfog417/a97713f4b5398388547accca4775f075 to your computer and use it in GitHub Desktop.
allennlp_tutorial_estimator.py
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
estimator = PyTorch(entry_point="tuning.py", | |
role=role, | |
framework_version="1.0.0", | |
train_instance_count=1, | |
train_instance_type="ml.p2.8xlarge", | |
hyperparameters={ | |
"train-file-name": os.path.basename(s3_paths[0]), | |
"validation": os.path.basename(s3_paths[1]), | |
"epochs": 10 | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment