You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because in lines 33-42 of the same file self.title_corpus list is not updated when use_abstract is set to true, irrespective of whether use_title is set to true or false.
Thus, if both use_abstract and use_title are set to true, in line 47 we have an empty list in the self.title_corpus which results into an error.
The text was updated successfully, but these errors were encountered:
When BM25 is executed with both
use_abstract
anduse_title
are set as true, a division by zero error occurs in line 47 of https://github.com/openreview/openreview-expertise/blob/master/expertise/models/bm25/bm25.pyThis is because in lines 33-42 of the same file
self.title_corpus
list is not updated whenuse_abstract
is set to true, irrespective of whetheruse_title
is set totrue
orfalse
.Thus, if both
use_abstract
anduse_title
are set to true, in line 47 we have an empty list in theself.title_corpus
which results into an error.The text was updated successfully, but these errors were encountered: