1. 19 Aug, 2020 2 commits
  2. 18 Aug, 2020 2 commits
  3. 17 Aug, 2020 5 commits
  4. 14 Aug, 2020 2 commits
  5. 13 Aug, 2020 2 commits
    • Lysandre Debut's avatar
      Test model outputs equivalence (#6445) · f7cbc13d
      Lysandre Debut authored
      * Test model outputs equivalence
      
      * Fix failing tests
      
      * From dict to kwargs
      
      * DistilBERT
      
      * Addressing @sgugger and @patrickvonplaten's comments
      f7cbc13d
    • Stas Bekman's avatar
      cleanup tf unittests: part 2 (#6260) · e983da0e
      Stas Bekman authored
      * cleanup torch unittests: part 2
      
      * remove trailing comma added by isort, and which breaks flake
      
      * one more comma
      
      * revert odd balls
      
      * part 3: odd cases
      
      * more ["key"] -> .key refactoring
      
      * .numpy() is not needed
      
      * more unncessary .numpy() removed
      
      * more simplification
      e983da0e
  6. 12 Aug, 2020 3 commits
  7. 11 Aug, 2020 5 commits
  8. 10 Aug, 2020 4 commits
  9. 07 Aug, 2020 2 commits
  10. 06 Aug, 2020 1 commit
    • Philip May's avatar
      Add strip_accents to basic BertTokenizer. (#6280) · d5bc32ce
      Philip May authored
      * Add strip_accents to basic tokenizer
      
      * Add tests for strip_accents.
      
      * fix style with black
      
      * Fix strip_accents test
      
      * empty commit to trigger CI
      
      * Improved strip_accents check
      
      * Add code quality with is not False
      d5bc32ce
  11. 05 Aug, 2020 2 commits
    • Sylvain Gugger's avatar
      Tf model outputs (#6247) · c67d1a02
      Sylvain Gugger authored
      * TF outputs and test on BERT
      
      * Albert to DistilBert
      
      * All remaining TF models except T5
      
      * Documentation
      
      * One file forgotten
      
      * TF outputs and test on BERT
      
      * Albert to DistilBert
      
      * All remaining TF models except T5
      
      * Documentation
      
      * One file forgotten
      
      * Add new models and fix issues
      
      * Quality improvements
      
      * Add T5
      
      * A bit of cleanup
      
      * Fix for slow tests
      
      * Style
      c67d1a02
    • Julien Plu's avatar
      Add SequenceClassification and MultipleChoice TF models to Electra (#6227) · 33966811
      Julien Plu authored
      * Add SequenceClassification and MultipleChoice TF models to Electra
      
      * Apply style
      
      * Add summary_proj_to_labels to Electra config
      
      * Finally mirroring the PT version of these models
      
      * Apply style
      
      * Fix Electra test
      33966811
  12. 04 Aug, 2020 3 commits
  13. 03 Aug, 2020 1 commit
    • Julien Plu's avatar
      Fix saved model creation (#5468) · 9996f697
      Julien Plu authored
      * Fix TF Serving when output_hidden_states and output_attentions are True
      
      * Add tests for saved model creation + bug fix for multiple choices models
      
      * remove unused import
      
      * Fix the input for several layers
      
      * Fix test
      
      * Fix conflict printing
      
      * Apply style
      
      * Fix XLM and Flaubert for TensorFlow
      
      * Apply style
      
      * Fix TF check version
      
      * Apply style
      
      * Trigger CI
      9996f697
  14. 31 Jul, 2020 3 commits
  15. 30 Jul, 2020 3 commits
    • Stas Bekman's avatar
      typos (#6162) · a2f6d521
      Stas Bekman authored
      * 2 small typos
      
      * more typos
      
      * correct path
      a2f6d521
    • guillaume-be's avatar
      Addition of a DialoguePipeline (#5516) · e642c789
      guillaume-be authored
      
      
      * initial commit for pipeline implementation
      
      Addition of input processing and history concatenation
      
      * Conversation pipeline tested and working for single & multiple conversation inputs
      
      * Added docstrings for dialogue pipeline
      
      * Addition of dialogue pipeline integration tests
      
      * Delete test_t5.py
      
      * Fixed max code length
      
      * Updated styling
      
      * Fixed test broken by formatting tools
      
      * Removed unused import
      
      * Added unit test for DialoguePipeline
      
      * Fixed Tensorflow compatibility
      
      * Fixed multi-framework support using framework flag
      
      * - Fixed docstring
      - Added `min_length_for_response` as an initialization parameter
      - Renamed `*args` to `conversations`, `conversations` being a `Conversation` or a `List[Conversation]`
      - Updated truncation to truncate entire segments of conversations, instead of cutting in the middle of a user/bot input
      
      * - renamed pipeline name from dialogue to conversational
      - removed hardcoded default value of 1000 and use config.max_length instead
      - added `append_response` and `set_history` method to the Conversation class to avoid direct fields mutation
      - fixed bug in history truncation method
      
      * - Updated ConversationalPipeline to accept only active conversations (otherwise a ValueError is raised)
      
      * - Simplified input tensor conversion
      
      * - Updated attention_mask value for Tensorflow compatibility
      
      * - Updated last dialogue reference to conversational & fixed integration tests
      
      * Fixed conflict with master
      
      * Updates following review comments
      
      * Updated formatting
      
      * Added Conversation and ConversationalPipeline to the library __init__, addition of docstrings for Conversation, added both to the docs
      
      * Update src/transformers/pipelines.py
      
      Updated docsting following review
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      e642c789
    • Sylvain Gugger's avatar
      Switch from return_tuple to return_dict (#6138) · 91cb9546
      Sylvain Gugger authored
      
      
      * Switch from return_tuple to return_dict
      
      * Fix test
      
      * [WIP] Test TF Flaubert + Add {XLM, Flaubert}{TokenClassification, MultipleC… (#5614)
      
      * Test TF Flaubert + Add {XLM, Flaubert}{TokenClassification, MultipleChoice} models and tests
      
      * AutoModels
      
      
      Tiny tweaks
      
      * Style
      
      * Final changes before merge
      
      * Re-order for simpler review
      
      * Final fixes
      
      * Addressing @sgugger's comments
      
      * Test MultipleChoice
      
      * Rework TF trainer (#6038)
      
      * Fully rework training/prediction loops
      
      * fix method name
      
      * Fix variable name
      
      * Fix property name
      
      * Fix scope
      
      * Fix method name
      
      * Fix tuple index
      
      * Fix tuple index
      
      * Fix indentation
      
      * Fix variable name
      
      * fix eval before log
      
      * Add drop remainder for test dataset
      
      * Fix step number + fix logging datetime
      
      * fix eval loss value
      
      * use global step instead of step + fix logging at step 0
      
      * Fix logging datetime
      
      * Fix global_step usage
      
      * Fix breaking loop + logging datetime
      
      * Fix step in prediction loop
      
      * Fix step breaking
      
      * Fix train/test loops
      
      * Force TF at least 2.2 for the trainer
      
      * Use assert_cardinality to facilitate the dataset size computation
      
      * Log steps per epoch
      
      * Make tfds compliant with TPU
      
      * Make tfds compliant with TPU
      
      * Use TF dataset enumerate instead of the Python one
      
      * revert previous commit
      
      * Fix data_dir
      
      * Apply style
      
      * rebase on master
      
      * Address Sylvain's comments
      
      * Address Sylvain's and Lysandre comments
      
      * Trigger CI
      
      * Remove unused import
      
      * Switch from return_tuple to return_dict
      
      * Fix test
      
      * Add recent model
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      Co-authored-by: default avatarJulien Plu <plu.julien@gmail.com>
      91cb9546