-
Notifications
You must be signed in to change notification settings - Fork 3
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
Integrate lbann moses #1
Conversation
…es minor changes to run.py and sample.py that allow for the specification of arbitrary datasets and vocabs, also minor changes to allow for code to be TF 2.0 compatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my comments/requested changes inline:
|
||
source activate lbann | ||
cd /g/g13/jones289/workspace/lbann/applications/ATOM/moses/scripts | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hardcoded to your home directory, please fix
scripts/extract_enamine_vocab.sl
Outdated
source activate lbann | ||
cd /g/g13/jones289/workspace/lbann/applications/ATOM/moses/scripts | ||
|
||
python compute_charrnn_vocab.py --smiles-path ~/data/enamine/2018q1-2_Enamine_REAL_680M_SMILES_part${SLURM_ARRAY_TASK_ID}.smiles --smiles-col smiles --smiles-sep='\t' --n-jobs 72 --output-dir /g/g13/jones289/workspace/lbann/applications/ATOM/data/enamine/part${SLURM_ARRAY_TASK_ID} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this script suppose to be in LBANN directory, or with moses? Also, data paths are hardcoded to your home directory
|
||
source activate lbann | ||
cd /g/g13/jones289/workspace/lbann/applications/ATOM/moses/scripts | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comments as above
…ng script (scripts/extract_enamine_vocab.sl), evalutation script (scripts/run.py), vocab extraction (scripts/char_vocab_utils.py and scripts/compute_charrnn_vocab.py being renamed to scripts/compute_vocab_main.py)
This updates the code to be compatible with TF 2.0, provides some utilities to process and featurize new datasets/vocabularies.