fasttext_model.save("fasttext.model")
fast_text = FastText.load("fasttext.model")
I can't load my trained fasttext model:( How will i resolve this issue? please help!
fasttext_model.save("fasttext.model")
fast_text = FastText.load("fasttext.model")
I can't load my trained fasttext model:( How will i resolve this issue? please help!
Your screenshot does not show the .save()
line of code, and in fact includes some output that is suggestive that another filename – fasttext (1).model
– may have been used.
Is your code example a verbatim expression of exactly what was done, all in the same interpreter/working-directory/notebook, to reliably reproduce the error?
You can generally trust a FileNotFoundError
that the intended file does not exist where your code has requested it.
In this case, the filename is one of the subsidiary files, which is saved alongside the main model file. If you move the main file, these subsidiary files must be moved also, to remain alongside the main file in the same directory.