-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
40 lines (39 loc) · 872 Bytes
/
config.yml
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
39
language: en
pipeline:
- name: MitieNLP
model: "data/total_word_feature_extractor_zh.dat"
- name: JiebaTokenizer
- name: RegexFeaturizer
- name: MitieEntityExtractor
- name: MitieFeaturizer
- name: SklearnIntentClassifier
epochs: 200
ranking_length: 5
- name: EntitySynonymMapper
- name: ResponseSelector
retrieval_intent: out_of_scope
scale_loss: false
epochs: 100
- name: ResponseSelector
retrieval_intent: faq
scale_loss: false
epochs: 100
- name: ResponseSelector
retrieval_intent: chitchat
scale_loss: false
epochs: 100
- name: FallbackClassifier
threshold: 0.7
policies:
- name: TEDPolicy
max_history: 3
epochs: 20
batch_size:
- 32
- 64
- max_history: 3
name: AugmentedMemoizationPolicy
- name: RulePolicy
core_fallback_threshold: 0.3
core_fallback_action_name: "action_default_fallback"
enable_fallback_prediction: True