
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Install the Gen AI SDK for Python
/ 30
Use the Gemini model to reason at different levels, text and numbers
/ 35
Use the Gemini model to reason on single and multiple images
/ 35
In this lab, you will explore a variety of use cases enabled by Gemini 2.0 Flash in the context of education. You will learn about the capabilities of the Gemini model across various reasoning tasks, showcasing its potential for educational applications.
Through a series of tasks, the notebook evaluates Gemini's proficiency in understanding complex prompts, extracting relevant information, and generating accurate and insightful responses, highlighting its potential for enhancing learning and problem-solving in educational settings. The tasks progress from fundamental reasoning with text and numbers to more advanced multi-modal reasoning involving visual data.
Gemini is a family of powerful generative AI models developed by Google DeepMind, capable of understanding and generating various forms of content, including text, code, images, audio, and video.
The Gemini API in Vertex AI provides a unified interface for interacting with Gemini models. This allows developers to easily integrate these powerful AI capabilities into their applications. For the most up-to-date details and specific features of the latest versions, please refer to the official Gemini documentation.
Before starting this lab, you should be familiar with:
In this lab, you will explore a variety of educational use cases that can benefit from Gemini. You will learn how to:
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the left is the Lab Details pane with the following:
Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).
The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Arrange the tabs in separate windows, side-by-side.
If necessary, copy the Username below and paste it into the Sign in dialog.
You can also find the Username in the Lab Details pane.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
You can also find the Password in the Lab Details pane.
Click Next.
Click through the subsequent pages:
After a few moments, the Google Cloud console opens in this tab.
In the Google Cloud console, on the Navigation menu (), click Vertex AI > Workbench.
Find the
The JupyterLab interface for your Workbench instance opens in a new browser tab.
Open the
In the Select Kernel dialog, choose Python 3 from the list of available kernels.
Run through the Getting Started and the Import libraries sections of the notebook.
Click Check my progress to verify the objective.
This task will assess Gemini's ability to reason with different types of data, focusing on text and numbers. It will involve presenting the model with various prompts and questions that require logical deduction, inference, and problem-solving skills. The task will explore different levels of reasoning complexity, from basic comprehension to more advanced analytical tasks, to evaluate the model's proficiency in understanding and processing textual and numerical information.
gemini-2.0-flash
model to reason at different levels.gemini-2.0-flash
model to reason on text.gemini-2.0-flash
model to reason on numbers.Click Check my progress to verify the objective.
This task will evaluate Gemini's capacity for visual reasoning by analyzing its responses to prompts involving single images, sets of images, and video content. The model will be presented with tasks that require understanding visual information, such as object recognition, scene interpretation, and event analysis. By assessing the model's ability to extract meaning and draw inferences from visual inputs, this task aims to showcase Gemini model capabilities in multi-modal reasoning and its potential for applications in visual learning and analysis.
gemini-2.0-flash
model to reason on a single image.gemini-2.0-flash
model to reason on multiple images.Click Check my progress to verify the objective.
gemini-2.0-flash
model to reason on a video.In this lab, you've how you can use Gemini for education and benefit from text and multimodal models to generate content from text, images, and videos.
Check out the following resources to learn more about Gemini:
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last April 21, 2025
Lab Last Tested April 18, 2025
Copyright 2025 Google LLC All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one