• Daniel Regado's avatar
    Comprehensive type checking for `from_pretrained` kwargs (#10758) · 9c7e2051
    Daniel Regado authored
    
    
    * More robust from_pretrained init_kwargs type checking
    
    * Corrected for Python 3.10
    
    * Type checks subclasses and fixed type warnings
    
    * More type corrections and skip tokenizer type checking
    
    * make style && make quality
    
    * Updated docs and types for Lumina pipelines
    
    * Fixed check for empty signature
    
    * changed location of helper functions
    
    * make style
    
    ---------
    Co-authored-by: default avatarhlky <hlky@hlky.ac>
    9c7e2051
pipeline_loading_utils.py 45.2 KB