• Giovanni Compagnoni's avatar
    Extend typing to path-like objects in `PretrainedConfig` and `PreTrainedModel` (#8770) · f9a2a9e3
    Giovanni Compagnoni authored
    * update configuration_utils.py typing to allow pathlike objects when sensible
    
    * update modeling_utils.py typing to allow pathlike objects when sensible
    
    * black
    
    * update tokenization_utils_base.py typing to allow pathlike objects when sensible
    
    * update tokenization_utils_fast.py typing to allow pathlike objects when sensible
    
    * update configuration_auto.py typing to allow pathlike objects when sensible
    
    * update configuration_auto.py docstring to allow pathlike objects when sensible
    
    * update tokenization_auto.py docstring to allow pathlike objects when sensible
    
    * black
    f9a2a9e3
configuration_utils.py 29.4 KB