• Julien Plu's avatar
    Full rework of the TF input/output embeddings and bias resizing (#9193) · 1243ee7d
    Julien Plu authored
    * Start rework resizing
    
    * Rework bias/decoder resizing
    
    * Full resizing rework
    
    * Full resizing rework
    
    * Start to update the models with the new approach
    
    * Finish to update the models
    
    * Update all the tests
    
    * Update the template
    
    * Fix tests
    
    * Fix tests
    
    * Test a new approach
    
    * Refactoring
    
    * Refactoring
    
    * Refactoring
    
    * New rework
    
    * Rework BART
    
    * Rework bert+blenderbot
    
    * Rework CTRL
    
    * Rework Distilbert
    
    * Rework DPR
    
    * Rework Electra
    
    * Rework Flaubert
    
    * Rework Funnel
    
    * Rework GPT2
    
    * Rework Longformer
    
    * Rework Lxmert
    
    * Rework marian+mbart
    
    * Rework mobilebert
    
    * Rework mpnet
    
    * Rework openai
    
    * Rework pegasus
    
    * Rework Roberta
    
    * Rework T5
    
    * Rework xlm+xlnet
    
    * Rework template
    
    * Fix TFT5EncoderOnly + DPRs
    
    * Restore previous methods
    
    * Fix Funnel
    
    * Fix CTRL and TransforXL
    
    * Apply style
    
    * Apply Sylvain's comments
    
    * Restore a test in DPR
    
    * Address the comments
    
    * Fix bug
    
    * Apply style
    
    * remove unused import
    
    * Fix test
    
    * Forgot a method
    
    * missing test
    
    * Trigger CI
    
    * naming update
    
    * Rebase
    
    * Trigger CI
    1243ee7d
test_modeling_tf_common.py 53.7 KB