forked from learnerzhang/rasa_usage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathz_run.sh
29 lines (17 loc) · 1013 Bytes
/
z_run.sh
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
# train
# 默认生成default
python -m train -c sample_configs/config_custom.yml -d data/rasa/movie.json -o models/
python -m train -c sample_configs/config_ltp.yml -d data/rasa/movie.json -o models/ --project ltp
python -m train -c sample_configs/config_ltp.yml -d data/rasa/movie.json -o models/ --project ltp
python -m train -c sample_configs/config_n2g.yml -d data/rasa/movie.json -o models/ --project n2g
python -m train -c sample_configs/config_call_graph.yml -d data/call2graph/rules.md -o models/ --project c2g
# 指定模型的具体位置
python -m train -c sample_configs/config_n2g.yml -d data/rasa/movie.json -o models/ --project n2g --fixed_model_name model
# coref
python -m train -c sample_configs/config_coref.yml -d data/rasa/movie.json -o models/ --project coref
# Relation
python -m train -c sample_configs/config_relation.yml -d data/rasa/movie.json -o models/ --project relation --debug
# server
python -m server --path models
# test
python -m unittest tests.call2graph.api_test