1. 25 Jun, 2021 1 commit
  2. 18 May, 2021 1 commit
  3. 21 Apr, 2021 1 commit
  4. 12 Apr, 2021 1 commit
  5. 29 Mar, 2021 1 commit
    • Daniel Stancl's avatar
      Add `examples/run_ner_no_trainer.py` (#10902) · d7b50ce4
      Daniel Stancl authored
      * Add NER example with accelerate library
      
      * This commit contains the first (yet really unfinished)
      version of a script for showing how to train HuggingFace model
      with their new accelerate library.
      
      * Fix metric calculation
      
      * make style quality
      
      * mv ner_no_trainer to token-classification dir
      
      * Delete --debug flag from running script
      
      * hf_datasets -> raw_datasets
      
      * Make a few slight adjustments
      
      * Add an informative comment + rewrite a help comment
      
      * Change header
      
      * Fix a few things
      
      * Enforce to use fast tokenizers only
      
      * DataCollatorWithPadding -> DataCollatorForTokenClassification
      
      * Change bash script: python3 -> accelerate launch
      
      * make style
      
      * Add a few missing things (see below)
      
      * Add a max-lenghth padding to predictions and labels to
      enable accelerate gather functionality
      
      * Add PyTorch no trainer example to the example README.md
      
      * Remove --do-train from args as being redundant for now
      
      * DataCollatorWithPadding -> DataCollatorForTokenClassification
      
      * Remove some obsolete args.do_train conditions from the script
      
      * Delete --do_train from bash running script
      
      * Delete use_slow_tokenizer from args
      
      * Add unintentionally removed flag --label_all_tokens
      
      * Delete --debug flag from running script
      d7b50ce4
  6. 19 Mar, 2021 1 commit
  7. 19 Feb, 2021 1 commit
  8. 18 Dec, 2020 1 commit
  9. 11 Dec, 2020 1 commit
  10. 09 Nov, 2020 1 commit
  11. 18 Sep, 2020 1 commit
  12. 07 Aug, 2020 1 commit
  13. 04 Jun, 2020 1 commit
    • Stefan Schweter's avatar
      NER: Add new WNUT’17 example (#4681) · 2a4b9e09
      Stefan Schweter authored
      * ner: add preprocessing script for examples that splits longer sentences
      
      * ner: example shell scripts use local preprocessing now
      
      * ner: add new example section for WNUT’17 NER task. Remove old English CoNLL-03 results
      
      * ner: satisfy black and isort
      2a4b9e09
  14. 27 May, 2020 1 commit
  15. 11 May, 2020 1 commit
  16. 07 May, 2020 1 commit
    • Julien Chaumond's avatar
      BIG Reorganize examples (#4213) · 0ae96ff8
      Julien Chaumond authored
      * Created using Colaboratory
      
      * [examples] reorganize files
      
      * remove run_tpu_glue.py as superseded by TPU support in Trainer
      
      * Bugfix: int, not tuple
      
      * move files around
      0ae96ff8
  17. 02 May, 2020 1 commit
  18. 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
  19. 10 Mar, 2020 1 commit
    • Shubham Agarwal's avatar
      NER - pl example (#3180) · 5ca356a4
      Shubham Agarwal authored
      * 1. seqeval required by ner pl example. install from examples/requirements. 2. unrecognized arguments: save_steps
      
      * pl checkpoint callback filenotfound error: make directory and pass
      
      * #3159 pl checkpoint path difference
      
      * 1. Updated Readme for pl 2. pl script now also correct displays logs 3. pass gpu ids compared to number of gpus
      
      * Updated results in readme
      
      * 1. updated readme 2. removing deprecated pl methods 3. finalizing scripts
      
      * comment length check
      
      * using deprecated validation_end for stable results
      
      * style related changes
      5ca356a4
  20. 20 Feb, 2020 1 commit