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
Persist ConveRT model locally #11409
base: main
Are you sure you want to change the base?
Conversation
Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud) from 0.4.0 to 0.5.1. - [Release notes](https://github.com/google-github-actions/setup-gcloud/releases) - [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/master/CHANGELOG.md) - [Commits](google-github-actions/setup-gcloud@e0f83f2...04141d8) --- updated-dependencies: - dependency-name: google-github-actions/setup-gcloud dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/github-script](https://github.com/actions/github-script) from 4.0.2 to 6. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](actions/github-script@a3e7071...9ac0880) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pytest-timeout](https://github.com/pytest-dev/pytest-timeout) from 1.4.2 to 2.1.0. - [Release notes](https://github.com/pytest-dev/pytest-timeout/releases) - [Commits](pytest-dev/pytest-timeout@1.4.2...2.1.0) --- updated-dependencies: - dependency-name: pytest-timeout dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…e-github-actions-setup-gcloud-0.5.1 Bump google-github-actions/setup-gcloud from 0.4.0 to 0.5.1
….1.0 Bump pytest-timeout from 1.4.2 to 2.1.0
…ns-github-script-6 Bump actions/github-script from 4.0.2 to 6
…tions-actions-github-script-6 Revert "Bump actions/github-script from 4.0.2 to 6"
…tions-google-github-actions-setup-gcloud-0.5.1 Revert "Bump google-github-actions/setup-gcloud from 0.4.0 to 0.5.1"
|
@twerkmeister do you mind taking a look at this |
@@ -89,8 +88,11 @@ def create( | |||
model_storage: ModelStorage, | |||
resource: Resource, | |||
execution_context: ExecutionContext, | |||
cache_dir: str = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to be removed and instead the cache_dir
should be added to the config in get_default_config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, it's done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the submission! Unfortunately, quite a few things need changing, but it's doable. See comments for requested changes.
Also, the documentation needs to be updated. The new parameter needs to be explained for the ConveRTFeaturizer in the components.mdx
file in the docs
Ok, i'll be working on these changes! |
Co-authored-by: Thomas Werkmeister <thomas@werkmeister.me>
Proposed changes:
Status (please check what you already did):
black
(please check Readme for instructions)