1. 04 Feb, 2020 7 commits
  2. 03 Feb, 2020 5 commits
  3. 01 Feb, 2020 2 commits
    • Antonio Carlos Falc茫o Petri's avatar
      Fix typo in examples/utils_ner.py · 2ba147ec
      Antonio Carlos Falc茫o Petri authored
      "%s-%d".format() -> "{}-{}".format()
      2ba147ec
    • Bram Vanroy's avatar
      CLI script to gather environment info (#2699) · 9773e5e0
      Bram Vanroy authored
      * add "info" command to CLI
      
      As a convenience, add the info directive to CLI. Running `python transformers-cli info` will return a string containing the transformers version, platform, python version, PT/TF version and GPU support
      
      * Swap f-strings for .format
      
      Still supporting 3.5 so can't use f-strings (sad face)
      
      * Add reference in issue to CLI
      
      * Add the expected fields to issue template
      
      This way, people can still add the information manually if they want. (Though I fear they'll just ignore it.)
      
      * Remove heading from output
      
      * black-ify
      
      * order of imports
      
      Should ensure isort test passes
      
      * use is_X_available over import..pass
      
      * style
      
      * fix copy-paste bug
      
      * Rename command info -> env
      
      Also adds the command to CONTRIBUTING.md in "Did you find a bug" section
      9773e5e0
  4. 31 Jan, 2020 18 commits
  5. 30 Jan, 2020 8 commits
    • Jared Nielsen's avatar
      Correct documentation · 71a38231
      Jared Nielsen authored
      71a38231
    • Lysandre's avatar
      Add FlauBERT to automodels · 01a14ebd
      Lysandre authored
      01a14ebd
    • Julien Chaumond's avatar
      fill_mask helper (#2576) · 9fa836a7
      Julien Chaumond authored
      * fill_mask helper
      
      * [poc] FillMaskPipeline
      
      * Revert "[poc] FillMaskPipeline"
      
      This reverts commit 67eeea55b0f97b46c2b828de0f4ee97d87338335.
      
      * Revert "fill_mask helper"
      
      This reverts commit cacc17b884e14bb6b07989110ffe884ad9e36eaa.
      
      * README: clarify that Pipelines can also do text-classification
      
      cf. question at the AI&ML meetup last week, @mfuntowicz
      
      * Fix test: test feature-extraction pipeline
      
      * Test tweaks
      
      * Slight refactor of existing pipeline (in preparation of new FillMaskPipeline)
      
      * Extraneous doc
      
      * More robust way of doing this
      
      @mfuntowicz as we don't rely on the model name anymore (see AutoConfig)
      
      * Also add RobertaConfig as a quickfix for wrong token_type_ids
      
      * cs
      
      * [BIG] FillMaskPipeline
      9fa836a7
    • Hang Le's avatar
      Add layerdrop · b43cb09a
      Hang Le authored
      b43cb09a
    • Lysandre's avatar
      Rename test_examples to test_doc_samples · df27648b
      Lysandre authored
      df27648b
    • Lysandre's avatar
      Pretrained models · 93dccf52
      Lysandre authored
      93dccf52
    • Lysandre's avatar
      Style · 90787fed
      Lysandre authored
      90787fed
    • Lysandre's avatar
      FlauBERT documentation · 73306d02
      Lysandre authored
      73306d02