-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.yml
46 lines (38 loc) · 916 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
40
41
42
43
44
45
46
recipe: default.v1
language: pt
pipeline:
- name: SpacyNLP
model: pt_core_news_md
- name: SpacyTokenizer
- name: SpacyFeaturizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 100
constrain_similarities: True
model_confidence: softmax
- name: FallbackClassifier
threshold: 0.7
ambiguity_threshold: 0.1
- name: EntitySynonymMapper
- name: SklearnIntentClassifier
- name: ResponseSelector
epochs: 100
retrieval_intent: faq
constrain_similarities: True
policies:
- name: MemoizationPolicy
- name: RulePolicy
core_fallback_threshold: 0.4
core_fallback_action_name: "action_default_fallback"
enable_fallback_prediction: True
- name: TEDPolicy
epochs: 100
constrain_similarities: True
model_confidence: softmax
max_history: 5