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

Support additional keyword arguments in Adapter.save_model() #14

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

Witiko
Copy link
Collaborator

@Witiko Witiko commented Apr 25, 2022

In #11, we added support for transformers 4.18.0. Apparently, Adapter.save_model() may be called with additional keyword arguments such as _internal_call: bool in transformers 4.18.0:

278222001_391941735924802_7639119211624318328_n

This pull request adds **kwargs to save_model(), so that the call does not fail.

@stefanik12
Copy link
Collaborator

**kwargs were definitely missing in Adapter's save_model args, thanks!

@stefanik12 stefanik12 merged commit 741b9d9 into gaussalgo:master Apr 26, 2022
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.

None yet

2 participants