-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
376c7e5
commit 15e62e3
Showing
2 changed files
with
29 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,3 +124,6 @@ results/ | |
# Secret & local files | ||
secret/ | ||
run_rasa* | ||
|
||
# DVC | ||
.dvc/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,41 @@ | ||
version: "3.1" | ||
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: 100 | ||
- name: FallbackClassifier | ||
threshold: 0.7 | ||
- name: DucklingEntityExtractor | ||
url: http://localhost:8000 | ||
dimensions: | ||
- amount-of-money | ||
- time | ||
- number | ||
- name: SpacyNLP | ||
model: "en_core_web_md" | ||
case_sensitive: false | ||
- name: "SpacyEntityExtractor" | ||
- name: WhitespaceTokenizer | ||
- name: RegexFeaturizer | ||
- name: LexicalSyntacticFeaturizer | ||
- name: CountVectorsFeaturizer | ||
- name: CountVectorsFeaturizer | ||
analyzer: "char_wb" | ||
min_ngram: 1 | ||
max_ngram: 4 | ||
- name: DIETClassifier | ||
epochs: 100 | ||
- name: FallbackClassifier | ||
threshold: 0.7 | ||
- name: DucklingEntityExtractor | ||
url: http://localhost:8000 | ||
dimensions: | ||
- amount-of-money | ||
- time | ||
- number | ||
- name: SpacyNLP | ||
model: "en_core_web_md" | ||
case_sensitive: false | ||
- name: "SpacyEntityExtractor" | ||
# Note: It is not possible to use the SpacyTokenizer + SpacyFeaturizer in | ||
# combination with the WhitespaceTokenizer, and as a result the | ||
# PERSON extraction by Spacy is not very robust. | ||
# Because of this, the nlu training data is annotated as well, and the | ||
# DIETClassifier will also extract PERSON entities . | ||
dimensions: ["PERSON"] | ||
- name: EntitySynonymMapper | ||
dimensions: ["PERSON"] | ||
- name: EntitySynonymMapper | ||
policies: | ||
- name: AugmentedMemoizationPolicy | ||
- name: TEDPolicy | ||
epochs: 40 | ||
- name: RulePolicy | ||
core_fallback_threshold: 0.4 | ||
core_fallback_action_name: "action_default_fallback" | ||
enable_fallback_prediction: True | ||
enable_fallback_prediction: true | ||
assistant_id: 20231006-075245-hoary-gallery |