Closed HappyLynn closed 6 months ago
Hi, thank you for your attention to our work. The weights and code on the web demo are consistent with those in GitHub. Your understanding is right. Please check if your transformer version is 4.32.1. And could you show me your failure case?
Best wishes
Thank you for your reply. However, have you tested with the latest version of the transformer? I used the latest version of the transformer, and the ability to maintain the JSON format in the results was quite poor. However, when using version 4.32.1 you mentioned, it was consistent with the effects of your online demo. One last question, I am curious, is such a smaller model sufficient for chart recognition tasks? Would a larger model yield better results? I've noticed that the current model performs poorly when the image content is more complex.
Hi,
Best wishes
Hello, thank you for your excellent work. However, with the given code, the online demo provided on GitHub currently seems to have inconsistent effects. My understanding is that the generated code should not have any randomness with do_sample=False. Could you please confirm if the online demo is consistent with the inference code that is open-sourced on Git? Currently, the failure rate for parsing is quite high, and there is a relatively high rate of generated JSON formats being illegal. Thank you again for your good job.