-
Notifications
You must be signed in to change notification settings - Fork 799
/
config.yml
49 lines (49 loc) · 1.03 KB
/
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
47
48
49
language: en
pipeline:
- name: WhitespaceTokenizer
token_pattern: (?u)\b\w+\b
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
OOV_token: oov
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 200
ranking_length: 5
- name: DucklingEntityExtractor
url: http://localhost:8000
dimensions:
- email
- number
- amount-of-money
- 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: RulePolicy
core_fallback_threshold: 0.3
core_fallback_action_name: "action_default_fallback"
enable_fallback_prediction: True
- max_history: 6
name: AugmentedMemoizationPolicy
- name: TEDPolicy
max_history: 10
epochs: 20
batch_size:
- 32
- 64