1 Star 0 Fork 1

gary/rasa_ch_faq

forked from 夏周睿/rasa_ch_faq 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.yml 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
zmzposa 提交于 2021-06-24 18:23 . :star:完成图谱初版代码
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: zh
pipeline:
# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
# - name: compoments.nlu.helpers.correction.TextCorrection # 文本纠错 Component
- name: compoments.nlu.tokenizers.bert_tokenizer.CustomBertTokenizer
cache_dir: ./tmp
model_weights: pre_models
- name: LanguageModelFeaturizer
cache_dir: ./tmp
model_name: bert
model_weights: pre_models
- name: RegexFeaturizer
- name: DIETClassifier
epochs: 100
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
retrieval_intent: rasa_faq
- name: FallbackClassifier
threshold: 0.3
ambiguity_threshold: 0.1
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
# # No configuration for policies was provided. The following default policies were used to train your model.
# # If you'd like to customize them, uncomment and adjust the policies.
# # See https://rasa.com/docs/rasa/policies for more information.
- name: AugmentedMemoizationPolicy
- name: TEDPolicy
max_history: 5
epochs: 100
- name: compoments.polices.ask_again_policy.AskAgainRulePolicy
core_fallback_threshold: 0.5
ask_again_intent: "再问一次"
need_ask_again_intents:
- "查询天气"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/legato/rasa_ch_faq.git
git@gitee.com:legato/rasa_ch_faq.git
legato
rasa_ch_faq
rasa_ch_faq
GRAPH

搜索帮助