Last active
November 17, 2019 22:51
-
-
Save xelibrion/574078eafd59f28af45467bf0c078ca2 to your computer and use it in GitHub Desktop.
Revisions
-
xelibrion renamed this gist
Nov 17, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e TRAIN_DATASETS="re-tag-keyphrases-zoey,lyft-0-50-gold,lyft-100-150-gold,lyft-150-200-gold" EVAL_DATASETS="re-tag-keyphrases-dmitry,lyft-50-100-gold" FINAL_TRAIN="train-$(date +%s)" @@ -18,5 +18,6 @@ prodigy ner.batch-train \ -l KEYPHRASE \ -e $FINAL_EVAL -o $MODEL_NAME set +e prodigy drop $FINAL_TRAIN prodigy drop $FINAL_EVAL -
xelibrion revised this gist
Nov 15, 2019 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ #!/usr/bin/env bash set -e TRAIN_DATASETS="re-tag-keyphrases-zoey,lyft-0-50-gold" EVAL_DATASETS="re-tag-keyphrases-dmitry,lyft-50-100-gold" FINAL_TRAIN="train-$(date +%s)" FINAL_EVAL="eval-$(date +%s)" @@ -17,3 +17,6 @@ prodigy ner.batch-train \ -n 100 --batch-size 16 --unsegmented --no-missing \ -l KEYPHRASE \ -e $FINAL_EVAL -o $MODEL_NAME prodigy drop $FINAL_TRAIN prodigy drop $FINAL_EVAL -
xelibrion created this gist
Nov 15, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ #!/usr/bin/env bash set -e TRAIN_DATASETS="re-tag-keyphrases-zoey" EVAL_DATASETS="re-tag-keyphrases-dmitry" FINAL_TRAIN="train-$(date +%s)" FINAL_EVAL="eval-$(date +%s)" MODEL_NAME="model-$(date +%s)" prodigy db-merge $TRAIN_DATASETS $FINAL_TRAIN prodigy db-merge $EVAL_DATASETS $FINAL_EVAL prodigy ner.batch-train \ $FINAL_TRAIN en_vectors_web_lg \ -n 100 --batch-size 16 --unsegmented --no-missing \ -l KEYPHRASE \ -e $FINAL_EVAL -o $MODEL_NAME