-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
67 lines (64 loc) · 2.04 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
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: pt
pipeline:
# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 75
evaluate_on_number_of_examples: 16
evaluate_every_number_of_epochs: 5
tensorboard_log_directory: "./tensorboard"
tensorboard_log_level: "epoch"
constrain_similarities: true
loss_type : cross_entropy
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 75
constrain_similarities: true
- name: FallbackClassifier
threshold: 0.3
ambiguity_threshold: 0.1
- name: RegexEntityExtractor
use_lookup_tables: true
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
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
- name: RulePolicy
- name: UnexpecTEDIntentPolicy
max_history: 5
epochs: 75
- name: TEDPolicy
transformer_size:
text: 128
action_text: 128
label_action_text: 128
dialogue: 128
number_of_transformer_layers:
text: 3
action_text: 3
label_action_text: 3
dialogue: 3
model_confidence: linear_norm
max_history: 5
epochs: 75
batch_size: 32
evaluate_on_number_of_examples: 16
evaluate_every_number_of_epochs: 5
tensorboard_log_directory: "./tensorboard"
tensorboard_log_level: "epoch"
constrain_similarities: true
loss_type : cross_entropy