transformers
f9a2a9e3 - Extend typing to path-like objects in `PretrainedConfig` and `PreTrainedModel` (#8770)

Commit
5 years ago
Extend typing to path-like objects in `PretrainedConfig` and `PreTrainedModel` (#8770) * 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
Author
Parents
Loading