Send feedback
Hello text data: Train an AutoML text classification model
bookmark_border bookmark
Stay organized with collections
Save and categorize content based on your preferences.
Starting on September 15, 2024, you can only customize
classification, entity extraction,
and sentiment analysis objectives by moving to Vertex AI Gemini prompts and tuning. Training or
updating models for Vertex AI AutoML for Text classification, entity extraction, and sentiment
analysis objectives will no longer be available. You can continue using existing Vertex AI AutoML
Text models until June 15, 2025. For a comparison of AutoML text and Gemini, see Gemini for AutoML text users . For more information about how Gemini
offers enhanced user experience through improved prompting capabilities, see Introduction to tuning .
To get started with tuning, see Model tuning for Gemini text models
Use the Vertex AI console to train an AutoML text classification
model. After your dataset is created and data is imported, use the
Vertex AI console to start model training.
This tutorial has several pages:
Setting up your project and environment.
Creating a text classification dataset .
Training an AutoML text classification
model.
Deploy model to an endpoint and send a
prediction.
Cleaning up your project.
Each page assumes that you have already performed the instructions from the
previous pages of the tutorial.
Train an AutoML model
In the Google Cloud console, go to the Model Registry page.
Go to the Model Registry page
For Region , select us-central1 (Iowa) .
Select Create to open the Train new model window.
In the Train new model window, complete the following steps:
Click Continue .
Click Start training .
Training takes several hours. You will receive an email notification when
model training finishes.
What's next
Follow the next page of this tutorial to deploy
your trained AutoML model to an endpoint and send documents to the
model for prediction.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-12 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-12 UTC."],[],[]]