migrate to rasa 3.x pretraining

This commit is contained in:
Pratyush Desai 2022-02-03 01:05:02 +05:30
parent 6f9950bcdf
commit 2a406e8f87
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD
5 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,5 @@
recipe: default.v1
language: en language: en
pipeline: pipeline:
- name: WhitespaceTokenizer - name: WhitespaceTokenizer
@ -9,14 +11,14 @@ pipeline:
min_ngram: 1 min_ngram: 1
max_ngram: 4 max_ngram: 4
- name: DIETClassifier - name: DIETClassifier
epochs: 100 epochs: 10
- name: EntitySynonymMapper - name: EntitySynonymMapper
- name: ResponseSelector - name: ResponseSelector
epochs: 100 epochs: 10
policies: policies:
- name: MemoizationPolicy - name: MemoizationPolicy
- name: RulePolicy - name: RulePolicy
- name: TEDPolicy - name: TEDPolicy
max_history: 5 max_history: 5
epochs: 100 epochs: 10

View File

@ -1,3 +1,5 @@
version: "3.0"
nlu: nlu:
- intent: greet - intent: greet
examples: | examples: |
@ -15,7 +17,7 @@ nlu:
- Can you sign me up for an account? - Can you sign me up for an account?
- How do I sign up? - How do I sign up?
- intent: inform - intent: inform_email
examples: | examples: |
- My email is example@example.com - My email is example@example.com
- random@example.com - random@example.com

View File

@ -1,3 +1,8 @@
version: "3.0"
policies:
- name: RulePolicy
rules: rules:
- rule: activate signup form - rule: activate signup form
steps: steps:

View File

@ -1,3 +1,5 @@
version: "3.0"
stories: stories:
- story: greet and signup - story: greet and signup
steps: steps:

View File

@ -1,4 +1,4 @@
version: '2.0' version: '3.0'
session_config: session_config:
session_expiration_time: 60 session_expiration_time: 60
carry_over_slots_to_new_session: true carry_over_slots_to_new_session: true