Skip to content
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

Merged
merged 5 commits into from
Mar 30, 2020
Merged

Integrate lbann moses #1

merged 5 commits into from
Mar 30, 2020

Conversation

wderekjones
Copy link
Collaborator

This updates the code to be compatible with TF 2.0, provides some utilities to process and featurize new datasets/vocabularies.

…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.
Copy link
Owner

@samadejacobs samadejacobs left a 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

Copy link
Owner

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

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}
Copy link
Owner

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

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comments as above

scripts/preprocess_data.py Show resolved Hide resolved
scripts/run.py Show resolved Hide resolved
scripts/compute_charrnn_vocab.py Outdated Show resolved Hide resolved
…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)
@samadejacobs samadejacobs merged commit ac132b0 into master Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants