"examples/research_projects/adversarial/utils_hans.py" did not exist on "99d4515572a4e4e2200e27a94d178aa5f626ad75"
  • 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
test_examples.py 17.3 KB