question

ChristianWellnitz-8918 avatar image
0 Votes"
ChristianWellnitz-8918 asked romungi-MSFT commented

Retrain FormsRecognizer with same id

Hi
Would it be possible to have an update model function in the api ?
The problem is when i train my model i get a model key.
Then i retrain that model adding new documents and get a new key.
I would like to have the same model key for the update training.
Or why is that functionality not possible ?

azure-form-recognizer
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered romungi-MSFT commented

@ChristianWellnitz-8918 Re-training your project to create or update the existing model id is not possible with form recognizer due to the current design. A new model id is generated after every train event. You can however use a friendly name while training a model for model management. This option is available using the label tool or the API by adding the ModelName parameter in the body of the request.

API:

{
"source": "<storage_uri>",
"sourceFilter": {
"prefix": "<form_prefix>",
"includeSubFolders": false
},
"useLabelFile": false,
"ModelName": "Rohit"
}

Label Tool:

107113-image.png





image.png (32.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi
I know it is not possible and I know you can give it a friendly name.
But I wanted to know if there is something planed for the future regarding this issue.
The use case is I train a model and save the id for later use.
Then I get some more documents that fail and retrain the model.
For convenience I would be nice to reuse the same id.

0 Votes 0 ·
romungi-MSFT avatar image romungi-MSFT ChristianWellnitz-8918 ·

@ChristianWellnitz-8918 Unfortunately, we do not have visibility of the roadmap of future updates. I can pass the feedback internally to the team for visibility.
Also linking your idea from feedback portal for community members to vote on the idea. Thanks!!


0 Votes 0 ·