Skip to content

microsoft/aitour26-BRK443-efficient-model-customization-with-microsoft-foundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

98 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

decorative banner

Delivering this session? Check the session-delivery-sources folder for resources & guidance.

๐Ÿ”ฅBRK443: Efficient Model Customization with Microsoft Foundry

Microsoft Foundry Discord Microsoft Foundry Developer Forum

Session Description

You are an AI developer building a multi-agent AI solution for your enterprise retail store. You want to deliver a solution that is accurate, cost-effective, and performant. How do you select and optimize your model choice to deliver on these requirements?

In this session, we put the spotlight on model customization. Learn what your options are, and why fine-tuning might be the right option for your scenario. Learn about the various fine-tuning options in Microsoft Foundry, and build your intuition for using techniques like Distillation (for reducing cost) and SFT (for improving tone) with hands-on demos. Walk away with resources and insights that help you streamline your end-to-end model optimization journey with Microsoft Foundry.

๐Ÿง  Learning Outcomes

By the end of this session, you should be able to:

  1. Describe what model customization is, and the different techniques involved
  2. Describe why fine-tuning matters, how it works, and when it is most applicable
  3. Describe the different fine-tuning options in Microsoft Foundry
  4. Use Microsoft Foundry to generate synthetic data
  5. Use the Distillation technique to optimize costs with comparable accuracy
  6. Build and optimize your AI application seamlessly, with Microsoft Foundry

๐Ÿ’ป Technologies Used

  1. Microsoft Foundry - the unified Azure platform-as-a-service for enterprise AI.
  2. Azure OpenAI Service - provide API access to OpenAI models in Microsoft Foundry
  3. Stored Completions & Distillation - fine-tuning to achieve model (size) compression
  4. Reinforcement Fine-Tuning - fine-tuning reasoning models with rewards-based approach
  5. RAFT (Retrieval Augmented Fine-Tuning) - Hybrid RAG+Fine-Tuning to improve precision

๐Ÿ”— Session Resources

Resources Links Description
Fine Tuning in Microsoft Foundry https://aka.ms/aitour/fine-tuning/documentation Introduction to Fine Tuning concepts & tools in Microsoft Foundry
Fine-tuning samples from Microsoft Foundry https://aka.ms/aitour/fine-tuning/foundry-samples Evolving set of open-source code samples for developers
Fine-tuning and distillation with Microsoft Foundry https://aka.ms/aitour/fine-tuning/msbuild25-breakout Microsoft Build 2025 Session on Model Customization
Fine-tuning and Distillation https://aka.ms/aitour/fine-tuning/model-mondays-video Hands-on Distillation demo on Microsoft Foundry
Fine-tune a language model with Microsoft Foundry https://aka.ms/aitour/fine-tuning/training-module Microsoft Learn Training Module on Fine-Tuning
Fine-tune pre-trained models to your business needs with Microsoft Foundry https://aka.ms/aitour/fine-tuning/whitepaper (Requires signup) Whitepaper covering challenges, benefits etc.

๐Ÿ“š Continued Learning Resources

Resources Links Description
AI Tour 2026 Resource Center https://aka.ms/AITour26-Resource-center Links to all repos for AI Tour 26 Sessions
Microsoft Foundry Community Discord Microsoft Foundry Discord Connect with the Microsoft Foundry Community!
Learn at AI Tour https://aka.ms/LearnAtAITour Continue learning on Microsoft Learn

๐ŸŒ Multi-Language Support

Additional Languages Coming Soon


Content Owners

Nitya Narasimhan
Nitya Narasimhan

๐Ÿ“ข
Bethany Jepchumba
Bethany Jepchumba

๐Ÿ“ข
Cedric Vidal
Cedric Vidal

๐Ÿ“ข

Responsible AI

Microsoft is committed to helping our customers use our AI products responsibly, sharing our learnings, and building trust-based partnerships through tools like Transparency Notes and Impact Assessments. Many of these resources can be found at https://aka.ms/RAI. Microsoftโ€™s approach to responsible AI is grounded in ourโ€ฏAI principles of fairness, reliability and safety, privacy and security, inclusiveness, transparency, and accountability.

Large-scale natural language, image, and speech models - like the ones used in this sample - can potentially behave in ways that are unfair, unreliable, or offensive, in turn causing harms. Please consult the Azure OpenAI service Transparency note to be informed about risks and limitations.

The recommended approach to mitigating these risks is to include a safety system in your architecture that can detect and prevent harmful behavior. Azure AI Content Safety provides an independent layer of protection, able to detect harmful user-generated and AI-generated content in applications and services. Azure AI Content Safety includes text and image APIs that allow you to detect material that is harmful. Within Microsoft Foundry portal, the Content Safety service allows you to view, explore and try out sample code for detecting harmful content across different modalities. The following quickstart documentation guides you through making requests to the service.

Another aspect to take into account is the overall application performance. With multi-modal and multi-models applications, we consider performance to mean that the system performs as you and your users expect, including not generating harmful outputs. It's important to assess the performance of your overall application using Performance and Quality and Risk and Safety evaluators. You also have the ability to create and evaluate with custom evaluators.

You can evaluate your AI application in your development environment using the Azure AI Evaluation SDK. Given either a test dataset or a target, your generative AI application generations are quantitatively measured with built-in evaluators or custom evaluators of your choice. To get started with the Azure AI evaluation sdk to evaluate your system, you can follow the quickstart guide. Once you execute an evaluation run, you can visualize the results in Microsoft Foundry portal .

About

Resources

License

MIT, CC-BY-SA-4.0 licenses found

Licenses found

MIT
LICENSE
CC-BY-SA-4.0
LICENSE-DOCS

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 8