facebookresearch/ParlAI

Support tied positional weights in transformers

Open

#2.184 aberto em 19 de nov. de 2019

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Python (2.089 forks)batch import
EnhancementH1 2020Help WantedMediumdonotreap

Métricas do repositório

Stars
 (10.371 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador