• Matt's avatar
    Add tf_keras imports to prepare for Keras 3 (#28588) · 415e9a09
    Matt authored
    * Port core files + ESM (because ESM code is odd)
    
    * Search-replace in modelling code
    
    * Fix up transfo_xl as well
    
    * Fix other core files + tests (still need to add correct import to tests)
    
    * Fix cookiecutter
    
    * make fixup, fix imports in some more core files
    
    * Auto-add imports to tests
    
    * Cleanup, add imports to sagemaker tests
    
    * Use correct exception for importing tf_keras
    
    * Fixes in modeling_tf_utils
    
    * make fixup
    
    * Correct version parsing code
    
    * Ensure the pipeline tests correctly revert to float32 after each test
    
    * Ensure the pipeline tests correctly revert to float32 after each test
    
    * More tf.keras -> keras
    
    * Add dtype cast
    
    * Better imports of tf_keras
    
    * Add a cast for tf.assign, just in case
    
    * Fix callback imports
    415e9a09
run_text_classification.py 25.3 KB