• N's avatar
    [WIP] Ensure TF model configs can be converted to proper JSON (#14415) · 1991da07
    N authored
    
    
    * test: make sure model configs are jsonifiable
    
    * fix: return python dict instead of config object
    
    * fix: accept pretrained config and use correct class
    
    * Re-enabling slow tests and applying them to core models only
    
    * Re-enabling slow tests and applying them to core models only
    
    * Add new test file to fetcher
    
    * Remove tooslow tests from test_modeling_tf_common.py
    
    * make style
    
    * Style fixes
    
    * Style fixes
    
    * Style fixes
    
    * Style fixes
    
    * Adding core tests to GPT2 and BART
    
    * Removing unused imports
    Co-authored-by: default avatarniklas.fruehauf <niklas.fruehauf@sovanta.com>
    Co-authored-by: default avatarmatt <rocketknight1@gmail.com>
    1991da07
modeling_tf_utils.py 83.2 KB