Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate add_fusion() and train_fusion() in favor of add_adapter_fusion() and train_adapter_fusion() #190

Merged
merged 4 commits into from
Jul 1, 2021

Conversation

calpt
Copy link
Member

@calpt calpt commented Jun 21, 2021

Our current method naming scheme is not consistent:

Adapter Fusion
Add add_adapter() add_fusion()
Save save_adapter() save_adapter_fusion()
Save all save_all_adapters() save_all_adapter_fusions()
Load load_adapter() load_adapter_fusion()
Train train_adapter() train_fusion()
Delete delete_adapter() delete_adapter_fusion()

This PR proposes to deprecate two method names to improve consistency:

  • add_fusion() -> add_adapter_fusion()
  • train_fusion() -> train_adapter_fusion()

@calpt calpt requested a review from hSterz June 21, 2021 11:40
@calpt calpt marked this pull request as draft June 22, 2021 08:33
@calpt calpt removed the request for review from hSterz June 22, 2021 08:34
@calpt calpt changed the title Deprecate add_fusion() in favor of add_adapter_fusion() Deprecate add_fusion() and train_fusion() Jun 28, 2021
@calpt calpt marked this pull request as ready for review June 28, 2021 16:35
@calpt calpt requested a review from hSterz June 28, 2021 16:35
@calpt calpt changed the title Deprecate add_fusion() and train_fusion() Deprecate add_fusion() and train_fusion() in favor of add_adapter_fusion() and train_adapter_fusion() Jul 1, 2021
@calpt calpt merged commit 7032612 into adapter-hub:develop Jul 1, 2021
@calpt calpt deleted the dev/add_adapter_fusion branch July 1, 2021 09:30
@calpt calpt mentioned this pull request Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants