prompt fine tuning - AGL company name

This commit is contained in:
Ralph Soika 2024-08-12 21:53:14 +02:00
parent fc7a591da7
commit 81229a422c
4 changed files with 7 additions and 12 deletions

View file

@ -36,13 +36,7 @@ services:
#OCR_SERVICE_MAXFILESIZE: "1048576" #OCR_SERVICE_MAXFILESIZE: "1048576"
#OCR_PDF_MODE: "OCR_ONLY | TEXT_ONLY | TEXT_AND_OCR (default)" #OCR_PDF_MODE: "OCR_ONLY | TEXT_ONLY | TEXT_AND_OCR (default)"
OCR_PDF_MODE: "OCR_ONLY" OCR_PDF_MODE: "OCR_ONLY"
#ML_SERVICE_ENDPOINT: "http://imixs-ml-spacy:8000/"
# Enable Training Scheduler
#ML_TRAINNG_SCHEDULER_ENABLED: "true"
# TYPO Issue #28
#ML_TRAINING_SCHEDULER_ENABLED: "true"
#ML_TRAINING_SCHEDULER_INTERVAL: "10000"
#ML_TRAINING_SCHEDULER_INITIALDELAY: "30000"
LLM_SERVICE_ENDPOINT_USER: "admin" LLM_SERVICE_ENDPOINT_USER: "admin"
LLM_SERVICE_ENDPOINT_PASSWORD: "imixs4.null" LLM_SERVICE_ENDPOINT_PASSWORD: "imixs4.null"

View file

@ -692,7 +692,7 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
<bpmn2:documentation id="documentation_X7T0uA" open-bpmn:file-link="file://prompts/invoice-extract-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <bpmn2:documentation id="documentation_X7T0uA" open-bpmn:file-link="file://prompts/invoice-extract-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"n_predict": 4096, "temperature": 0 }</prompt_options> <prompt_options>{"n_predict": 4096, "temperature": 0 }</prompt_options>
<prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST] <prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics'. Your task is to check incoming invoices. [/INST]
<itemvalue>invoice.summary</itemvalue> <itemvalue>invoice.summary</itemvalue>
@ -1045,8 +1045,9 @@ Note: Do not generate any other information instead of the XML object. Do not ge
<bpmn2:dataObject id="dataObject_KPUiiw" name="Prompt Summary"> <bpmn2:dataObject id="dataObject_KPUiiw" name="Prompt Summary">
<bpmn2:documentation id="documentation_8puQcA" open-bpmn:file-link="file://prompts/invoice-summarize-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <bpmn2:documentation id="documentation_8puQcA" open-bpmn:file-link="file://prompts/invoice-summarize-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"n_predict": 4096, "temperature": 0}</prompt_options> <prompt_options>{"n-ctx": 16384, "n-predict": 4096, "n_ctx": 16384, "n_predict": 4096,
<prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST] "temperature": 0}</prompt_options>
<prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics'. Your task is to check incoming invoices. [/INST]
<FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT> <FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"n_predict": 4096, "temperature": 0 }</prompt_options> <prompt_options>{"n_predict": 4096, "temperature": 0 }</prompt_options>
<prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST] <prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics'. Your task is to check incoming invoices. [/INST]
<itemvalue>invoice.summary</itemvalue> <itemvalue>invoice.summary</itemvalue>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"n_predict": 4096, "temperature": 0}</prompt_options> <prompt_options>{"n_predict": 4096, "temperature": 0}</prompt_options>
<prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST] <prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics'. Your task is to check incoming invoices. [/INST]
<FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT> <FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT>