facebookresearch/ParlAI

Support tied positional weights in transformers

开放

#2,184 创建于 2019年11月19日

 (1 条评论) (0 个反应) (0 位负责人)Python (2,089 个派生)batch import
EnhancementH1 2020Help WantedMediumdonotreap

仓库指标

星标
 (10,371 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南