ncbi-nlp / BioSentVec

BioWordVec & BioSentVec: pre-trained embeddings for biomedical words and sentences
Other
572 stars 97 forks source link

How can I load the bio sent2vec model due to loss of RAM? #20

Open mahsare opened 4 years ago

mahsare commented 4 years ago

I just want to use the pretrained model of bio sent2vec in my local machine with almost 12 Gigabyte RAM, and the model size is almost 22 Gigabyte, and when I am trying to load model using sent2vec, it stuck and the result is nothing and the reason would be the model probably is completely loading and there is not enough memory.is there any way so that I can load the model under 12 GIgabyte RAM?

shantanudev commented 4 years ago

Just increase your swap memory.

ugm2 commented 3 years ago

I have 16GB of RAM and had to upgrade from 0 to 16GB of swap memory.

Check this link to do it: Change Swap Size in Ubuntu