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

Update docs regarding the AutoMLText deprecation #114

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,6 @@ available on the Vertex AI platform. Please use
:class:`~airflow.providers.google.cloud.operators.vertex_ai.auto_ml.CreateAutoMLImageTrainingJobOperator` or
:class:`~airflow.providers.google.cloud.operators.vertex_ai.auto_ml.CreateAutoMLVideoTrainingJobOperator`.

The Vertex AutoMLText API for model training is deprecated on September 15, 2024 and the other part will be deprecated
on June 15, 2025.
Please consider using fine tuning with Gemini model -
https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini-tuning.

You can find example on how to use VertexAI operators for AutoML Vision classification here:

.. exampleinclude:: /../../tests/system/providers/google/cloud/automl/example_automl_vision_classification.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,13 @@ put dataset id to ``dataset_id`` parameter in operator.
How to run AutoML Text Training Job
:class:`~airflow.providers.google.cloud.operators.vertex_ai.auto_ml.CreateAutoMLTextTrainingJobOperator`

Operator is deprecated, please use
:class:`~airflow.providers.google.cloud.operators.vertex_ai.generative_model.SupervisedFineTuningTrainOperator` over
the Gemini model.
More info: https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini-tuning#tuning-gemini
Operator is deprecated, the non-training (existing legacy models) AutoMLText API will be deprecated
on June 15, 2025.
There are 2 options for text classification, extraction, and sentiment analysis tasks replacement:
- Prompts with pre-trained Gemini model, using :class:`~airflow.providers.google.cloud.operators.vertex_ai.generative_model.TextGenerationModelPredictOperator`.
- Fine tuning over Gemini model, For more tailored results, using :class:`~airflow.providers.google.cloud.operators.vertex_ai.generative_model.SupervisedFineTuningTrainOperator`.

Please visit the https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini-tuning for more details.

How to run AutoML Video Training Job
:class:`~airflow.providers.google.cloud.operators.vertex_ai.auto_ml.CreateAutoMLVideoTrainingJobOperator`
Expand Down