Skip to content

Commit

Permalink
Fix paths in validation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Aug 26, 2024
1 parent 37ccbc3 commit d2e235b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/validation/val-run-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function run_pipeline_sid_minibert(){
pipeline-nlp --model_seq_length=256 \
from-file --filename=${INPUT_FILE} \
deserialize \
preprocess --vocab_hash_file=${MORPHEUS_ROOT}/morpheus/data/bert-base-uncased-hash.txt --truncation=True --do_lower_case=True --add_special_tokens=False \
preprocess --vocab_hash_file=python/morpheus/morpheus/data/bert-base-uncased-hash.txt --truncation=True --do_lower_case=True --add_special_tokens=False \
${INFERENCE_STAGE} \
monitor --description "Inference Rate" --smoothing=0.001 --unit inf \
add-class --prefix="si_" \
Expand All @@ -62,7 +62,7 @@ function run_pipeline_sid_bert(){
pipeline-nlp --model_seq_length=256 \
from-file --filename=${INPUT_FILE} \
deserialize \
preprocess --vocab_hash_file=${MORPHEUS_ROOT}/morpheus/data/bert-base-cased-hash.txt --truncation=True --do_lower_case=False --add_special_tokens=False \
preprocess --vocab_hash_file=python/morpheus/morpheus/data/bert-base-cased-hash.txt --truncation=True --do_lower_case=False --add_special_tokens=False \
${INFERENCE_STAGE} \
monitor --description "Inference Rate" --smoothing=0.001 --unit inf \
add-class --prefix="si_" \
Expand All @@ -80,7 +80,7 @@ function run_pipeline_abp_nvsmi(){
VAL_OUTPUT=$5

morpheus --log_level=DEBUG run --num_threads=$(nproc) --pipeline_batch_size=1024 --model_max_batch_size=1024 --use_cpp=${USE_CPP} \
pipeline-fil --columns_file=${MORPHEUS_ROOT}/morpheus/data/columns_fil.txt \
pipeline-fil --columns_file=python/morpheus/morpheus/data/columns_fil.txt \
from-file --filename=${INPUT_FILE} \
deserialize \
preprocess \
Expand All @@ -101,10 +101,10 @@ function run_pipeline_phishing_email(){
VAL_OUTPUT=$5

morpheus --log_level=DEBUG run --num_threads=$(nproc) --pipeline_batch_size=1024 --model_max_batch_size=32 --use_cpp=${USE_CPP} \
pipeline-nlp --model_seq_length=128 --labels_file=${MORPHEUS_ROOT}/morpheus/data/labels_phishing.txt \
pipeline-nlp --model_seq_length=128 --labels_file=python/morpheus/morpheus/data/labels_phishing.txt \
from-file --filename=${INPUT_FILE} \
deserialize \
preprocess --vocab_hash_file=${MORPHEUS_ROOT}/morpheus/data/bert-base-uncased-hash.txt --truncation=True --do_lower_case=True --add_special_tokens=False \
preprocess --vocab_hash_file=python/morpheus/morpheus/data/bert-base-uncased-hash.txt --truncation=True --do_lower_case=True --add_special_tokens=False \
${INFERENCE_STAGE} \
monitor --description "Inference Rate" --smoothing=0.001 --unit inf \
add-class --label=is_phishing --threshold=0.7 \
Expand All @@ -122,7 +122,7 @@ function run_pipeline_hammah_user123(){
VAL_OUTPUT=$5

morpheus --log_level=DEBUG run --num_threads=$(nproc) --pipeline_batch_size=1024 --model_max_batch_size=1024 --use_cpp=${USE_CPP} \
pipeline-ae --columns_file="${MORPHEUS_ROOT}/morpheus/data/columns_ae_cloudtrail.txt" --userid_filter="user123" --userid_column_name="userIdentitysessionContextsessionIssueruserName" --timestamp_column_name="event_dt" \
pipeline-ae --columns_file="python/morpheus/morpheus/data/columns_ae_cloudtrail.txt" --userid_filter="user123" --userid_column_name="userIdentitysessionContextsessionIssueruserName" --timestamp_column_name="event_dt" \
from-cloudtrail --input_glob="${MORPHEUS_ROOT}/models/datasets/validation-data/dfp-cloudtrail-*-input.csv" \
train-ae --train_data_glob="${MORPHEUS_ROOT}/models/datasets/training-data/dfp-cloudtrail-*.csv" --source_stage_class=morpheus.stages.input.cloud_trail_source_stage.CloudTrailSourceStage --seed 42 \
preprocess \
Expand All @@ -144,7 +144,7 @@ function run_pipeline_hammah_role-g(){
VAL_OUTPUT=$5

morpheus --log_level=DEBUG run --num_threads=$(nproc) --pipeline_batch_size=1024 --model_max_batch_size=1024 --use_cpp=${USE_CPP} \
pipeline-ae --columns_file="${MORPHEUS_ROOT}/morpheus/data/columns_ae_cloudtrail.txt" --userid_filter="role-g" --userid_column_name="userIdentitysessionContextsessionIssueruserName" --timestamp_column_name="event_dt" \
pipeline-ae --columns_file="python/morpheus/morpheus/data/columns_ae_cloudtrail.txt" --userid_filter="role-g" --userid_column_name="userIdentitysessionContextsessionIssueruserName" --timestamp_column_name="event_dt" \
from-cloudtrail --input_glob="${MORPHEUS_ROOT}/models/datasets/validation-data/dfp-cloudtrail-*-input.csv" \
train-ae --train_data_glob="${MORPHEUS_ROOT}/models/datasets/training-data/dfp-cloudtrail-*.csv" --source_stage_class=morpheus.stages.input.cloud_trail_source_stage.CloudTrailSourceStage --seed 42 \
preprocess \
Expand Down

0 comments on commit d2e235b

Please sign in to comment.