๐Ÿ…
RK Azure
  • โš“Azure Tutorial
  • โœˆ๏ธAzure Databricks
    • ๐Ÿ†’Deployment Steps
    • ๐Ÿ๏ธDeployment Steps - NoPIP
    • ๐ŸฏSecure your Azure Databricks environment
    • โ›ฑ๏ธAzure Databricks Components
    • ๐Ÿ›ฉ๏ธCloud Security Baseline for Azure Databricks
    • ๐ŸนMedallion Architecture
      • ใ€ฝ๏ธAzure End-to-End Data Engineering Project: Incremental data pipeline [Part 1]
  • ๐Ÿ๏ธAzure Data Factory
    • ๐Ÿ†’Deployment Steps
    • โณSecure your Azure Data Factory
    • โœˆ๏ธCloud Security Baseline for Azure Data Factory
  • ๐Ÿ’ฃAzure Data Lake Storage Gen2
    • ๐Ÿ“ฆSecure Your Azure Data Lake Storage Gen2
    • ๐Ÿ†’Deployment Steps
    • โœˆ๏ธCloud Security Baseline for Azure Data Lake Storage Gen2
  • ๐Ÿ›ณ๏ธAzure Kubernetes Service (AKS)
    • ๐Ÿช‚Secure Your Azure Kubernetes Service (AKS)
    • โœˆ๏ธCloud Security Baseline for Azure Kubernetes Service (AKS)
    • ๐ŸงถCreating an Azure Kubernetes Service (AKS) Cluster: A Step-by-Step Guide
  • ๐ŸฅฆAzure Infrastructure as Code (IaC)
    • ๐Ÿ’˜Secure Your Azure Infrastructure as Code (IaC)
    • โœˆ๏ธCloud Security Baseline for Azure Infrastructure as Code (IaC)
  • ๐Ÿ›ฐ๏ธAzure DevOps
    • ๐ŸฏSecure your Azure DevOps environment
    • ๐Ÿ›ฉ๏ธCloud Security Baseline for Azure DevOps
  • ๐ŸšขAzure OpenAI
    • โœˆ๏ธSecurity Risks for Azure OpenAI
    • ๐Ÿš”Cloud Security Baseline for Azure OpenAI
    • ๐Ÿ†’Deployment Steps
    • โŒ›Use your own data with Azure OpenAI
    • ๐Ÿš€Utilize prompt engineering in your app
    • Azure OpenAI - App Using Microsoft Entra ID
    • ๐ŸŽŠCreating Azure OpenAI Instances and Content Filter
    • ๐Ÿ‘‘Bring Your Own Data to Azure OpenAI
  • ๐ŸAzure AI Studio
    • ๐ŸŽSecure your Azure AI Studio
    • ๐ŸCloud Security Baseline for Azure AI Studio
  • ๐ŸŠAzure ML
    • ๐Ÿ‹Secure your Azure ML
    • ๐ŸŒCloud Security Baseline for Azure ML
  • ๐Ÿ‰Azure Container Registry
    • ๐Ÿ‡Secure your Azure Container Registry
    • ๐Ÿ“Cloud Security Baseline for Azure Container Registry
  • ๐ŸˆAzure Data Science VM
  • ๐Ÿ’Azure Automation
    • ๐ŸฅญSecure your Azure Automation
    • ๐ŸซCloud Security Baseline for Azure Automation
  • ๐Ÿš‰Azure AI Document Intelligence
    • ๐ŸฅŒCloud Security Baseline for Azure AI Document Intelligence
    • ๐ŸSecure your Azure AI Document Intelligence
  • ๐Ÿ—ฃ๏ธAzure AI Search
    • ๐Ÿ”Cloud Security Baseline for Azure AI Search
    • Secure your Azure AI Search
    • ๐Ÿฆ•Azure Open AI: Setup Azure AI Search Solution
  • ๐ŸŒค๏ธGenerative AI Solutions with Azure OpenAI
    • ๐Ÿฆ•Deployment
    • Useful Links
  • ๐ŸŽAzure Logic Apps
    • ๐Ÿ—ฃ๏ธCloud Security Baseline for Azure Logic Apps
    • ๐Ÿช–Deployment Steps
  • ๐Ÿ‘ฉโ€๐Ÿ’ผAzure API Management
    • ๐Ÿช–Cloud Security Baseline for Azure API Management
      • ๐ŸŒค๏ธDeployment Steps
    • ๐Ÿ‘“Deployment
    • โš™๏ธSecurely Integrating Azure API Management with Azure OpenAI via Application Gateway
  • ๐Ÿ”ฎAzure AI Hub
    • How to Deploy an Azure AI Hub Step-by-Step
  • ๐Ÿ•ขAzure Event Hub
    • ๐Ÿ›ซDeployment Steps
  • ๐ŸŽAzure Container Apps environments
    • Deploying an Azure Container Apps Environment in a VNet
  • ๐Ÿ”—Azure Important Links
  • ๐Ÿ•ŽLabs
    • Develop custom copilots with Azure AI Studio
      • ๐Ÿ™…โ€โ™‚๏ธFine-tuning
  • ๐Ÿ“…Azure Database for PostgreSQL flexible server
  • ๐Ÿช…Azure Cosmos DB
  • โœˆ๏ธAzure AI Foundry + Azure AI Search + Azure OpenAI
  • ๐Ÿ›Azure AI Foundry
    • ๐Ÿ›ซAzure AI Foundry Implementation - 1
    • ๐ŸซถAzure AI Foundry Implementation - 2
    • ๐Ÿ›Azure AI Foundry Implementation - 3
    • ๐ŸฆพSetting up Azure AI foundry and build AI application
  • ๐Ÿš‡Azure - Connect resources between multiple subscription
    • ๐Ÿ”How to set up Azure Private Link
    • ๐ŸคHow to Set Up Azure VNet Peering
    • ๐Ÿ–จ๏ธAzure Private Endpoint: Step-by-Step Implementation with DNS Registration
    • ๐ŸŽŠCreating Azure Private Endpoint and Private Link with DNS Configuration for VM Connectivity
