• Julien Plu's avatar
    New TF model inputs (#8602) · 29d49924
    Julien Plu authored
    * Apply on BERT and ALBERT
    
    * Update TF Bart
    
    * Add input processing to TF BART
    
    * Add input processing for TF CTRL
    
    * Add input processing to TF Distilbert
    
    * Add input processing to TF DPR
    
    * Add input processing to TF Electra
    
    * Add input processing for TF Flaubert
    
    * Add deprecated arguments
    
    * Add input processing to TF XLM
    
    * remove unused imports
    
    * Add input processing to TF Funnel
    
    * Add input processing to TF GPT2
    
    * Add input processing to TF Longformer
    
    * Add input processing to TF Lxmert
    
    * Apply style
    
    * Add input processing to TF Mobilebert
    
    * Add input processing to TF GPT
    
    * Add input processing to TF Roberta
    
    * Add input processing to TF T5
    
    * Add input processing to TF TransfoXL
    
    * Apply style
    
    * Rebase on master
    
    * Bug fix
    
    * Retry to bugfix
    
    * Retry bug fix
    
    * Fix wrong model name
    
    * Try another fix
    
    * Fix BART
    
    * Fix input precessing
    
    * Apply style
    
    * Put the deprecated warnings in the input processing function
    
    * Remove the unused imports
    
    * Raise an error when len(kwargs)>0
    
    * test ModelOutput instead of TFBaseModelOutput
    
    * Bug fix
    
    * Address Patrick's comments
    
    * Address Patrick's comments
    
    * Address Sylvain's comments
    
    * Add the new inputs in new Longformer models
    
    * Update the template with the new input processing
    
    * Remove useless assert
    
    * Apply style
    
    * Trigger CI
    29d49924
test_modeling_tf_blenderbot.py 3.56 KB