Project labels file is invalid when importing custom NER project to Language Studio

slo_dlw 5 Reputation points
2023-02-15T14:09:42.0733333+00:00

Hi,

I labeled NER data with the labeling tool in Azure Machine Learning studio. To train a custom NER model with Language Studio I reformatted this labeled data to the requested file format as explained on this page: https://learn.microsoft.com/en-gb/azure/cognitive-services/language-service/custom-named-entity-recognition/concepts/data-formats. Afterwards I uploaded the text files together with the labels file to a separate container on Azure blob storage, which is connected to my Language resource. However, when I try to create a project I get the following error:

InvalidArgument: The project file version `2023-02-14` is invalid. Please check the supported versions and their formats in the service documentation at http://aka.ms/language-docs.

It is unclear to me what is wrong as the format is identical to the one explained on the reference page. Any ideas on what might go wrong?

Best regards

S.

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
403 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,765 questions
{count} vote

1 answer

Sort by: Most helpful
  1. romungi-MSFT 44,661 Reputation points Microsoft Employee
    2023-02-17T07:56:11.9933333+00:00

    slo_dlw The project file version is actually the API version that should be used for any language project. In this case for custom NER the available versions are the following:

    User's image

    Please see this page for the supported versions for all features. In your case the current data was used so the API detected the same as an invalid version. I hope this helps!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.