I downloaded fasttext model lid.176.bin. If I run my code locally with model in folder everything works fine. But I need to run it in GC, so, I uploaded model into bucket and changed path to model from local to gs bucket and got an error: ValueError: gs://models/fasttext-model/lid.176.bin cannot be opened for loading!
How can I use model from bucket?
path_to_pretrained_model = 'gs://models/fasttext-model/lid.176.bin'
fasttext_model = fasttext.load_model(path_to_pretrained_model)
gs://models/fasttext-model/lid.176.bin) to necessarily work with an arbitrary library (likefasttext) without special arrangements. (Does Google Cloud purport to ensure that?) Thus, if possible, can you pre-download the model to (what looks like) a local path before loading? - gojomo