"docs/source/en/perf_infer_gpu_one.md" did not exist on "1e4cf8bb446fcbfcd428b15377bd12e254ad8baa"
  1. 11 Jan, 2021 14 commits
  2. 10 Jan, 2021 2 commits
  3. 08 Jan, 2021 7 commits
  4. 07 Jan, 2021 9 commits
  5. 06 Jan, 2021 8 commits
    • Patrick von Platen's avatar
      [GenerationOutputs] Fix GenerationOutputs Tests (#9443) · b8462b5b
      Patrick von Platen authored
      * fix generation models
      
      * fix led
      
      * fix docs
      
      * add is_decoder
      
      * fix last docstrings
      
      * make style
      
      * fix t5 cross attentions
      
      * correct t5
      b8462b5b
    • Sylvain Gugger's avatar
      Fast transformers import part 1 (#9441) · 0c96262f
      Sylvain Gugger authored
      * Don't import libs to check they are available
      
      * Don't import integrations at init
      
      * Add importlib_metdata to deps
      
      * Remove old vars references
      
      * Avoid syntax error
      
      * Adapt testing utils
      
      * Try to appease torchhub
      
      * Add dependency
      
      * Remove more private variables
      
      * Fix typo
      
      * Another typo
      
      * Refine the tf availability test
      0c96262f
    • Simon Brandeis's avatar
      Add flags to return scores, hidden states and / or attention weights in GenerationMixin (#9150) · c89f1bc9
      Simon Brandeis authored
      
      
      * Define new output dataclasses for greedy generation
      
      * Add output_[...] flags in greedy generation methods
      
      Added output_attentions, output_hidden_states, output_scores flags in
      generate and greedy_search methods in GenerationMixin.
      
      * [WIP] Implement logic and tests for output flags in generation
      
      * Update GreedySearchOutput classes & docstring
      
      * Implement greedy search output accumulation logic
      
      Update greedy_search unittests
      
      Fix generate method return value docstring
      
      Properly init flags with the default config
      
      * Update configuration to add output_scores flag
      
      * Fix test_generation_utils
      
      Sort imports and fix isinstance tests for GreedySearchOutputs
      
      * Fix typo in generation_utils
      
      * Add return_dict_in_generate for backwards compatibility
      
      * Add return_dict_in_generate flag in config
      
      * Fix tyPo in configuration
      
      * Fix handling of attentions and hidden_states flags
      
      * Make style & quality
      
      * first attempt attentions
      
      * some corrections
      
      * improve tests
      
      * special models requires special test
      
      * disable xlm test for now
      
      * clean tests
      
      * fix for tf
      
      * isort
      
      * Add output dataclasses for other generation methods
      
      * Add logic to return dict in sample generation
      
      * Complete test for sample generation
      
      - Pass output_attentions and output_hidden_states flags to encoder in
      encoder-decoder models
      - Fix import satements order in test_generation_utils file
      
      * Add logic to return dict in sample generation
      
      - Refactor tests to avoid using self.assertTrue, which provides
      scarce information when the test fails
      - Add tests for the three beam_search methods: vanilla, sample and
      grouped
      
      * Style doc
      
      * Fix copy-paste error in generation tests
      
      * Rename logits to scores and refactor
      
      * Refactor group_beam_search for consistency
      
      * make style
      
      * add sequences_scores
      
      * fix all tests
      
      * add docs
      
      * fix beam search finalize test
      
      * correct docstring
      
      * clean some files
      
      * Made suggested changes to the documentation
      
      * Style doc ?
      
      * Style doc using the Python util
      
      * Update src/transformers/generation_utils.py
      
      * fix empty lines
      
      * fix all test
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      c89f1bc9
    • Kevin Canwen Xu's avatar
      Store transformers version info when saving the model (#9421) · 7a9f1b5c
      Kevin Canwen Xu authored
      
      
      * Store transformers version info when saving the model
      
      * Store transformers version info when saving the model
      
      * fix format
      
      * fix format
      
      * fix format
      
      * Update src/transformers/configuration_utils.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * Update configuration_utils.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      7a9f1b5c
    • Qbiwan's avatar
      Improve documentation coverage for Phobert (#9427) · ecfcac22
      Qbiwan authored
      
      
      * first commit
      
      * change phobert to phoBERT as per author in overview
      
      * v3 and v4 both runs on same code hence there is no need to differentiate them
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      ecfcac22
    • Qbiwan's avatar
      Improve documentation coverage for Herbert (#9428) · be898998
      Qbiwan authored
      * first commit
      
      * changed XLMTokenizer to HerbertTokenizer in code example
      be898998
    • Patrick von Platen's avatar
      finalize (#9431) · b972c1bf
      Patrick von Platen authored
      b972c1bf
    • Sylvain Gugger's avatar
      Upgrade styler to better handle lists (#9423) · bcb55d33
      Sylvain Gugger authored
      * Add missing lines before a new list.
      
      * Update doc styler and restyle some files.
      
      * Fix docstrings of LED and Longformer
      bcb55d33