Created
April 8, 2019 06:17
-
-
Save icoxfog417/ee51dc525f80d78c91623a0801b9f3b1 to your computer and use it in GitHub Desktop.
allennlp_tutorial_estimator2.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", | |
source_dir="../../allennlp-sagemaker-tuning", | |
dependencies=[from_root("example"), from_root(".venv")], | |
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