-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
38 lines (34 loc) · 900 Bytes
/
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
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: es
pipeline:
- name: HFTransformersNLP
model_name: "bert"
model_weights: "bert-base-multilingual-uncased"
- name: LanguageModelTokenizer
- name: LanguageModelFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 2
max_ngram: 4
- name: DIETClassifier
epochs: 100
constrain_similarities: true
number_of_transformer_layers: 4
transformer_size: 256
use_masked_language_model: True
drop_rate: 0.25
connection_density: 0.7
batch_size: [64, 256]
embedding_dimension: 30
hidden_layer_sizes:
text: [512, 128]
- name: EntitySynonymMapper
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
- name: MemoizationPolicy
- name: TEDPolicy
max_history: 5
epochs: 100
- name: RulePolicy