autoliuweijie / K-BERT

Source code of K-BERT (AAAI2020)

Home Page:https://ojs.aaai.org//index.php/AAAI/article/view/5681

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZeroDivisionError: division by zero

ariefpurnamamuharram opened this issue · comments

Hello. I run the model with my custom dataset. However, it returns "ZeroDivisionError" as follows. What the most possible troubleshoot for this? Is there something wrong with the dataset?
Thank you.

Screenshot 2022-12-12 at 05 59 34

Why my dataset always return ZeroDivisionError? Any clue @autoliuweijie regarding this?
Thank you

Further analysis shows that the model can only predict one class (of some class). @autoliuweijie do you have any idea or how to debug it? Thank you