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
When I use the pyfasttext with a same model, to predict this:
dwell dwelluk -> [u'company']
Joshua Katz joshuakatz4 -> [u'male']
meredith mears mered148r -> [u'female']
Shenia Pellum SheniaPellum -> [u'female']
Matt Inama mattinama -> [u'male']
maureen russell mopruss -> [u'male']
RickLeeJames RickLeeJames -> []
Lauren Townsend laurenttownsend -> [u'female']
Andy Campbell lordsnarfdog -> [u'male']
Mark Newham mhn56 -> [u'male']
Ryan DatBirdbrain -> [u'male']
MaryAnn maryannstewart1 -> [u'female']
Career & Business HustleNaija -> [u'company']
Kevin A. Thompson kevinathompson -> [u'male']
Kevin Aston AstonFarms -> [u'male']
while if I use the command line, the result will be: __label__female
__label__male
__label__female
__label__female
__label__male __label__female __label__female --> missing in the above
__label__female
__label__male
__label__male
__label__male
__label__female
__label__company
__label__male
__label__male
So the results from pyfasttext and command line are different and missing (in case of pyfasttext)
Do you have any idea why it's different?
The text was updated successfully, but these errors were encountered:
@vrasneur thank you so much
I fixed the problem by adding '\n' to every single line before calling predict
Maybe you should add this warning to the README or automatically add '\n' when predict is called
When I use the pyfasttext with a same model, to predict this:
dwell dwelluk -> [u'company']
Joshua Katz joshuakatz4 -> [u'male']
meredith mears mered148r -> [u'female']
Shenia Pellum SheniaPellum -> [u'female']
Matt Inama mattinama -> [u'male']
maureen russell mopruss -> [u'male']
RickLeeJames RickLeeJames -> []
Lauren Townsend laurenttownsend -> [u'female']
Andy Campbell lordsnarfdog -> [u'male']
Mark Newham mhn56 -> [u'male']
Ryan DatBirdbrain -> [u'male']
MaryAnn maryannstewart1 -> [u'female']
Career & Business HustleNaija -> [u'company']
Kevin A. Thompson kevinathompson -> [u'male']
Kevin Aston AstonFarms -> [u'male']
while if I use the command line, the result will be:
__label__female
__label__male
__label__female
__label__female
__label__male
__label__female
__label__female --> missing in the above
__label__female
__label__male
__label__male
__label__male
__label__female
__label__company
__label__male
__label__male
So the results from pyfasttext and command line are different and missing (in case of pyfasttext)
Do you have any idea why it's different?
The text was updated successfully, but these errors were encountered: