Adding Glove and Tensorflow compatibility#22
Open
kris927b wants to merge 3 commits intobplank:masterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added two things to the embeds folder:
Glove Compatibility
Following the format of
poly.py, we can now load different versions of the Glove embeddings and add them to the CONLL files. It uses the embeddings library to load the Glove embeddings. You can get all four kinds of embeddings using one of these tags:Local Transformer
Using the huggingface transformers library we are also able to open custom transformers we have saved locally. These should be in the TensorFlow checkpoint format. In regards to this, I also updated the readme to show users how to do this, since this can be a little tricky.