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

feat: LLM - Support for Batch Prediction for the textembedding models (preview) #2345

Merged
merged 0 commits into from
Jul 27, 2023

Conversation

copybara-service[bot]
Copy link
Contributor

@copybara-service copybara-service bot commented Jul 6, 2023

feat: LLM - Support for Batch Prediction for the textembedding models (preview)

Usage:

model = TextEmbeddingModel.from_pretrained("textembedding-gecko@001")
job = model.batch_predict(
    dataset="gs://<bicket>/dataset.jsonl",
    destination_uri_prefix="gs://<bicket>/batch_prediction/",
    # Optional:
    model_parameters={},
)

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: vertex-ai Issues related to the googleapis/python-aiplatform API. labels Jul 6, 2023
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Jul 27, 2023
@copybara-service copybara-service bot force-pushed the copybara_546112540 branch 2 times, most recently from a2f900d to b139e46 Compare July 27, 2023 21:15
@copybara-service copybara-service bot closed this Jul 27, 2023
@copybara-service copybara-service bot merged commit a368538 into main Jul 27, 2023
@product-auto-label product-auto-label bot added size: u Pull request is empty. and removed size: m Pull request size is medium. labels Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API. google-contributor size: u Pull request is empty.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants