Skip to content

Commit

Permalink
add trained model for test
Browse files Browse the repository at this point in the history
  • Loading branch information
zqhZY committed Jan 18, 2018
1 parent dac7ced commit 3e6b435
Show file tree
Hide file tree
Showing 13 changed files with 2,083 additions and 0 deletions.
35 changes: 35 additions & 0 deletions models/dialogue/domain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"features": [
"intent_greet",
"intent_confirm",
"intent_goodbye",
"intent_thanks",
"intent_inform_item",
"intent_inform_package",
"intent_inform_time",
"intent_request_management",
"intent_request_search",
"intent_deny",
"intent_inform_current_phone",
"intent_inform_other_phone",
"entity_item",
"entity_time",
"entity_phone_number",
"entity_price",
"slot_item_0",
"slot_phone_number_0",
"slot_price_0",
"slot_time_0",
"prev_action_listen",
"prev_action_restart",
"prev_utter_greet",
"prev_utter_goodbye",
"prev_utter_default",
"prev_utter_thanks",
"prev_utter_ask_morehelp",
"prev_utter_ask_time",
"prev_utter_ask_package",
"prev_utter_ack_management",
"prev_action_search_consume"
]
}
77 changes: 77 additions & 0 deletions models/dialogue/domain.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
action_factory: null
action_names:
- utter_greet
- utter_goodbye
- utter_default
- utter_thanks
- utter_ask_morehelp
- utter_ask_time
- utter_ask_package
- utter_ack_management
- action_search_consume
actions:
- utter_greet
- utter_goodbye
- utter_default
- utter_thanks
- utter_ask_morehelp
- utter_ask_time
- utter_ask_package
- utter_ack_management
- bot.ActionSearchConsume
config:
store_entities_as_slots: true
entities:
- item
- time
- phone_number
- price
intents:
- greet
- confirm
- goodbye
- thanks
- inform_item
- inform_package
- inform_time
- request_management
- request_search
- deny
- inform_current_phone
- inform_other_phone
slots:
item:
type: text
phone_number:
type: text
price:
type: text
time:
type: text
templates:
utter_ack_management:
- text: 已经为您办理好了{item}
utter_ask_morehelp:
- text: 还有什么能帮您吗
- text: 您还想干什么
utter_ask_package:
- text: 我们现在支持办理流量套餐:套餐一:二十元包月三十兆;套餐二:四十元包月八十兆,请问您需要哪个?
- text: 我们有如下套餐供您选择:套餐一:二十元包月三十兆;套餐二:四十元包月八十兆,请问您需要哪个?
utter_ask_time:
- text: 你想查哪个时间段的
- text: 你想查几月份的
utter_default:
- text: 您说什么
- text: 您能再说一遍吗,我没听清
utter_goodbye:
- text: 再见,为您服务很开心
- text: Bye, 下次再见
utter_greet:
- text: 您好!,我是机器人小热,很高兴为您服务。
- text: 你好!,我是小热,可以帮您办理流量套餐,话费查询等业务。
- text: hi!,人家是小热,有什么可以帮您吗。
utter_thanks:
- text: 不用谢
- text: 我应该做的
- text: 您开心我就开心
topics: []
1 change: 1 addition & 0 deletions models/dialogue/featurizer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"py/object": "rasa_core.featurizers.BinaryFeaturizer"}
1 change: 1 addition & 0 deletions models/dialogue/keras_arch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"class_name": "Sequential", "config": [{"class_name": "Masking", "config": {"name": "masking_1", "trainable": true, "batch_input_shape": [null, 2, 31], "dtype": "float32", "mask_value": -1}}, {"class_name": "LSTM", "config": {"name": "lstm_1", "trainable": true, "batch_input_shape": [null, 2, 31], "dtype": "float32", "return_sequences": false, "return_state": false, "go_backwards": false, "stateful": false, "unroll": false, "implementation": 0, "units": 32, "activation": "tanh", "recurrent_activation": "hard_sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "recurrent_initializer": {"class_name": "Orthogonal", "config": {"gain": 1.0, "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "unit_forget_bias": true, "kernel_regularizer": null, "recurrent_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "recurrent_constraint": null, "bias_constraint": null, "dropout": 0.0, "recurrent_dropout": 0.0}}, {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "batch_input_shape": [null, 32], "dtype": "float32", "units": 11, "activation": "linear", "use_bias": true, "kernel_initializer": {"class_name": "VarianceScaling", "config": {"scale": 1.0, "mode": "fan_avg", "distribution": "uniform", "seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}, {"class_name": "Activation", "config": {"name": "activation_1", "trainable": true, "activation": "softmax"}}], "keras_version": "2.0.8", "backend": "tensorflow"}
1 change: 1 addition & 0 deletions models/dialogue/keras_policy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"arch": "keras_arch.json", "weights": "keras_weights.h5", "epochs": 200}
Binary file added models/dialogue/keras_weights.h5
Binary file not shown.
94 changes: 94 additions & 0 deletions models/dialogue/memorized_turns.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"lookup": {
"eJyLzivNydFRiI7OzCtJzSuJTy9KTS3RUTCMBYoVFKWWxScml2Tm58XnZBYD5UESsbEA9W8Svg==": 2,
"eJwtzEEKgDAMRNGr9ABd6HlKCaUEDMRUm6ng7a3icv6DSTZUY0hJDGygzudgBzmXXrcY1jxxguAmAe9/cW34Ni1/OTpfVCqkGan4PHsh5we8pyKR": 10,
"eJwtjFEKgDAMQ6/iAfah5xmjDClS6DrdMsHbW2V/yXsh0YZqWGIUAxuo8TW4g0q2fHBxFJYt+cCT4CEBl0m6Vvyd1knOxjflHVKNVLoffiKlF17YJDg=": 8,
"eJyLjo4uKEotiy8tKUktii/JSMzLLtZRMIyN1VGIjs7MK0nNK4lPL0pNLQEJAsXAihOTSzLz8+JzMouB8mDVsQDN+hoo": 2,
"eJwtjNEJgDAMBVdxgH7oPKGEIoEGa6rNU3B7a/Hz7uCI6Ghy8wVIY+Rkm4dpiTFMRGoQAzc5L3GwS2pr/mqPPSgeVsj+Gy8Vg3n+zTinFVqNi3qfjXV8AeLjKfs=": 7,
"eJwtjEEKgDAMBL/iA3rQ94QSggQN2lTbVfD31uJtdxiGiI6iN1+AFsYqvtUwTDGGgcgc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zM+Lz8ksBsqDJEAyOFWXlpSkFiGEY2MByw8gPw==": 0,
"eJyLzivNydFRiI7OzCtJzSuJTy9KTS3RUTCMBYoVFKWWxZeWlKQWIYRjYwHQNhH8": 0,
"eJyLjo7OzCtJzSuJTy9KTS3RUTCM1VGILs7JL4nPLEnNjTdAFinJzE2FixQUpZbFl5aUpBYhtILE4ebl56ckVaaSamJicklmfl58TmYx0BSwmbEASmM4kQ==": 3,
"eJyLzivNydFRiI7OzCtJzSuJT8/PT0mqTNVRMIwFihbn5JfEZ5ak5sYbIIuUZOamwkUKilLL4hOTSzLz8+JzMouBpoAkYmMBnH0fUA==": 3,
"eJyLjo7OzCtJzSuJTy9KTS3RUTCM1VGILs7JL4nPLEnNjTdAFinJzE2FixQUpZbFJyaXZObnxedkFgPNAEmAZCgysbSkJLUIoTU2FgDVbTe/": 0,
"eJyLzivNydFRiI7OzCtJzSuJTy9KTS3RUTCMBYoV5+SXxGeWpObGGyCLlGTmpsJFCopSy+JLS0pSixBaY2MBF08dvA==": 0,
"eJyLzivNydFRAJGxAB0vBHs=": 0
}
}
9 changes: 9 additions & 0 deletions models/dialogue/policy_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"rasa_core": "0.8.0a1",
"max_history": 2,
"ensemble_name": "rasa_core.policies.ensemble.SimplePolicyEnsemble",
"policy_names": [
"rasa_core.policies.memoization.MemoizationPolicy",
"__main__.MobilePolicy"
]
}
Binary file added models/ivr/demo/entity_extractor.dat
Binary file not shown.
5 changes: 5 additions & 0 deletions models/ivr/demo/entity_synonyms.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"\u8bdd\u8d39": "\u6d88\u8d39",
"\u94b1": "\u6d88\u8d39",
"\u91cf\u4e1a": "\u6d41\u91cf"
}
Binary file added models/ivr/demo/intent_classifier.pkl
Binary file not shown.
21 changes: 21 additions & 0 deletions models/ivr/demo/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"language": "zh",
"pipeline": [
"rasa_nlu.utils.mitie_utils.MitieNLP",
"rasa_nlu.tokenizers.jieba_tokenizer.JiebaTokenizer",
"rasa_nlu.extractors.mitie_entity_extractor.MitieEntityExtractor",
"rasa_nlu.extractors.entity_synonyms.EntitySynonymMapper",
"rasa_nlu.featurizers.regex_featurizer.RegexFeaturizer",
"rasa_nlu.featurizers.mitie_featurizer.MitieFeaturizer",
"rasa_nlu.classifiers.sklearn_intent_classifier.SklearnIntentClassifier"
],
"training_data": "training_data.json",
"mitie_feature_extractor_fingerprint": 18096750213186988631,
"mitie_file": "data/total_word_feature_extractor.dat",
"entity_extractor_mitie": "entity_extractor.dat",
"entity_synonyms": "entity_synonyms.json",
"regex_featurizer": null,
"intent_classifier_sklearn": "intent_classifier.pkl",
"trained_at": "20180117-103436",
"rasa_nlu_version": "0.10.4"
}
Loading

0 comments on commit 3e6b435

Please sign in to comment.