huntzhan / pytorch-fast-elmo

A Fast ELMo Implementation. (NOT MAINTAIN ANYMORE)
MIT License
38 stars 9 forks source link

Relax The Requirement On Sorted Inputs. #5

Closed huntzhan closed 5 years ago

huntzhan commented 5 years ago

Currently, we assume the inputs has been sorted by sequence length in reversed order so that we can pack it directly. This assumption is too strong and will hurt the user experience.

Decision: pack the sort/resort ops to FastElmo.