BaseConfig update for transformers>=4.22.0 #386
Fix BaseConfig to make push_to_hub work again
f03bb56c
Update BaseConfig.get_configuration_file docstring to match transformers
e8984076
Remove BaseConfig.get_config_dict since it is the same implementation…
5907b00a
Update BaseConfig._get_config_dict and BaseConfig.to_dict
da64e7f5
Update BaseConfig.from_dict
72759baa
Add requirement on transformers version in setup.py
e7102fa9
Style fix
225f13c1
michaelbenayoun
changed the title Fix base config push to hub BaseConfig update for transformers>=4.22,0 3 years ago
Revert "Remove BaseConfig.get_config_dict since it is the same implem…
9d74adf3
Re-add BaseConfig.get_config_dict as it is actually useful
2e418202
Make BaseConfig compatible with transformers <= 4.21.0
7d170f8e
Add todo comment
f0fa460c
michaelbenayoun
changed the title BaseConfig update for transformers>=4.22,0 BaseConfig update for transformers>=4.22.0 3 years ago
Use cached_file instead of hf_hub_download for transformers < 4.22
82928758
Update minimum transformers required version
a49a2a46
echarlaix
approved these changes
on 2022-09-22
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub