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

Allow setting batch size in SetFitModel.predict #443

Merged
merged 2 commits into from
Nov 24, 2023

Conversation

tomaarsen
Copy link
Member

Hello!

Pull Request overview

  • Allow setting batch size in SetFitModel.predict
  • Args are now passed from SetFitModel.call to SetFitModel.predict.
    • Docs

Details

Uses the batch_size in SentenceTransformers - very simple change.

  • Tom Aarsen

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@tomaarsen tomaarsen merged commit ee00c40 into huggingface:v1.0.0-pre Nov 24, 2023
18 checks passed
@tomaarsen tomaarsen deleted the feat/expose_batch_size branch November 24, 2023 12:20
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