-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
114 lines (111 loc) · 2.74 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
## # Configuration for Rasa NLU.
## # https://rasa.com/docs/rasa/nlu/components/
#language: en
## pipeline:
## - name: HFTransformersNLP
## - name: LanguageModelTokenizer
## #- name: ConveRTFeaturizer
## #- name: SpacyNLP
## #- name: WhitespaceTokenizer
## - name: LanguageModelFeaturizer
## - name: RegexFeaturizer
## - name: LexicalSyntacticFeaturizer
## - name: CountVectorsFeaturizer
## - name: CountVectorsFeaturizer
## analyzer: "char_wb"
## min_ngram: 1
## max_ngram: 4
## - name: DIETClassifier
## batch_strategy: sequence
## epochs: 100
## - name: EntitySynonymMapper
## #- name: CRFEntityExtractor
## - name: ResponseSelector
## epochs: 100
#
## # Configuration for Rasa Core.
## # https://rasa.com/docs/rasa/core/policies/
## policies:
## - name: MemoizationPolicy
## - name: TEDPolicy
## - name: FormPolicy
## - name: MappingPolicy
#
###########Modifed###########
##language: en
##
##pipeline:
##- name: "SpacyNLP"
##- name: "SpacyTokenizer"
##- name: "SpacyFeaturizer"
##- name: "CRFEntityExtractor"
##- name: "SklearnIntentClassifier"
### - name: DucklingHTTPExtractor
### url: http://localhost:8000
### dimensions:
### - number
##policies:
##- batch_size: 50
## epochs: 200
## max_training_samples: 300
## name: KerasPolicy
##- name: FallbackPolicy
## nlu_threshold: 0.4
## core_threshold: 0.3
## fallback_action_name: action_default_fallback
##- max_history: 5
## name: MemoizationPolicy
##- name: FormPolicy
##- name: MappingPolicy
# language: en
# pipeline:
# - name: "SpacyNLP"
# - name: "SpacyTokenizer"
# - name: "SpacyFeaturizer"
# - name: "CRFEntityExtractor"
# - name: "components.RegexEntityExtractor"
# - name: "SklearnIntentClassifier"
# # - name: DucklingHTTPExtractor
# # url: http://localhost:8000
# # dimensions:
# # - number
# policies:
# - batch_size: 50
# epochs: 200
# max_training_samples: 300
# name: KerasPolicy
# - name: FallbackPolicy
# nlu_threshold: 0.4
# core_threshold: 0.3
# fallback_action_name: action_default_fallback
# - max_history: 5
# name: MemoizationPolicy
# - name: FormPolicy
# - name: MappingPolicy
#
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline:
- name: WhitespaceTokenizer
- name: components.RegexEntityExtractor
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: "char_wb"
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 100
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
- name: MemoizationPolicy
- name: TEDPolicy
max_history: 5
epochs: 100
- name: MappingPolicy
- name: FormPolicy