1. 14 Jul, 2020 1 commit
  2. 10 Jul, 2020 1 commit
  3. 01 Jul, 2020 1 commit
  4. 28 Jun, 2020 1 commit
  5. 25 Jun, 2020 1 commit
  6. 24 Jun, 2020 1 commit
  7. 16 Jun, 2020 1 commit
  8. 05 Jun, 2020 1 commit
  9. 02 Jun, 2020 1 commit
  10. 27 May, 2020 1 commit
  11. 15 May, 2020 1 commit
  12. 13 May, 2020 1 commit
    • Julien Plu's avatar
      Question Answering for TF trainer (#4320) · ca136186
      Julien Plu authored
      * Add QA trainer example for TF
      
      * Make data_dir optional
      
      * Fix parameter logic
      
      * Fix feature convert
      
      * Update the READMEs to add the question-answering task
      
      * Apply style
      
      * Change 'sequence-classification' to 'text-classification' and prefix with 'eval' all the metric names
      
      * Apply style
      
      * Apply style
      ca136186
  13. 12 May, 2020 1 commit
    • Viktor Alm's avatar
      Add MultipleChoice to TFTrainer [WIP] (#4270) · e4512aab
      Viktor Alm authored
      
      
      * catch gpu len 1 set to gpu0
      
      * Add mpc to trainer
      
      * Add MPC for TF
      
      * fix TF automodel for MPC and add Albert
      
      * Apply style
      
      * Fix import
      
      * Note to self: double check
      
      * Make shape None, None for datasetgenerator output shapes
      
      * Add from_pt bool which doesnt seem to work
      
      * Original checkpoint dir
      
      * Fix docstrings for automodel
      
      * Update readme and apply style
      
      * Colab should probably not be from users
      
      * Colabs should probably not be from users
      
      * Add colab
      
      * Update README.md
      
      * Update README.md
      
      * Cleanup __intit__
      
      * Cleanup flake8 trailing comma
      
      * Update src/transformers/training_args_tf.py
      
      * Update src/transformers/modeling_tf_auto.py
      Co-authored-by: default avatarViktor Alm <viktoralm@pop-os.localdomain>
      Co-authored-by: default avatarJulien Chaumond <chaumond@gmail.com>
      e4512aab
  14. 08 May, 2020 1 commit
  15. 07 May, 2020 4 commits
  16. 22 Apr, 2020 1 commit
    • Julien Chaumond's avatar
      Trainer (#3800) · dd9d483d
      Julien Chaumond authored
      * doc
      
      * [tests] Add sample files for a regression task
      
      * [HUGE] Trainer
      
      * Feedback from @sshleifer
      
      * Feedback from @thomwolf + logging tweak
      
      * [file_utils] when downloading concurrently, get_from_cache will use the cached file for subsequent processes
      
      * [glue] Use default max_seq_length of 128 like before
      
      * [glue] move DataTrainingArguments around
      
      * [ner] Change interface of InputExample, and align run_{tf,pl}
      
      * Re-align the pl scripts a little bit
      
      * ner
      
      * [ner] Add integration test
      
      * Fix language_modeling with API tweak
      
      * [ci] Tweak loss target
      
      * Don't break console output
      
      * amp.initialize: model must be on right device before
      
      * [multiple-choice] update for Trainer
      
      * Re-align to 827d6d6e
      dd9d483d
  17. 10 Apr, 2020 2 commits
    • Jin Young Sohn's avatar
      Add `run_glue_tpu.py` that trains models on TPUs (#3702) · 551b4505
      Jin Young Sohn authored
      * Initial commit to get BERT + run_glue.py on TPU
      
      * Add README section for TPU and address comments.
      
      * Cleanup TPU bits from run_glue.py (#3)
      
      TPU runner is currently implemented in:
      https://github.com/pytorch-tpu/transformers/blob/tpu/examples/run_glue_tpu.py.
      
      We plan to upstream this directly into `huggingface/transformers`
      (either `master` or `tpu`) branch once it's been more thoroughly tested.
      
      * Cleanup TPU bits from run_glue.py
      
      TPU runner is currently implemented in:
      https://github.com/pytorch-tpu/transformers/blob/tpu/examples/run_glue_tpu.py
      
      .
      
      We plan to upstream this directly into `huggingface/transformers`
      (either `master` or `tpu`) branch once it's been more thoroughly tested.
      
      * No need to call `xm.mark_step()` explicitly (#4)
      
      Since for gradient accumulation we're accumulating on batches from
      `ParallelLoader` instance which on next() marks the step itself.
      
      * Resolve R/W conflicts from multiprocessing (#5)
      
      * Add XLNet in list of models for `run_glue_tpu.py` (#6)
      
      * Add RoBERTa to list of models in TPU GLUE (#7)
      
      * Add RoBERTa and DistilBert to list of models in TPU GLUE (#8)
      
      * Use barriers to reduce duplicate work/resources (#9)
      
      * Shard eval dataset and aggregate eval metrics (#10)
      
      * Shard eval dataset and aggregate eval metrics
      
      Also, instead of calling `eval_loss.item()` every time do summation with
      tensors on device.
      
      * Change defaultdict to float
      
      * Reduce the pred, label tensors instead of metrics
      
      As brought up during review some metrics like f1 cannot be aggregated
      via averaging. GLUE task metrics depends largely on the dataset, so
      instead we sync the prediction and label tensors so that the metrics can
      be computed accurately on those instead.
      
      * Only use tb_writer from master (#11)
      
      * Apply huggingface black code formatting
      
      * Style
      
      * Remove `--do_lower_case` as example uses cased
      
      * Add option to specify tensorboard logdir
      
      This is needed for our testing framework which checks regressions
      against key metrics writtern by the summary writer.
      
      * Using configuration for `xla_device`
      
      * Prefix TPU specific comments.
      
      * num_cores clarification and namespace eval metrics
      
      * Cache features file under `args.cache_dir`
      
      Instead of under `args.data_dir`. This is needed as our test infra uses
      data_dir with a read-only filesystem.
      
      * Rename `run_glue_tpu` to `run_tpu_glue`
      Co-authored-by: default avatarLysandreJik <lysandre.debut@reseau.eseo.fr>
      551b4505
    • Julien Chaumond's avatar
  18. 09 Mar, 2020 1 commit
  19. 25 Feb, 2020 1 commit
  20. 22 Feb, 2020 1 commit
  21. 20 Feb, 2020 1 commit
  22. 17 Feb, 2020 1 commit
  23. 07 Feb, 2020 2 commits
  24. 30 Jan, 2020 1 commit
  25. 24 Jan, 2020 1 commit
  26. 16 Jan, 2020 3 commits
  27. 06 Jan, 2020 2 commits
  28. 24 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Remove [--editable] in install instructions. · a8d34e53
      Aymeric Augustin authored
      Use -e only in docs targeted at contributors.
      
      If a user copy-pastes  command line with [--editable], they will hit
      an error. If they don't know the --editable option, we're giving them
      a choice to make before they can move forwards, but this isn't a choice
      they need to make right now.
      a8d34e53
  29. 21 Dec, 2019 1 commit
  30. 19 Dec, 2019 1 commit
  31. 10 Dec, 2019 2 commits