facebookresearch/ParlAI

Support tied positional weights in transformers

オープン

#2,184 opened on 2019/11/19

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (2,089 件のフォーク)batch import
EnhancementH1 2020Help WantedMediumdonotreap

Repository metrics

Stars
 (10,371 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Add a flag to use tied positional embeddings in transformer/generator and transformer/retrieval, and implement the tied weights. Should be False by default for backwards compatibility, and upgrade_opt should be used to migrate old models.

コントリビューターガイド