"git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "118f1fc726524c7ce728cc1474b7679fa4168177"
  1. 17 Apr, 2020 6 commits
  2. 16 Apr, 2020 12 commits
  3. 15 Apr, 2020 2 commits
  4. 14 Apr, 2020 2 commits
  5. 13 Apr, 2020 2 commits
  6. 11 Apr, 2020 2 commits
  7. 10 Apr, 2020 7 commits
    • Jin Young Sohn's avatar
    • Anthony MOI's avatar
      Update tokenizers to 0.7.0-rc5 (#3705) · b7cf9f43
      Anthony MOI authored
      b7cf9f43
    • 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
    • Julien Chaumond's avatar
      [examples] Generate argparsers from type hints on dataclasses (#3669) · b169ac9c
      Julien Chaumond authored
      * [examples] Generate argparsers from type hints on dataclasses
      
      * [HfArgumentParser] way simpler API
      
      * Restore run_language_modeling.py for easier diff
      
      * [HfArgumentParser] final tweaks from code review
      b169ac9c
    • Sam Shleifer's avatar
      Multilingual BART - (#3602) · 7a7fdf71
      Sam Shleifer authored
      - support mbart-en-ro weights
      - add MBartTokenizer
      7a7fdf71
    • Julien Chaumond's avatar
      Big cleanup of `glue_convert_examples_to_features` (#3688) · f98d0ef2
      Julien Chaumond authored
      * Big cleanup of `glue_convert_examples_to_features`
      
      * Use batch_encode_plus
      
      * Cleaner wrapping of glue_convert_examples_to_features for TF
      
      @lysandrejik
      
      * Cleanup syntax, thanks to @mfuntowicz
      
      * Raise explicit error in case of user error
      f98d0ef2
  8. 09 Apr, 2020 5 commits
  9. 08 Apr, 2020 2 commits