LLMs on Google Cloud: Text Generation Using Gemini Models

Google Cloud, AI    |    Intermediate
  • 12 videos | 2h 25s
  • Includes Assessment
  • Earns a Badge
Text generation using Gemini models leverages Google Cloud's advanced large language models (LLMs) to create high-quality outputs. These models are designed to handle many use cases, offering flexibility and precision for diverse applications. In this course, learn how to install the gcloud CLI, make your first API call using the Python SDK, and generate text in freeform and chat modes. Next, explore how to integrate Gemini models with LangChain, create effective system instructions, use response schemas to tailor outputs, and extract structured data from unstructured and semi-structured inputs. Finally, examine advanced model parameters for text generation, adjust parameters, and use determinism techniques. After completing this course, you will be able to customize and refine AI outputs effectively and integrate generative AI into your products.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Install and set up the gcloud cli on mac and windows machines
    Set up the virtual environment, install the python library, and make the first request to vertex ai apis
    Generate text using freeform mode and chat mode for streaming and non-streaming responses
    Integrate gemini apis with langchain
    Use system instructions to define a persona, output formats, style, tone, goals, and rules and provide additional context
  • Perform controlled generation with gemini models using response schemas
    Use controlled generation to extract structured data from responses
    Outline how temperature and the top-p parameter affect text generation
    Control model creativity using temperature, top-p, and top-k parameters
    Produce deterministic responses from the model and use stopping parameters to stop text generation
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 58s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 10m 5s
    Discover how to install and set up the gcloud CLI on Mac and Windows machines. FREE ACCESS
  • Locked
    3.  Making the First API Call Using the Python SDK
    9m 30s
    During this video, you will learn how to set up the virtual environment, install the Python library, and make the first request to Vertex AI APIs. FREE ACCESS
  • Locked
    4.  Generating Text in Freeform and Chat Mode
    10m 27s
    Find out how to generate text using freeform mode and chat mode for streaming and non-streaming responses. FREE ACCESS
  • Locked
    5.  Integrating Gemini with LangChain
    13m 45s
    In this video, discover how to integrate Gemini APIs with LangChain. FREE ACCESS
  • Locked
    6.  Using System Instructions
    13m 52s
    Learn how to use system instructions to define a persona, output formats, style, tone, goals, and rules and provide additional context. FREE ACCESS
  • Locked
    7.  Performing Controlled Generation Using Response Schemas
    9m 40s
    In this video, find out how to perform controlled generation with Gemini models using response schemas. FREE ACCESS
  • Locked
    8.  Extracting Structured Data from Unstructured and Semi-Structured Input
    13m 43s
    During this video, discover how to use controlled generation to extract structured data from responses. FREE ACCESS
  • Locked
    9.  Model Parameters for Text Generation
    11m 24s
    After completing this video, you will be able to outline how temperature and the top-P parameter affect text generation. FREE ACCESS
  • Locked
    10.  Controlling Model Creativity Using Temperature, Top-P, and Top-K
    12m 26s
    In this video, you will learn how to control model creativity using temperature, top-P, and top-K parameters. FREE ACCESS
  • Locked
    11.  Producing Deterministic Responses and Stopping Parameters
    11m 26s
    In this video, discover how to produce deterministic responses from the model and use stopping parameters to stop text generation. FREE ACCESS
  • Locked
    12.  Course Summary
    2m 9s
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE