1. 27 Apr, 2022 1 commit
    • Leonid Boytsov's avatar
      Misc. fixes for Pytorch QA examples: (#16958) · c82e017a
      Leonid Boytsov authored
      1. Fixes evaluation errors popping up when you train/eval on squad v2 (one was newly encountered and one that was previously reported Running SQuAD 1.0 sample command raises IndexError #15401 but not completely fixed).
      2. Removes boolean arguments that don't use store_true. Please, don't use these: *ANY non-empty string is being converted to True in this case and this clearly is not the desired behavior (and it creates a LOT of confusion).
      3. All no-trainer test scripts are now saving metric values in the same way (with the right prefix eval_), which is consistent with the trainer-based versions.
      4. Adds forgotten model.eval() in the no-trainer versions. This improved some results, but not everything (see the discussion in the end). Please, see the F1 scores and the discussion below.
      c82e017a
  2. 13 Apr, 2022 1 commit
  3. 11 Apr, 2022 1 commit
  4. 08 Apr, 2022 1 commit
  5. 06 Apr, 2022 2 commits
  6. 04 Apr, 2022 1 commit
  7. 31 Mar, 2022 1 commit
  8. 30 Mar, 2022 1 commit
  9. 23 Mar, 2022 2 commits
  10. 03 Mar, 2022 1 commit
  11. 22 Feb, 2022 1 commit
  12. 01 Feb, 2022 1 commit
  13. 27 Jan, 2022 2 commits
  14. 22 Dec, 2021 2 commits
  15. 15 Dec, 2021 2 commits
  16. 09 Dec, 2021 2 commits
  17. 09 Nov, 2021 1 commit
  18. 05 Nov, 2021 1 commit
  19. 01 Nov, 2021 1 commit
  20. 28 Oct, 2021 2 commits
  21. 25 Oct, 2021 1 commit
    • karthikrangasai's avatar
      Supporting Seq2Seq model for question answering task (#13432) · 1b871e09
      karthikrangasai authored
      * Add seq2seq example for QnA on SQuAD Dataset.
      
      * Changes from review - Fixing styling mistakes.
      
      * Added how to example in README, simplified the access to dataset's preprocess function.
      
      * Added tests for the seq2seq QA example.
      
      * Change dataset column name to fix tests.
      
      * Fix test command mistake.
      
      * Add missing argument 'ignore_pad_token_for_loss' from DataTrainingArguments.
      
      * Add missing argument 'num_beams' from DataTrainingArguments.
      
      * Fix processing of output predicted token ids so that tokenizer decode gets appropriate input. Updated assertion conditions on the tests.
      1b871e09
  22. 07 Oct, 2021 1 commit
  23. 06 Oct, 2021 1 commit
  24. 30 Sep, 2021 1 commit
  25. 27 Sep, 2021 2 commits
  26. 24 Sep, 2021 1 commit
  27. 21 Sep, 2021 1 commit
  28. 31 Aug, 2021 2 commits
  29. 19 Aug, 2021 1 commit
  30. 28 Jul, 2021 1 commit
  31. 26 Jul, 2021 1 commit