You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!INCLUDE [applies to v3.0](includes/applies-to-v3-0.md)]
19
+
::: moniker-end
20
+
21
+
::: moniker range="form-recog-2.1.0"
22
+
[!INCLUDE [applies to v2.1](includes/applies-to-v2-1.md)]
23
+
::: moniker-end
19
24
20
25
Custom template (formerly custom form) is an easy-to-train document model that accurately extracts labeled key-value pairs, selection marks, tables, regions, and signatures from documents. Template models use layout cues to extract values from documents and are suitable to extract fields from highly structured documents with defined visual templates.
21
26
27
+
::: moniker range="form-recog-3.0.0"
28
+
22
29
Custom template models share the same labeling format and strategy as custom neural models, with support for more field types and languages.
23
30
31
+
::: moniker-end
32
+
24
33
## Model capabilities
25
34
26
35
Custom template models support key-value pairs, selection marks, tables, signature fields, and selected regions.
With the release of API versions **2022-06-30-preview** and later, custom template models will add support for **cross page** tabular fields (tables):
@@ -38,20 +49,23 @@ With the release of API versions **2022-06-30-preview** and later, custom templ
38
49
39
50
Tabular fields are also useful when extracting repeating information within a document that isn't recognized as a table. For example, a repeating section of work experiences in a resume can be labeled and extracted as a tabular field.
40
51
52
+
::: moniker-end
53
+
41
54
## Dealing with variations
42
55
43
56
Template models rely on a defined visual template, changes to the template will result in lower accuracy. In those instances, split your training dataset to include at least five samples of each template and train a model for each of the variations. You can then [compose](concept-composed-models.md) the models into a single endpoint. For subtle variations, like digital PDF documents and images, it's best to include at least five examples of each type in the same training dataset.
44
57
45
58
## Training a model
46
59
47
-
Template models are available generally [v3.0 API](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-2022-08-31/operations/BuildDocumentModel) and [v2.1 API](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v2-1/operations/AnalyzeWithCustomForm). If you're starting with a new project or have an existing labeled dataset, work with the v3 API and Form Recognizer Studio to train a custom template model.
60
+
::: moniker range="form-recog-3.0.0"
61
+
62
+
Custom template models are generally available with the [v3.0 API](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-2022-08-31/operations/BuildDocumentModel). If you're starting with a new project or have an existing labeled dataset, use the v3 API and Form Recognizer Studio to train a custom template model.
On the v3 API, the build operation to train model supports a new ```buildMode``` property, to train a custom template model, set the ```buildMode``` to ```template```.
68
+
With the v3.0 API, the build operation to train model supports a new ```buildMode``` property, to train a custom template model, set the ```buildMode``` to ```template```.
Custom (template) models are generally available with the [v2.1 API](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v2-1/operations/AnalyzeWithCustomForm).
Copy file name to clipboardExpand all lines: articles/applied-ai-services/form-recognizer/service-limits.md
+36-25Lines changed: 36 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,9 +25,9 @@ recommendations: false
25
25
[!INCLUDE [applies to v2.1](includes/applies-to-v2-1.md)]
26
26
::: moniker-end
27
27
28
-
*This article contains a quick reference and the **detailed description** of Azure Form Recognizer service Quotas and Limits for all [pricing tiers](https://azure.microsoft.com/pricing/details/form-recognizer/). It also contains some best practices to avoid request throttling.
28
+
This article contains both a quick reference and detailed description of Azure Form Recognizer service Quotas and Limits for all [pricing tiers](https://azure.microsoft.com/pricing/details/form-recognizer/). It also contains some best practices to avoid request throttling.
| Quota | Free (F0) <sup>1</sup> | Standard (S0) |
82
93
|--|--|--|
83
94
|**Compose Model limit**| 5 | 100 (default value) |
@@ -109,8 +120,8 @@ If your application returns Response Code 429 (*Too many requests*) and your wor
109
120
110
121
To minimize issues related to throttling (Response Code 429), we recommend using the following techniques:
111
122
112
-
- Implement retry logic in your application
113
-
- Avoid sharp changes in the workload. Increase the workload gradually <br/>
123
+
* Implement retry logic in your application
124
+
* Avoid sharp changes in the workload. Increase the workload gradually <br/>
114
125
*Example.* Your application is using Form Recognizer and your current workload is 10 TPS (transactions per second). The next second you increase the load to 40 TPS (that is four times more). The Service immediately starts scaling up to fulfill the new load, but likely it will not be able to do it within a second, so some of the requests will get Response Code 429.
115
126
116
127
The next sections describe specific cases of adjusting quotas.
@@ -124,7 +135,7 @@ Increasing the Concurrent Request limit does **not** directly affect your costs.
124
135
125
136
Existing value of Concurrent Request limit parameter is **not** visible via Azure portal, Command-Line tools, or API requests. To verify the existing value, create an Azure Support Request.
126
137
127
-
If you would like to increase your transactions per second, you can enable auto scaling on your resource. Follow this document to enable auto scaling on your resource -[enable auto scaling](../../cognitive-services/autoscale.md). You can also submit an increase TPS support request.
138
+
If you would like to increase your transactions per second, you can enable auto scaling on your resource. Follow this document to enable auto scaling on your resource *[enable auto scaling](../../cognitive-services/autoscale.md). You can also submit an increase TPS support request.
128
139
129
140
#### Have the required information ready
130
141
@@ -143,21 +154,21 @@ If you would like to increase your transactions per second, you can enable auto
143
154
144
155
Initiate the increase of transactions per second(TPS) limit for your resource by submitting the Support Request:
145
156
146
-
- Ensure you have the [required information](#have-the-required-information-ready)
147
-
- Go to [Azure portal](https://portal.azure.com/)
148
-
- Select the Form Recognizer Resource for which you would like to increase the TPS limit
149
-
- Select *New support request* (*Support + troubleshooting* group)
150
-
- A new window will appear with auto-populated information about your Azure Subscription and Azure Resource
151
-
- Enter *Summary* (like "Increase Form Recognizer TPS limit")
152
-
- In Problem type,* select "Quota or usage validation"
153
-
- Select *Next: Solutions*
154
-
- Proceed further with the request creation
155
-
- Under the *Details* tab enters the following in the *Description* field:
156
-
- a note, that the request is about **Form Recognizer** quota.
157
-
- Provide a TPS expectation you would like to scale to meet.
158
-
- Azure resource information you [collected](#have-the-required-information-ready).
159
-
- Complete entering the required information and select *Create* button in *Review + create* tab
160
-
- Note the support request number in Azure portal notifications. You'll be contacted shortly for further processing
157
+
* Ensure you have the [required information](#have-the-required-information-ready)
158
+
* Go to [Azure portal](https://portal.azure.com/)
159
+
* Select the Form Recognizer Resource for which you would like to increase the TPS limit
160
+
* Select *New support request* (*Support + troubleshooting* group)
161
+
* A new window will appear with auto-populated information about your Azure Subscription and Azure Resource
162
+
* Enter *Summary* (like "Increase Form Recognizer TPS limit")
163
+
* In Problem type,* select "Quota or usage validation"
164
+
* Select *Next: Solutions*
165
+
* Proceed further with the request creation
166
+
* Under the *Details* tab enters the following in the *Description* field:
167
+
* a note, that the request is about **Form Recognizer** quota.
168
+
* Provide a TPS expectation you would like to scale to meet.
169
+
* Azure resource information you [collected](#have-the-required-information-ready).
170
+
* Complete entering the required information and select *Create* button in *Review + create* tab
171
+
* Note the support request number in Azure portal notifications. You'll be contacted shortly for further processing
0 commit comments