JimmyLiao

JimmyLiao Notes: Developer, Runner, Thinker

Using the GPT model in Azure Language Studio to speed up Labelling

2023-03-29 Azure Cognitive GPT

Two weeks ago, Azure Language Studio announced a new preview feature: Accelerate Labelling with GPT Models in Language Cognitive Services. Let’s try it out.

P.S. It’s support text named entity recognition (NER) now.

  1. Remember to deploy the text-davinci-002 model in Azure OpenAI first, and then set up the permissions in Access Control (IAM), so that you can use it in Azure Language Studio.

  1. Then create a Custom named entity recognition project from Language Studio.

Upload the label file to the Blob in Language Studio, remember to prepare at least 10 label files, so that you can use the GPT model. I’m just reading Reid Hoffman’s Impromptu these days, so I’ll use a section of it as a label file.

  1. Finally, you can start using the GPT model. Click on Data labeling, and then Auto-label on the right.

  1. Now you can directly select the corresponding Azure OpenAI, as well as the GPT model, choose text-davinci-002 according to the recommendation, and then select the label file to use, add Entity (or select an existing Entity), and finally click Start labeling job.

  1. Wait for a while, you can see that the Labeling Job is completed.

  1. The uploaded files will be automatically labeled by the GPT model, but they still need to be manually checked for accuracy.

Mission accomplished.

Reference: https://techcommunity.microsoft.com/t5/ai-cognitive-services-blog/accelerate-labelling-with-gpt-models-in-language-cognitive/ba-p/3769264

comments powered by Disqus