Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Weights & Biases (W&B) is a powerful AI developer platform that enables machine learning practitioners to train, fine-tune, and deploy models efficiently. Azure OpenAI fine-tuning integrates with W&B, allowing you to track metrics, parameters, and visualize your Azure OpenAI fine-tuning training runs within your W&B projects. In this article, we will guide you through setting up the Weights & Biases integration.
First, enable System Managed Identity for your Azure OpenAI resource.
Sign in to https://wandb.ai and go to the User Settings.
Under API Keys, select Reveal to access your key and copy it to the clipboard.
If you would like to create a new key, use https://wandb.ai/authorize, and copy the key to add to your integration configuration later.
To securely send data from Azure OpenAI to your Weights & Biases projects, you'll need to use Azure Key Vault.
Navigate to the Azure Key Vault you are planning to use.
To read and write secrets to your Azure Key Vault, you must explicitly assign access.
Go to Settings > Access configuration. Under Permission model, we recommend you select Azure role-based access control if this isn't already selected. Learn more about Azure role-based access control.
Now that you have set your permission model to Azure role-based access control, you can give yourself the Key Vault Secrets Officer role.
Go to Access control (IAM) and then Add role assignment
Choose Key Vault Secrets Officer, add your account as a member, and select review & assign.
From within your key vault resource under Objects, select Secrets > Generate/Import.
Provide a name for your secret and save the generated Weights & Biases API key to the secret value.
Make sure to capture the secret name and key vault URL. The key vault URL can be retrieved from Overview section of your key vault.
If you used a Vault Access policy earlier to read and write secrets to your Azure Key Vault, you should use that again. Otherwise, continue to use Azure role-based access control. We recommend Azure role-based access control. However, if it does not work for you, please try Vault Access policy.
Give your Azure OpenAI resource the Key Vault Secrets Officer role.
Navigate to the Azure AI Foundry portal and select your Azure OpenAI fine-tuning resource.
Add your key vault URL and secret. Then, select Update.
Now, when you create new fine-tuning jobs, you'll have the option to log data from the job to your Weights & Biases account.
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Introduction to using Managed Identity to authenticate to Azure OpenAI with .NET - Training
How to implement role based access control and managed identity authentication to Azure OpenAI with .NET.
Certification
Microsoft Certified: Azure AI Fundamentals - Certifications
Demonstrate fundamental AI concepts related to the development of software and services of Microsoft Azure to create AI solutions.
Documentation
Customize a model with Azure OpenAI Service - Azure OpenAI
Learn how to create your own customized model with Azure OpenAI Service by using Python, the REST APIs, or Azure AI Foundry portal.
Fine-tuning function calls with Azure OpenAI Service - Azure AI services
Learn how to improve function calling performance with Azure OpenAI fine-tuning
Azure OpenAI Service fine-tuning gpt-4o-mini - Azure OpenAI
Learn how to use Azure OpenAI's latest fine-tuning capabilities with gpt-4o-mini-2024-07-18