From 7e238d4c9485322337eda1892e74381cd07bf049 Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Fri, 2 Aug 2024 10:47:29 +0200 Subject: [PATCH] modell udpate --- workflow/posteingang-de-2.0.0.bpmn | 15 ++++++++++++--- workflow/prompts/categorize-en.xml | 2 +- workflow/prompts/invoice-extract-en.xml | 2 +- workflow/prompts/invoice-summarize-en.xml | 2 +- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/workflow/posteingang-de-2.0.0.bpmn b/workflow/posteingang-de-2.0.0.bpmn index 802bafb..d7eeecd 100644 --- a/workflow/posteingang-de-2.0.0.bpmn +++ b/workflow/posteingang-de-2.0.0.bpmn @@ -691,7 +691,7 @@ Betrag: _amount (Brutto € _amount_brutto - {"max_tokens": 4096, "temperature": 0 } + {"n_predict": 4096, "temperature": 0 } invoice.summary @@ -910,7 +910,7 @@ Transfer the individual invoice data to the XML tags, taking into account the fo - {"n_predict": 2048, "temperature": 0 } + {"n_predict": 512, "temperature": 0 } ^.+\.([pP][dD][fF])$ @@ -1016,6 +1016,7 @@ Note: Do not generate any other information instead of the XML object. Do not ge https://llama.cpp.imixs.com/ invoice.summary + true false @@ -1044,7 +1045,7 @@ Note: Do not generate any other information instead of the XML object. Do not ge - {"max_tokens": 4096, "temperature": 0 } + {"n_predict": 4096, "temperature": 0} ^.+\.([pP][dD][fF])$ @@ -1350,6 +1351,9 @@ Betrag: _amount (Brutto € _amount_brutto + + + @@ -1721,6 +1725,11 @@ Betrag: _amount (Brutto € _amount_brutto + + + + + diff --git a/workflow/prompts/categorize-en.xml b/workflow/prompts/categorize-en.xml index 11d142b..568900e 100644 --- a/workflow/prompts/categorize-en.xml +++ b/workflow/prompts/categorize-en.xml @@ -1,6 +1,6 @@ - {"n_predict": 2048, "temperature": 0 } + {"n_predict": 512, "temperature": 0 } ^.+\.([pP][dD][fF])$ diff --git a/workflow/prompts/invoice-extract-en.xml b/workflow/prompts/invoice-extract-en.xml index 6fc961c..0e3016d 100644 --- a/workflow/prompts/invoice-extract-en.xml +++ b/workflow/prompts/invoice-extract-en.xml @@ -1,6 +1,6 @@ - {"max_tokens": 4096, "temperature": 0 } + {"n_predict": 4096, "temperature": 0 } invoice.summary diff --git a/workflow/prompts/invoice-summarize-en.xml b/workflow/prompts/invoice-summarize-en.xml index 4ee31bd..750d330 100644 --- a/workflow/prompts/invoice-summarize-en.xml +++ b/workflow/prompts/invoice-summarize-en.xml @@ -1,6 +1,6 @@ - {"max_tokens": 4096, "temperature": 0 } + {"n_predict": 4096, "temperature": 0} ^.+\.([pP][dD][fF])$