• Julien Plu's avatar
    Better booleans handling in the TF models (#8777) · dcd3046f
    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 deprecated arguments
    
    * Add input processing to TF XLM
    
    * 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 boolean processing for the inputs
    
    * Apply style
    
    * Missing optional
    
    * Fix missing some input proc
    
    * Update the template
    
    * Fix missing inputs
    
    * Missing input
    
    * Fix args parameter
    
    * Trigger CI
    
    * Trigger CI
    
    * Trigger CI
    
    * Address Patrick's and Sylvain's comments
    
    * Replace warn by warning
    
    * Trigger CI
    
    * Fix XLNET
    
    * Fix detection
    dcd3046f
modeling_tf_utils.py 59.1 KB