ML Modell Update

This commit is contained in:
Ralph Soika 2021-02-23 09:44:09 +01:00
parent 9f88140b0e
commit 46e4d66e1c
12 changed files with 3867 additions and 722 deletions

View file

@ -44,7 +44,7 @@ Schnittstellen Details siehe unten
## E-Mail Schnittstelle ## E-Mail Schnittstelle
Es gibt ein Email Konto das wir f<EFBFBD>r den Import von Rechnungen nutzen Es gibt ein Email Konto das wir für den Import von Rechnungen nutzen
** Testaccount ** ** Testaccount **
@ -78,5 +78,8 @@ Die Konfiguration der FTP Schnittstelle erfolgt über den Konfigurationsdialog i
# Imixs-ML
Wir verwenden bei Alexander-Global Logistics ein standard Invoice ML Modell. Details hierzu finden sich [hier](./models/README.md)

View file

@ -1,13 +1,42 @@
# ML Models # ML Models
Hier befinden sich ML Modelle Wir verwenden bei Alexander-Global Logistics ein standard Invoice ML Modell. Dieses basiert im Grund auf unserem offizielen spacy modell 'invoice-de-0.1.0'.
Trainings Service aufrufen mit:
## Modell Nachtrainieren
Das Modell bei Alexander Logistics läst sich in der Dev Umggebung bei Bedarf nachtrainieren. Dazu geht man wie folgt vor:
**1.)** Aktuelles Modell auf Tikal Cloud Server sichern:
$ ssh imixs@master-1.tikal.imixs.com
$ cd tikal-cloud/
$ ./apps/alexander-logistics.office-workflow.de/ml_model_backup.sh
# Falls es zu einem io/error kommt, muss der spacy ml pod neu gestartet werden!
**2.)** Die Tikal-Cloud Pullen
**3.)** den Inhalt des invoice-de-0.1.0 Folders aus dem Backup directory in die lokale Dev Umgebung kopieren /
**4.)** Jetzt lokal den Trainingsserver aufrufen
http://localhost:8081/api/openapi-ui/index.html http://localhost:8081/api/openapi-ui/index.html
Dan die training-config-prod.xml Datei verwenden. und das training beginnen mit der datei 'training-config-prod.xml'. Man kann das training 3-4 mal durchführen.
**5.)** Nun kann man die Inhalte des invoice-de-0.1.0 Folders zurück auf den Tikal in den modell folder /invoice-de-0.1.0 einspielen
**6.)** Nun die änderungen nach Git Puschen.
**7.)** auf dem Tikal Sever nun das aktuellisete Modell wieder einspielen
$ git pull
$ ./apps/alexander-logistics.office-workflow.de/ml_model_deploy.sh invoice-de-0.1.0/
## 17.02.2020 - invoice-de-0.1.0 ## 17.02.2020 - invoice-de-0.1.0

0
models/invoice-de-0.1.0/config.cfg Executable file → Normal file
View file

0
models/invoice-de-0.1.0/meta.json Executable file → Normal file
View file

0
models/invoice-de-0.1.0/ner/cfg Executable file → Normal file
View file

BIN
models/invoice-de-0.1.0/ner/model Executable file → Normal file

Binary file not shown.

0
models/invoice-de-0.1.0/ner/moves Executable file → Normal file
View file

0
models/invoice-de-0.1.0/tokenizer Executable file → Normal file
View file

0
models/invoice-de-0.1.0/vocab/key2row Executable file → Normal file
View file

0
models/invoice-de-0.1.0/vocab/lookups.bin Executable file → Normal file
View file

4547
models/invoice-de-0.1.0/vocab/strings.json Executable file → Normal file

File diff suppressed because it is too large Load diff

0
models/invoice-de-0.1.0/vocab/vectors Executable file → Normal file
View file