I would like to run src.main with Glove or Mittens embeddings. Can we make a class for Glove that is analogous to the Word2Vec class? That way we can easily swap out the embedding type and compare across embeddings?
For instance, in src.main I would like to do the following:
I would like to run
src.main
with Glove or Mittens embeddings. Can we make a class for Glove that is analogous to the Word2Vec class? That way we can easily swap out the embedding type and compare across embeddings?For instance, in
src.main
I would like to do the following:DJ, if there is a better way to do this let me know. But this seems pretty natural based on the way you have laid out the code.