optimum
BaseConfig update for transformers>=4.22.0
#386
Merged

BaseConfig update for transformers>=4.22.0 #386

michaelbenayoun
michaelbenayoun Fix BaseConfig to make push_to_hub work again
f03bb56c
michaelbenayoun Update BaseConfig.get_configuration_file docstring to match transformers
e8984076
michaelbenayoun Remove BaseConfig.get_config_dict since it is the same implementation…
5907b00a
michaelbenayoun Update BaseConfig._get_config_dict and BaseConfig.to_dict
da64e7f5
michaelbenayoun Update BaseConfig.from_dict
72759baa
michaelbenayoun michaelbenayoun force pushed from 577a7441 to 72759baa 3 years ago
michaelbenayoun Add requirement on transformers version in setup.py
e7102fa9
michaelbenayoun Style fix
225f13c1
michaelbenayoun michaelbenayoun changed the title Fix base config push to hub BaseConfig update for transformers>=4.22,0 3 years ago
HuggingFaceDocBuilderDev
echarlaix
echarlaix commented on 2022-09-16
michaelbenayoun Revert "Remove BaseConfig.get_config_dict since it is the same implem…
9d74adf3
michaelbenayoun Re-add BaseConfig.get_config_dict as it is actually useful
2e418202
michaelbenayoun Make BaseConfig compatible with transformers <= 4.21.0
7d170f8e
michaelbenayoun Add todo comment
f0fa460c
michaelbenayoun michaelbenayoun changed the title BaseConfig update for transformers>=4.22,0 BaseConfig update for transformers>=4.22.0 3 years ago
michaelbenayoun michaelbenayoun requested a review from echarlaix echarlaix 3 years ago
echarlaix
echarlaix commented on 2022-09-16
michaelbenayoun Use cached_file instead of hf_hub_download for transformers < 4.22
82928758
echarlaix
echarlaix commented on 2022-09-20
michaelbenayoun Update minimum transformers required version
a49a2a46
echarlaix
echarlaix approved these changes on 2022-09-22
michaelbenayoun michaelbenayoun merged adf37aa1 into main 3 years ago
michaelbenayoun michaelbenayoun deleted the fix_base_config_push_to_hub branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone