forked from RedHatInsights/astro-virtual-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nlu-config.yml
27 lines (26 loc) · 824 Bytes
/
nlu-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
# This is a copy of the NLU part of our config.yml for hyper-parameter optimizer
# The variable parts are wrapped in curly braces.
recipe: default.v1
language: en
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: {diet-classifier-epochs}
constrain_similarities: true
- name: pipeline.fuzzy_entity_extractor.FuzzyEntityExtractor
sentence_score_cutoff: 55
word_score_cutoff: 75
case_sensitive: False
use_slots: True
- name: ResponseSelector
epochs: {response-selector-epochs}
constrain_similarities: true
- name: FallbackClassifier
threshold: {fallback-classifier-threshold}