PetrochukM / PyTorch-NLP

Basic Utilities for PyTorch Natural Language Processing (NLP)
https://pytorchnlp.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2.21k stars 258 forks source link

how to retrain the glove or other word vectorize models? #52

Closed 0x1orz closed 5 years ago

0x1orz commented 6 years ago

how to retrain the glove or other word vectorize algorithms? Armed in search an sequence-based model for protain-protain binding prediction, it need to retain charactor vectorize model for amino acid sequence. In this repo, I just found the pretrained api.

PetrochukM commented 6 years ago

Hi!

If you are using pre-trained embeddings, you can initialize your model with the pre-trained embeddings and train; therefore, fine-tuning the pre-trained embeddings or "retraining".

Thanks!