Powered by GitBook
On this page
  1. ๐Ÿ•ŽLabs
  2. Develop custom copilots with Azure AI Studio

๐Ÿ™…โ€โ™‚๏ธFine-tuning

PreviousDevelop custom copilots with Azure AI StudioNextAzure Database for PostgreSQL flexible server

Last updated 7 months ago

CtrlK

Fine-tune a language model for chat completion in the Azure AI Foundry

When you want a language model to behave a certain way, you can use prompt engineering to define the desired behavior. When you want to improve the consistency of the desired behavior, you can opt to fine-tune a model, comparing it to your prompt engineering approach to evaluate which method best fits your needs.

In this exercise, you'll fine-tune a language model with the Azure AI Foundry that you want to use for a custom chat application scenario. You'll compare the fine-tuned model with a base model to assess whether the fine-tuned model fits your needs better.

Imagine you work for a travel agency and you're developing a chat application to help people plan their vacations. The goal is to create a simple and inspiring chat that suggests destinations and activities. Since the chat isn't connected to any data sources, it should not provide specific recommendations for hotels, flights, or restaurants to ensure trust with your customers.

Create an AI hub and project in the Azure AI Foundry portal

You start by creating an Azure AI Foundry portal project within an Azure AI hub:

  1. In a web browser, open https://ai.azure.com and sign in using your Azure credentials.

  2. From the home page, select + Create project.

  3. In the Create a new project wizard, create a project with the following settings:

    • Project name: project47427734

    • Select Customize

      • Hub name:Hub47427734

      • Subscription: Autofills with your signed in account

      • Resource group: Please use ResourceGroup1

      • Location: Choose one of the following regions East US2, North Central US, Sweden Central, Switzerland West*

      • Connect Azure AI Services or Azure OpenAI: (New) Autofills with your selected hub name

      • Connect Azure AI Search: Skip connecting

    * Azure OpenAI resources are constrained at the tenant level by regional quotas. The listed regions in the location helper include default quota for the model type(s) used in this exercise. Randomly choosing a region reduces the risk of a single region reaching its quota limit. In the event of a quota limit being reached later in the exercise, there's a possibility you may need to create another resource in a different region. Learn more about Fine-tuning model regions

  4. Review your configuration and create your project.

  5. Wait for your project to be created.