-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
colin.gao
committed
Jun 19, 2019
1 parent
891016a
commit ea510e2
Showing
372 changed files
with
276 additions
and
39,217 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,13 @@ | ||
help: | ||
@echo " train-nlu" | ||
@echo " Train the natural language understanding using Rasa NLU." | ||
@echo " train-core" | ||
@echo " Train a dialogue model using Rasa core." | ||
@echo " run" | ||
@echo " Runs the bot on the command line." | ||
@echo " run-api" | ||
@echo " Runs the bot as a server." | ||
train: | ||
rasa train --domain domain.yml --data data --config config.yml --out models | ||
|
||
run: | ||
make run-actions& | ||
make run-core | ||
rasa run actions --actions actions.actions & | ||
rasa run --endpoints configs/endpoints.yml --enable-api -m models --debug | ||
|
||
run-api: | ||
make run-actions& | ||
make run-http | ||
run-cmdline: | ||
kidx run actions --actions actions.actions & | ||
kidx shell --endpoints configs/endpoints.yml -m models --debug | ||
|
||
run-actions: | ||
python -m rasa_core_sdk.endpoint --actions actions | ||
|
||
run-core: | ||
python -m rasa_core.run --nlu models/nlu/default/current --core models/dialogue --endpoints endpoints.yml | ||
|
||
run-online: | ||
python -m rasa_core.train --online -o models/dialogue -d mobile_domain.yml -s data/mobile_edit_story.md --endpoints endpoints.yml | ||
|
||
run-http: | ||
python -m rasa_core.run --enable_api -d models/dialogue -u models/nlu/default/current --endpoints endpoints.yml --auth_token gaoquan | ||
|
||
run-nlu-server: | ||
python -m rasa_nlu.server -c configs/nlu_model_config.yml --path models/nlu/ | ||
|
||
evaluate: | ||
python -m rasa_core.evaluate -d models/dialogue -s data/mobile_edit_story.md | ||
|
||
visualize: | ||
python -m rasa_core.visualize -s data/mobile_edit_story.md -d mobile_domain.yml -o story_graph.png | ||
|
||
train-nlu: | ||
python bot.py train-nlu | ||
|
||
train-core: | ||
python bot.py train-dialogue | ||
|
||
train-nlu-gao: | ||
python bot.py train-nlu-gao | ||
|
||
run-nlu-gao-server: | ||
python -m rasa_nlu_gao.server -c configs/config_embedding_bilstm.yml --path models/nlu_gao/ | ||
|
||
compare-policy: | ||
python -m rasa_core.train compare -c policy/attention_policy.yml policy/keras_policy.yml policy/embed_policy.yml \ | ||
-d mobile_domain.yml -s data/mobile_edit_story.md -o comparison_models/ --runs 3 --percentages \ | ||
0 10 20 30 50 60 70 80 90 100 | ||
|
||
evaluate-policy: | ||
python -m rasa_core.evaluate compare -s data/mobile_edit_story.md --core comparison_models/ -o comparison_results/ | ||
run-graph: | ||
rasa visualize --domain domain.yml --stories data/core --config config.yml --nlu data/nlu |
This file contains 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 characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.