Model Garden hosts public demo playgrounds for
supported models. The playgrounds are powered by predeployed
Vertex AI online prediction endpoints. When you open the model card for a supported model, a Try out panel is
embedded in the card. You can quickly test the model's capabilities by sending a
text prompt in the Try out panel. The Try out panel also lets you set
some of the most common parameters such as temperature and number of output
tokens. The following models have demo playgrounds available. This tutorial requires you to set up a Google Cloud project and enable the
Vertex AI API. In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Verify that billing is enabled for your Google Cloud project.
Enable the Vertex AI API.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Verify that billing is enabled for your Google Cloud project.
Enable the Vertex AI API.
Supported models
Provider
Models
Google
Meta
TII
Mistral AI
Before you begin
Try out Gemma 2
In this quickstart, you try out the Gemma-2b-it
model. Note that
-it
stands for instruction-tuned.
In the Google Cloud console, go to the Gemma 2 model card.
In the Try out panel:
- For Region, accept the default or choose your region.
- For Endpoint, select Demo playground (Free)2b-it.
- In the Prompt box, enter
Why is the sky blue?
. Expand the Advanced options section and view the default parameters.
Click Submit. The output appears below the Submit button.
Clean up
To avoid incurring charges to your Google Cloud account for the resources used on this page, follow these steps.
Delete the project
The easiest way to eliminate billing is to delete the project that you created for the tutorial.
To delete the project:
- In the Google Cloud console, go to the Manage resources page.
- In the project list, select the project that you want to delete, and then click Delete.
- In the dialog, type the project ID, and then click Shut down to delete the project.
What's next
See an overview of Model Garden.