Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
wiki:software:beuthbot:rasa:training [22.07.2020 19:29] Lukas Danckwerth |
wiki:software:beuthbot:rasa:training [22.07.2020 19:39] (aktuell) Lukas Danckwerth |
||
|---|---|---|---|
| Zeile 27: | Zeile 27: | ||
| This guide explains how to create a new training model for Rasa. The following image gives you an overview of the files and steps to do. `*.chatito` files places in the `training/ | This guide explains how to create a new training model for Rasa. The following image gives you an overview of the files and steps to do. `*.chatito` files places in the `training/ | ||
| - | ![alternative text](http://www.plantuml.com/plantuml/proxy? | + | < |
| + | @startuml | ||
| + | package Rasa { | ||
| + | |||
| + | folder training/app/input as TI { | ||
| + | artifact FILE1.chatito | ||
| + | artifact FILE2.chatito | ||
| + | } | ||
| + | |||
| + | card " | ||
| + | |||
| + | folder training/app/data as TD { | ||
| + | artifact FILE1.json | ||
| + | artifact FILE2.json | ||
| + | } | ||
| + | |||
| + | card " | ||
| + | |||
| + | folder training/app/model as M { | ||
| + | artifact "nlu-YYYYMMDD-HHMMSS.tar.gz" | ||
| + | } | ||
| + | |||
| + | TI --> C1 | ||
| + | C1 --> TD | ||
| + | TD --> C2 | ||
| + | C2 --> M | ||
| + | |||
| + | } | ||
| + | @enduml | ||
| + | </uml> | ||
| === 1 - Provide new input training data === | === 1 - Provide new input training data === | ||
| - | Modify or add `*.chatito` files in the `training/ | + | Modify or add `*.chatito` files in the `training/ |
| == 1.1 - Generate training datasets == | == 1.1 - Generate training datasets == | ||
| Zeile 76: | Zeile 105: | ||
| </ | </ | ||
| - | > For a fast convenient way to [generate training datasets](# | + | > For a fast convenient way to [[# |
| - | > < | + | < |
| - | > # runs both the dataset generation and train model container | + | # runs both the dataset generation and train model container |
| - | > docker-compose -f docker-compose.yml up | + | docker-compose -f docker-compose.yml up |
| - | > | + | |
| - | > # .. or simply | + | # .. or simply |
| - | > docker-compose up | + | docker-compose up |
| - | > </ | + | </ |
| === 3 - Check generated file === | === 3 - Check generated file === | ||