ModelBuildError: Could not build the model. 'Contains undefined table label name.'

Martynas Trusilo 0 Reputation points
2024-08-27T08:19:26.4466667+00:00

Hi,

I am training a custom extraction model. I have labeled all the data that I NEED. Filler sentences are obviously left out as that is useless information. I am trying to train model, however, I keep getting the folowing error:

ModelBuildError: Could not build the model: Can't find any valid labels for provided dataset. Labels file filename.pdf is invalid for the following reason(s): 'Contains undefined table label name.'

What am I doing wrong - I have done everything exactly as per video provided on the introductory of custom extraction models.
I have checked every single label and all are labeled and contain information. Every cell of the table that I used does contain information. What is causing this?

Thanks!

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
2,100 questions
{count} votes

1 answer

Sort by: Most helpful
  1. santoshkc 15,325 Reputation points Microsoft External Staff Moderator
    2024-08-27T10:21:46.95+00:00

    Hi @Martynas Trusilo,

    Thank you for reaching out to Microsoft Q&A forum!

    The error message suggests that there’s an issue with your label file, which indicates that one of the labels in your file isn’t recognized by the model.

    To fix this, review your label file to ensure that all labels are correctly defined. Make sure that the label names match those used in your training data, with no typos or inconsistencies. Additionally, confirm that the labels are applied consistently throughout the file.

    If the problem persists, consider using a different label file or consult the documentation for your custom extraction model to check for any specific label file requirements or limitations.

    Please look into: Tips for building labeled datasets.

    I hope you understand! Thank you.

    0 comments No comments

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.