Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Figure out a good way to handle increasing the vocabulary of a pre-trained model #312

Open
matt-gardner opened this issue Apr 20, 2017 · 0 comments

Comments

@matt-gardner
Copy link
Contributor

Say you train a model on SQuAD, then want to fine-tune it on SciQ. Presumably there will be words in SciQ that you have plenty of training data for, but were OOV in SQuAD. How do you handle updating the vocabulary in this setting? This is hard, because you basically need to append new rows onto an existing embedding matrix, which messes with an already-existing computation graph. Not sure at all how to do this, but it'd be pretty nice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant