"vscode:/vscode.git/clone" did not exist on "a074a5d34d6411fb00e83a2ed30acf23d8c976b5"
  • 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