dmlc / gluon-nlp

NLP made easy
https://nlp.gluon.ai/
Apache License 2.0
2.55k stars 538 forks source link

[Test] Add back relative positional embedding test #1434

Closed sxjscience closed 3 years ago

sxjscience commented 3 years ago

Description

Add back the tests for relative positional encoding, which has been disabled in https://github.com/dmlc/gluon-nlp/pull/1433