How do I implement Dual-encoder model in Pytorch?

I am trying to implement the paper titled Learning Cross-lingual Sentence Representations via a Multi-task Dual-Encoder Model.

Here the encoder and decoder share the same weights but I am unable to put it in code. Any links ?

Topic encoder transformer

Category Data Science


There isnt any as of yet, but scout this website and as soon as it comes it will be there.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.