Skip to content

Commit

Permalink
fix: update packaging script and workflow doc
Browse files Browse the repository at this point in the history
  • Loading branch information
howl-anderson committed Mar 12, 2020
1 parent 03d1eea commit cc2047d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 2 additions & 3 deletions create_model_package.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

python -m spacy package spacy_models/final_model spacy_models/model_package --force
python -m spacy package spacy_models/final_model spacy_package --force

cd spacy_models/model_package/zh_core_web_sm-0.1.0
cd spacy_package/zh_core_web_sm-0.1.0
python ./setup.py sdist

5 changes: 5 additions & 0 deletions workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,8 @@
* input: `spacy_models/dependency_model`, `spacy_models/ner_model`
* output: `spacy_models/final_model`
* script: `merge_submodel.py`

## create package
* input: `spacy_models/final_model/`
* output: `spacy_package/`
* script: `./create_model_package.bash`

0 comments on commit cc2047d

Please sign in to comment.