Try it: Test model capabilities using demo playgrounds in Model Garden
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.
Supported models
The following models have demo playgrounds available.
Provider | Models |
---|---|
|
|
Meta |
|
IIT |
|
Mistral AI |
|
Before you begin
This tutorial requires you to set up a Google Cloud project and enable the Vertex AI API.
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure 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.
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the Vertex AI API.
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.