-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_v1.yml
39 lines (34 loc) · 870 Bytes
/
config_v1.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: WhitespaceTokenizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: "char_wb"
min_ngram: 1
max_ngram: 4
- name: RegexFeaturizer
- name: LogisticRegressionClassifier
epochs: 200
- name: ResponseSelector
epochs: 200
constrain_similarities: trueW
- name: DIETClassifier
epochs: 100
- name: EntitySynonymMapper
- name: FallbackClassifier
threshold: 0.65
ambiguity_threshold: 0.1
policies:
- name: UnexpecTEDIntentPolicy
epochs: 20
constrain_similarities: true
- name: AugmentedMemoizationPolicy
max_history: 5
- name: MemoizationPolicy
max_history: 3
priority: 4
- name: RulePolicy
core_fallback_threshold: 0.3
core_fallback_action_name: "action_default_fallback"
enable_fallback_prediction: true
# rasa run -m models --endpoints endpoints.yml