Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ctuning-admin committed Jun 1, 2023
1 parent 66b4306 commit cc5daa8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
18 changes: 9 additions & 9 deletions cm-mlops/script/get-ml-model-bert-base-squad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ ___
- *CM_ML_MODEL_F1*: `87.89`
- *CM_ML_MODEL_FILE*: `model.onnx`
- *CM_PRUNING_PERCENTAGE*: `95`
- *CM_VOCAB_FILE_URL*: `https://zenodo.org/record/3733868/files/vocab.txt`
- Workflow:
1. ***Read "deps" on other CM scripts***
* get,ml-model,zoo,deepsparse,_pruned95_obs_quant-none
Expand Down Expand Up @@ -175,12 +174,17 @@ ___
<summary>Click here to expand this section.</summary>

1. Read "deps" on other CM scripts from [meta](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-bert-base-squad/_cm.json)
1. ***Run "preprocess" function from [customize.py](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-bert-base-squad/customize.py)***
1. Read "prehook_deps" on other CM scripts from [meta](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-bert-base-squad/_cm.json)
1. Run "preprocess" function from customize.py
1. ***Read "prehook_deps" on other CM scripts from [meta](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-bert-base-squad/_cm.json)***
* download-and-extract
* `if (CM_TMP_ML_MODEL_REQUIRE_DOWNLOAD in yes)`
- CM script: [download-and-extract](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/download-and-extract)
1. ***Run native script if exists***
1. Read "posthook_deps" on other CM scripts from [meta](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-bert-base-squad/_cm.json)
1. ***Run "postrocess" function from [customize.py](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-bert-base-squad/customize.py)***
1. Read "post_deps" on other CM scripts from [meta](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-bert-base-squad/_cm.json)
1. Run "postrocess" function from customize.py
1. ***Read "post_deps" on other CM scripts from [meta](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-bert-base-squad/_cm.json)***
* get,bert,squad,vocab
- CM script: [get-bert-squad-vocab](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-bert-squad-vocab)
</details>

___
Expand All @@ -190,10 +194,6 @@ ___
* `CM_ML_MODEL*`
#### New environment keys auto-detected from customize

* `CM_ML_MODEL_BERT_VOCAB_FILE_WITH_PATH`
* `CM_ML_MODEL_FILE`
* `CM_ML_MODEL_FILE_WITH_PATH`
* `CM_ML_MODEL_PATH`
___
### Maintainers

Expand Down
4 changes: 3 additions & 1 deletion cm-mlops/script/get-ml-model-neuralmagic-zoo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,20 @@ ___
1. ***Run native script if exists***
* [run.sh](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-neuralmagic-zoo/run.sh)
1. Read "posthook_deps" on other CM scripts from [meta](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-neuralmagic-zoo/_cm.json)
1. Run "postrocess" function from customize.py
1. ***Run "postrocess" function from [customize.py](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-neuralmagic-zoo/customize.py)***
1. Read "post_deps" on other CM scripts from [meta](https://github.com/mlcommons/ck/tree/master/cm-mlops/script/get-ml-model-neuralmagic-zoo/_cm.json)
</details>

___
### Script output
#### New environment keys (filter)

* `CM_GET_DEPENDENT_CACHED_PATH`
* `CM_ML_MODEL*`
* `CM_MODEL_ZOO_STUB`
#### New environment keys auto-detected from customize

* `CM_GET_DEPENDENT_CACHED_PATH`
___
### Maintainers

Expand Down

0 comments on commit cc5daa8

Please sign in to comment.