-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
65 lines (62 loc) · 1.67 KB
/
Copy pathconfig.yml
File metadata and controls
65 lines (62 loc) · 1.67 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# # Configuration for Rasa NLU.
# # https://rasa.com/docs/rasa/nlu/components/
# language: en
# pipeline:
# - name: SpacyNLP # loads the spacy language model
# model: "en_core_web_md"
# case_sensitive: False
# - name: SpacyTokenizer # Tokenize sentences into docs
# - name: SpacyFeaturizer # generate word embeddings
# pooling: mean
# - name: RegexFeaturizer
# - name: CRFEntityExtractor
# - name: RegexEntityExtractor
# case_sensitive: false
# use_lookup_tables: true
# use_regexes: true
# use_word_boundaries: true
# - name: EntitySynonymMapper
# - name: SklearnIntentClassifier
# policies:
# - name: MemoizationPolicy
# - name: TEDPolicy
# max_history: 5
# epochs: 100
# constrain_similarities: true
# - name: RulePolicy
language: en
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
# - name: CRFEntityExtractor
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DucklingEntityExtractor
url: 'http://localhost:8000'
dimensions: null
- name: RegexEntityExtractor
case_sensitive: false
use_lookup_tables: true
use_regexes: true
use_word_boundaries: true
- name: DIETClassifier
epochs: 100
- name: ResponseSelector
epochs: 100
- name: FallbackClassifier
threshold: 0.7
ambiguity_threshold: 0.1
- name: EntitySynonymMapper
policies:
- name: AugmentedMemoizationPolicy
max_history: 5
- name: TEDPolicy
max_history: 8
epochs: 200
- name: RulePolicy
core_fallback_threshold: 0.4
core_fallback_action_name: "action_default_fallback"
enable_fallback_prediction: True