From 56a87f8f8024c1f905b15dad23b70332be7adccd Mon Sep 17 00:00:00 2001 From: Jakub Maruniak Date: Sun, 21 Mar 2021 20:11:45 +0000 Subject: [PATCH] =?UTF-8?q?Smazat=20=E2=80=9Epages/students/2016/jakub=5Fm?= =?UTF-8?q?aruniak/dp2021/annotation/train/train.sh=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dp2021/annotation/train/train.sh | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 pages/students/2016/jakub_maruniak/dp2021/annotation/train/train.sh diff --git a/pages/students/2016/jakub_maruniak/dp2021/annotation/train/train.sh b/pages/students/2016/jakub_maruniak/dp2021/annotation/train/train.sh deleted file mode 100644 index 6c4f40d8..00000000 --- a/pages/students/2016/jakub_maruniak/dp2021/annotation/train/train.sh +++ /dev/null @@ -1,21 +0,0 @@ -set -e -OUTDIR=build/train/output -TRAINDIR=build/train -# Delete old training results -rm -r $TRAINDIR -mkdir -p $TRAINDIR -mkdir -p $OUTDIR -mkdir -p dist -# Delete old training results -rm -rf $OUTDIR/* -# Train dependency and POS -spacy train sk $OUTDIR ./build/input/slovak-treebank ./build/input/ud-artificial-gapping --n-iter 15 -p tagger,parser -rm -rf $TRAINDIR/posparser -mv $OUTDIR/model-best $TRAINDIR/posparser -# Train NER -# python ./train.py -t ./train.json -o $TRAINDIR/nerposparser -n 10 -m $TRAINDIR/posparser/ -spacy train sk $TRAINDIR/nerposparser ./ner/wikiart/wikitrain.json ./ner/wikiart/wikieval.json --n-iter 15 -p ner -# Package model -spacy package $TRAINDIR/nerposparser dist --meta-path ./meta.json --force -cd dist/sk_sk1-0.2.0 -python ./setup.py sdist --dist-dir ../ \ No newline at end of file