Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generation doc #6470

Merged
merged 14 commits into from
Aug 14, 2020
Merged

Generation doc #6470

merged 14 commits into from
Aug 14, 2020

Commits on Aug 13, 2020

  1. Generation doc

    sgugger committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    2c7f4a1 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2020

  1. MBartForConditionalGeneration (#6441)

    * add MBartForConditionalGeneration
    
    * style
    
    * rebase and fixes
    
    * add mbart test in TEST_FILES_WITH_NO_COMMON_TESTS
    
    * fix docs
    
    * don't ignore mbart
    
    * doc
    
    * fix mbart fairseq link
    
    * put mbart before bart
    
    * apply doc suggestions
    patil-suraj committed Aug 14, 2020
    1 Configuration menu
    Copy the full SHA
    680f133 View commit details
    Browse the repository at this point in the history
  2. Use hash to clean the test dirs (#6475)

    * Use hash to clean the test dirs
    
    * Use hash to clean the test dirs
    
    * Use hash to clean the test dirs
    
    * fix
    JetRunner committed Aug 14, 2020
    1 Configuration menu
    Copy the full SHA
    eb613b5 View commit details
    Browse the repository at this point in the history
  3. [EncoderDecoder] Add Cross Attention for GPT2 (#6415)

    * add cross attention layers for gpt2
    
    * make gpt2 cross attention work
    
    * finish bert2gpt2
    
    * add explicit comments
    
    * remove attention mask since not yet supported
    
    * revert attn mask in pipeline
    
    * Update src/transformers/modeling_gpt2.py
    
    Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
    
    * Update src/transformers/modeling_encoder_decoder.py
    
    Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
    
    Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
    patrickvonplaten and sgugger committed Aug 14, 2020
    1 Configuration menu
    Copy the full SHA
    1d6e71e View commit details
    Browse the repository at this point in the history
  4. Sort unique_no_split_tokens to make it deterministic (#6461)

    * change unique_no_split_tokens's type to set
    
    * use sorted list instead of set
    
    * style
    lhoestq committed Aug 14, 2020
    1 Configuration menu
    Copy the full SHA
    9a8c168 View commit details
    Browse the repository at this point in the history
  5. 1 Configuration menu
    Copy the full SHA
    b5ba758 View commit details
    Browse the repository at this point in the history
  6. Apply suggestions from code review

    Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
    sgugger and LysandreJik committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    3ce85d9 View commit details
    Browse the repository at this point in the history
  7. Address comments

    sgugger committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    93dbc3d View commit details
    Browse the repository at this point in the history
  8. Styling

    sgugger committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    6a120ca View commit details
    Browse the repository at this point in the history
  9. Generation doc

    sgugger committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    c03654b View commit details
    Browse the repository at this point in the history
  10. Apply suggestions from code review

    Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
    sgugger and LysandreJik committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    6662976 View commit details
    Browse the repository at this point in the history
  11. Address comments

    sgugger committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    246bf87 View commit details
    Browse the repository at this point in the history
  12. Styling

    sgugger committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    3369e9f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d9cbc03 View commit details
    Browse the repository at this point in the history