Skip to content

Commit e3ccb63

Browse files
authored
Merge pull request #187581 from aahill/include-files
include files for custom features
2 parents 03f6512 + ba233d0 commit e3ccb63

File tree

6 files changed

+37
-63
lines changed

6 files changed

+37
-63
lines changed

articles/cognitive-services/language-service/custom-named-entity-recognition/how-to/call-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: how-to
11-
ms.date: 01/07/2022
11+
ms.date: 02/16/2022
1212
ms.author: aahi
1313
ms.custom: language-service-custom-ner, ignite-fall-2021
1414
---
@@ -30,11 +30,11 @@ See the [application development lifecycle](../overview.md#application-developme
3030

3131
## Deploy your model
3232

33-
1. Go to your project in [Language studio](https://aka.ms/custom-extraction)
33+
Go to your project in [Language studio](https://aka.ms/custom-extraction).
3434

35-
2. Select **Deploy model** from the left side menu.
35+
[!INCLUDE [Deploy a model using Language Studio](../includes/deploy-model-language-studio.md)]
3636

37-
3. Select the model you want to deploy, then select **Deploy model**. If you deploy your model through the Language Studio, your `deployment-name` is `prod`.
37+
If you deploy your model through the Language Studio, your `deployment-name` is `prod`.
3838

3939
> [!TIP]
4040
> You can test your model in Language Studio by sending samples of text for it to classify.

articles/cognitive-services/language-service/custom-named-entity-recognition/how-to/create-project.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,12 @@ For information on authorizing access to your Azure blob storage account and dat
156156
157157
## Create a custom named entity recognition project
158158

159+
Once your resource and storage container are configured, create a new custom NER project. A project is a work area for building your custom AI models based on your data. Your project can only be accessed by you and others who have contributor access to the Azure resource being used.
160+
159161
[!INCLUDE [Create custom NER project](../includes/create-project.md)]
160162

163+
Review the data you entered and select **Create Project**.
164+
161165
## Next steps
162166

163167
After your project is created, you can start [tagging your data](tag-data.md), which will inform your entity extraction model how to interpret text, and is used for training and evaluation.

articles/cognitive-services/language-service/custom-named-entity-recognition/includes/create-project.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,27 @@ ms.author: aahi
1010
ms.custom: ignite-fall-2021
1111
---
1212

13-
Once your resource and storage container are configured, create a new custom NER project. A project is a work area for building your custom AI models based on your data. Your project can only be accessed by you and others who have contributor access to the Azure resource being used.
14-
1513
1. Sign into the [Language Studio portal](https://aka.ms/languageStudio). A window will appear to let you select your subscription and Language resource. Select the resource you created in the above step.
1614

1715
2. Find the **Entity extraction** section, and select **Custom named entity recognition** from the available services.
1816

17+
:::image type="content" source="../media/select-custom-ner.png" alt-text="A screenshot showing the location of custom NER in the Language Studio landing page." lightbox="../media/select-custom-ner.png":::
18+
1919
3. Select **Create new project** from the top menu in your projects page. Creating a project will let you tag data, train, evaluate, improve, and deploy your models.
2020

21-
>[!NOTE]
22-
> If your dataset contains files of different languages or if you expect different languages during runtime, you can enable the multi-lingual option.
23-
2421
:::image type="content" source="../media/create-project.png" alt-text="A screenshot of the project creation page." lightbox="../media/create-project.png":::
2522

2623

27-
4. After you click, **Create new project**, a screen will appear to let you connect your storage account. If you cannot find your storage account, make sure you created a resource using the steps above.
24+
4. After you click, **Create new project**, a screen will appear to let you connect your storage account. If you can’t find your storage account, make sure you created a resource using the steps above.
2825

2926
>[!NOTE]
3027
> * You only need to do this step once for each new resource you use.
3128
> * This process is irreversible, if you connect a storage account to your resource you cannot disconnect it later.
3229
> * You can only connect your resource to one storage account.
33-
> * If you've already connected a storage account, you will see a **Select project type** screen instead. See the next step.
30+
> * If you've already connected a storage account, you will see a **Enter basic information** screen instead. See the next step.
3431
3532
:::image type="content" source="../media/connect-storage.png" alt-text="A screenshot showing the storage connection screen." lightbox="../media/connect-storage.png":::
3633

37-
<!--If you're using a preexisting resource, see [creating Azure resources](../concepts/use-azure-resources.md). When you are done, select **Next**.-->
38-
39-
5. Enter the project information, including a name, description, and the language of the files in your project. You will not be able to change the name of your project later.
34+
5. Enter the project information, including a name, description, and the language of the files in your project. You won’t be able to change the name of your project later.
4035

41-
6. Review the data you entered and select **Create Project**.
36+
6. Select the container where you’ve uploaded your data.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
services: cognitive-services
3+
author: aahill
4+
manager: nitinme
5+
ms.service: cognitive-services
6+
ms.subservice: language-service
7+
ms.topic: include
8+
ms.date: 02/04/2022
9+
ms.author: aahi
10+
---
11+
12+
1. Select **Deploy model** from the left side menu.
13+
14+
2. Select the model you want to deploy, then select **Deploy model**.

articles/cognitive-services/language-service/custom-named-entity-recognition/includes/quickstarts/language-studio.md

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ manager: nitinme
55
ms.service: cognitive-services
66
ms.subservice: language-service
77
ms.topic: include
8-
ms.date: 01/24/2022
8+
ms.date: 02/04/2022
99
ms.author: aahi
1010
ms.custom: ignite-fall-2021
1111
---
@@ -48,35 +48,9 @@ Before you can use custom NER, you’ll need to create an Azure Language resourc
4848

4949
Once your resource and storage container are configured, create a new conversational NER project. A project is a work area for building your custom AI models based on your data. Your project can only be accessed by you and others who have contributor access to the Azure resource being used.
5050

51-
1. Sign into the [Language Studio portal](https://aka.ms/languageStudio). A window will appear to let you select your subscription and Language resource. Select the resource you created in the above step.
51+
[!INCLUDE [Create custom NER project](../create-project.md)]
5252

53-
2. Find the **Entity extraction** section, and select **Custom named entity recognition** from the available services.
54-
55-
:::image type="content" source="../../media/select-custom-ner.png" alt-text="A screenshot showing the location of custom NER in the Language Studio landing page." lightbox="../../media/select-custom-ner.png":::
56-
57-
3. Select **Create new project** from the top menu in your projects page. Creating a project will let you tag data, train, evaluate, improve, and deploy your models.
58-
59-
60-
:::image type="content" source="../../media/create-project.png" alt-text="A screenshot of the project creation page." lightbox="../../media/create-project.png":::
61-
62-
63-
4. After you click, **Create new project**, a screen will appear to let you connect your storage account. If you can’t find your storage account, make sure you created a resource using the steps above.
64-
65-
>[!NOTE]
66-
> * You only need to do this step once for each new resource you use.
67-
> * This process is irreversible, if you connect a storage account to your resource you cannot disconnect it later.
68-
> * You can only connect your resource to one storage account.
69-
> * If you've already connected a storage account, you will see a **Enter basic information** screen instead. See the next step.
70-
71-
:::image type="content" source="../../media/connect-storage.png" alt-text="A screenshot showing the storage connection screen." lightbox="../../media/connect-storage.png":::
72-
73-
<!--If you're using a preexisting resource, see [creating Azure resources](../concepts/use-azure-resources.md). When you are done, select **Next**.-->
74-
75-
5. Enter the project information, including a name, description, and the language of the files in your project. You won’t be able to change the name of your project later.
76-
77-
6. Select the container where you’ve uploaded your data. When asked if your files are already tagged with classes, select **Yes** and choose the available file. Then click **Next**.
78-
79-
7. Review the data you entered and select **Create Project**.
53+
Under **Are your files already tagged with entities**, select **Yes** and choose the available file. Then click **Next**. Review the data you entered and select **Create Project**.
8054

8155
## Train your model
8256

@@ -88,9 +62,8 @@ Generally after training a model you would review it's [evaluation details](../.
8862

8963
After your model is trained, you can deploy it. Deploying your model lets you start using it to extract named entities, using [Analyze API](https://aka.ms/ct-runtime-swagger).
9064

91-
1. Select **Deploy model** from the left side menu.
65+
[!INCLUDE [Deploy a model using Language Studio](../deploy-model-language-studio.md)]
9266

93-
2. Select the model you want to deploy, then select **Deploy model**.
9467

9568
## Test your model
9669

articles/cognitive-services/language-service/custom-named-entity-recognition/tutorials/cognitive-search.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: tutorial
11-
ms.date: 02/02/2022
11+
ms.date: 02/04/2022
1212
ms.author: aahi
1313
ms.custom: language-service-custom-ner, ignite-fall-2021
1414
---
@@ -34,31 +34,19 @@ In this tutorial, you learn how to:
3434

3535
## Create a custom NER project through Language studio
3636

37-
1. Sign in to [Language Studio](https://aka.ms/languageStudio). A window will appear to let you select your subscription and Language resource. Select the resource you created in the above step.
37+
[!INCLUDE [Create custom NER project](../includes/create-project.md)]
3838

39-
2. Under the **Extract information** section of Language Studio, select **custom named entity recognition** from the available services, and select it.
40-
41-
3. Select **Create new project** from the top menu in your projects page. Creating a project will let you tag data, train, evaluate, improve, and deploy your models.
42-
43-
4. If you’ve created your resource using the steps above in this [guide](../how-to/create-project.md#azure-resources), the **Connect storage** step will be completed already. If not, you need to assign [roles for your storage account](../how-to/create-project.md#required-roles-for-your-storage-account) before connecting it to your resource
44-
45-
5. Enter project information, including a name, description, and the language of the files in your project. You won’t be able to change the name of your project later.
46-
>[!TIP]
47-
> Your dataset doesn't have to be entirely in the same language. You can have multiple files, each with different supported languages. If your dataset contains files of different languages or if you expect different languages during runtime, select **enable multi-lingual dataset** when you enter the basic information for your project.
48-
49-
6. Select the container where you’ve uploaded your data. For this tutorial we’ll use the tags file you downloaded from the sample data.
50-
51-
7. Review the data you entered and select **Create Project**.
39+
Select the container where you’ve uploaded your data. For this tutorial we’ll use the tags file you downloaded from the sample data. Review the data you entered and select **Create Project**.
5240

5341
## Train your model
5442

5543
[!INCLUDE [Train a model using Language Studio](../includes/train-model-language-studio.md)]
5644

5745
## Deploy your model
5846

59-
1. Select **Deploy model** from the left side menu.
47+
[!INCLUDE [Deploy a model using Language Studio](../includes/deploy-model-language-studio.md)]
6048

61-
2. Select the model you want to deploy and from the top menu click on **Deploy model**. If you deploy your model through Language Studio, your `deployment-name` will be `prod`.
49+
If you deploy your model through Language Studio, your `deployment-name` will be `prod`.
6250

6351
## Use CogSvc language utilities tool for Cognitive search integration
6452

0 commit comments

Comments
 (0)