@@ -421,22 +421,19 @@ Augmented Memoization Policy
421
421
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
422
422
423
423
The ``AugmentedMemoizationPolicy `` remembers examples from training
424
- stories for up to ``max_history `` turns. It has a forgetting mechanism
425
- that will forget a certain amount of steps in the conversation history
426
- and try to find a match in your stories with the reduced history. It
427
- predicts the next action with confidence ``1.0 `` if a match is found,
428
- otherwise it predicts ``None `` with confidence ``0.0 ``.
424
+ stories for up to ``max_history `` turns, just like the `` MemoizationPolicy ``.
425
+ Additionally, it has a forgetting mechanism that will forget a certain amount
426
+ of steps in the conversation history and try to find a match in your stories
427
+ with the reduced history. It predicts the next action with confidence ``1.0 ``
428
+ if a match is found, otherwise it predicts ``None `` with confidence ``0.0 ``.
429
429
430
430
.. note ::
431
-
432
- If it is needed to recall turns from training dialogues where some
433
- slots might not be set during prediction time, add relevant stories
434
- without such slots to training data, e.g. reminder stories. Since
435
- slots that are set some time in the past are preserved in all
436
- future feature vectors until they are set to None, this policy has
437
- a capability to recall the turns up to ``max_history `` from training
438
- stories during prediction even if additional slots were filled in
439
- the past for current dialogue.
431
+
432
+ If you have dialogues where some slots that are set during
433
+ prediction time might not be set in training stories (e.g. in training
434
+ stories starting with a reminder not all previous slots are set),
435
+ make sure to add the relevant stories without slots to your training
436
+ data as well.
440
437
441
438
.. _fallback-policy :
442
439
0 commit comments