You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Allow embedding extension to load from pre-trained embeddings file. (#2387)
* Rough attempt for Embedder/Embedding extension.
* fix some mistakes.
* add tests for token-embedder and text-field-embedder extension.
* fix vocab_namespace usage in embedding.py
* update names and change some comments.
* update embedding tests.
* fix some typos.
* add more tests.
* update some comments.
* fix minor pylint issue.
* Implement extend_vocab for TokenCharactersEncoder.
* minor simplification.
* Update help text for --extend-vocab in fine-tune command.
* Shift location of model tests appropriately.
* Allow root Embedding in model to be extendable.
* Incorporate PR comments in embedding.py.
* Fix annotations.
* Add appropriate docstrings and minor cleanup.
* Resolve pylint complains.
* shift disable pytlint protected-access to top of tests.
* Add a test to increase coverage.
* minor update in TokenEmbedder docstrings.
* Allow to pass pretrained_file in embedding extension (with tests).
* Remove a blank line.
* Add a blank line before Returns block in Embedding docstring.
* Fix pylint complains.
* Allow pretrained file to be passed in token_characters_encoder also.
* Fix pylint complains and update some comments.
* Test to ensure trained embeddings do not get overriden.
* PR feedback: update comments, fix annotation.
0 commit comments