facebookresearch/ParlAI

Support tied positional weights in transformers

Open

#2 184 ouverte le 19 nov. 2019

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Python (2 089 forks)batch import
EnhancementH1 2020Help WantedMediumdonotreap

Métriques du dépôt

Stars
 (10 371 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur