-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yml
More file actions
44 lines (42 loc) · 1.3 KB
/
config.yml
File metadata and controls
44 lines (42 loc) · 1.3 KB
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
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline:
# See https://rasa.com/docs/rasa/tuning-your-model for more information.
- name: SpacyNLP
model: "en_core_web_md"
- name: SpacyTokenizer
# - name: SpacyEntityExtractor
- name: CRFEntityExtractor
- name: SpacyFeaturizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: "char_wb"
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 50
constrain_similarities: true
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
constrain_similarities: true
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: MemoizationPolicy
constrain_similarities: true
- name: TEDPolicy
max_history: 5
epochs: 200
constrain_similarities: true
- name: RulePolicy
core_fallback_threshold: 0.3
core_fallback_action_name: action_default
enable_fallback_prediction: true
restrict_rules: true
check_for_contradictions: true
constrain_similarities: true