web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to correct model t...
Power Apps
Unanswered

How to correct model tagging

(0) ShareShare
ReportReport
Posted on by 8

Hello,

I am currently using a custom trained model to extract fields from PDF invoices. Overall, its performance is average, but in certain cases, it mistakenly detects the invoice number.

 

airlansa_0-1690967662545.png

Even when I manually drag a rectangle around the number, the model still includes the preceding ":" symbol, resulting in an incorrect detection.

Is there a way to instruct the model that the correct number format should be "104263155" without the ":"?

I'm concerned that if I retrain the model using this specific document, it might worsen its performance. By doing so, I fear that the model will be reinforced to recognize ":104263155" as the correct value, leading to further prediction failures.

 

Thank you in advance for your assistance.

Categories:
I have the same question (0)
  • Antoine2F Profile Picture
    on at

    Hello,

    Did you try with NumFactura set as a Number field instead of Text field, in the 'Choose information to extract' step? (it's a preview feature)

     

    Note that I tried to reproduce your behavior but I coudln't, even with a text field...

    Antoine2F_0-1691060861122.png

     

    Antoine

  • airlansa Profile Picture
    8 on at

    It would be a possibility but in some other collections of the same model, that NumFactura is an alphanumeric field in my case.

    airlansa_0-1691480046752.png

    I think that i will add a post process step to erase ":"

     

    About retraining the model with these problematic documents, what do you suggest to me?

    In my opinion the feature to tell the model that is wrong in order to learn from user would be great.

     

    Thanks in advance.

  • Antoine2F Profile Picture
    on at

     

    If you can train your model with this problematic document, and with correct tagging for this document, then it should improve the model.

    You can also have a look at feedback loop : Retrain documents using the feedback loop feature | Microsoft Learn

  • airlansa Profile Picture
    8 on at

    Yes, it would be my first option. But unfortunately when I try to tag it, the app doesn't allow me to do it correctly including the preceding ":" regardless how I draw the rectangle.

    See the attached video link.

    https://imgur.com/a/cVIEm4d

     

    Best regards.

  • Antoine2F Profile Picture
    on at

    Drawing the rectangle differently doesn't help. Issue is with the recognized word.

    It is strange that the recognized word includes the ':'. I don't experience the same when testing with a snapshot of your video: recognized word doesn't include the ':'.

    Maybe you can test in a different browser or with a cropped version of your original document.

    Antoine2F_0-1693821256090.png

     

    best regards

    Antoine

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard