-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow to change device
, batch_size
and num_workers
of embedding models
#396
Conversation
🚀 Deployed on https://deploy-preview-396--etna-docs.netlify.app |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #396 +/- ##
==========================================
- Coverage 88.88% 9.61% -79.27%
==========================================
Files 224 226 +2
Lines 15381 15572 +191
==========================================
- Hits 13672 1498 -12174
- Misses 1709 14074 +12365 ☔ View full report in Codecov by Sentry. |
@@ -239,7 +258,7 @@ def save(self, path: pathlib.Path): | |||
|
|||
@classmethod | |||
def load(cls, path: pathlib.Path) -> "TS2VecEmbeddingModel": | |||
"""Load an object. | |||
"""Load an object. Model's weights are transferred to cpu during loading. |
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 clarification about CPU should go in extended summary on next line after empty line.
Before submitting (must do checklist)
Proposed Changes
Closing issues
closes #394