Praneet
                                            Praneet
                                        
                                    I'm passing all the possible candidates that can be the classes I want. The model picks the most relevant one from them.
Here, in inference, we don't know what the actual invoice number is which is why we send all that looks like one. In your case, you can just send whichever...
This is a binary model that can just return True or False to the candidates you pass in and is not meant to do what you are asking for.
@hienpham15 The paper doesn't use FocalLoss, it was something we did as an addition to the model training due to the skewed dataset we trained on. It was easier to...
I agree @panwar2001 Its a very difficult problem to solve and definitely not straightforward. With respect to this model, using diverse data can be the only solution. I would suggest...