NVIDIA Deep Learning Examples
NVIDIA Deep Learning Examples
Transformer for PyTorch
Resource
NVIDIA Deep Learning Examples
NVIDIA Deep Learning Examples
Transformer for PyTorch

This implementation of Transformer model architecture is based on the optimized implementation in Fairseq NLP toolkit.

  • Changelog

    February 2022:

    • Update depricated calls in PyTorch CPP and Python API
    • Update README with latest performance measurements

    June 2020

    • add TorchScript support
    • Ampere support

    March 2020

    • remove language modeling from the repository
    • one inference script for large chunks of data as well as for interactive demo
    • change custom distributed strategy to APEX's DDP
    • replace custom fp16 training with AMP
    • major refactoring of the codebase

    December 2019

    • Change evaluation metric

    August 2019

    • add basic AMP support

    July 2019

    • Replace custom fused operators with jit functions

    June 2019

    • New README

    March 2019

    • Add mid-training SacreBLEU evaluation. Better handling of OOMs.

    Initial commit, forked from fairseq

    NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.