bert icon indicating copy to clipboard operation
bert copied to clipboard

Support for tied weights / Universal Transformer-like model?

Open matthias-samwald opened this issue 8 years ago • 1 comments

Tying the weights across transformer layers and thereby creating a kind of recurrent model was reported to substantially improve upon the standard transformer model across many tasks (https://arxiv.org/abs/1807.03819). It would be interesting to add support for this to BERT and see how it impacts performance.

matthias-samwald avatar Nov 04 '18 09:11 matthias-samwald

For a variety of reasons we're not planning on making any substantial changes to this repository, so any major modeling changes would be a separate project.

Universal Transformer is not our exact planned future direction, but with the number of people working on pre-training models inside and outside of Google I'm sure that others are planning on trying it or have already started trying it.

jacobdevlin-google avatar Nov 04 '18 18:11 jacobdevlin-google