forked from RasaHQ/rasa-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (28 loc) · 1.22 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.PHONY: clean test lint
TEST_PATH=./
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-cmdline"
@echo " Starts the bot on the command line"
@echo " visualize"
@echo " Saves the story graphs into a file"
run-actions:
python3 -m rasa_core_sdk.endpoint --actions demo.actions
train-nlu:
python3 -m rasa_nlu.train -c nlu_tensorflow.yml --fixed_model_name current --data data/nlu/ -o models --project nlu --verbose
train-core:
python3 -m rasa_core.train -d domain.yml -s data/core -c policy.yml --debug -o models/dialogue
train-memo:
python -m rasa_core.train -d domain.yml -s data/core -c augmentedmemo-only.yml -o models/dialogue --augmentation 0
run-cmdline:
make run-actions&
python3 -m rasa_core.run -d models/dialogue -u models/nlu/current --debug --endpoints endpoints.yml
visualize:
python3 -m rasa_core.visualize -s data/core/ -d domain.yml -o story_graph.png
train-online:
python -m rasa_core.train -u models/nlu/current/ --online --core models/dialogue/
evaluate-core:
python -m rasa_core.test --core models/dialogue -s data/core/ --fail_on_prediction_errors