Azure-Samples/azureai-foundry-finetuning-raft

A recipe that will walk you through using either Meta Llama 3.1 405B or OpenAI GPT-4o deployed on Azure AI to generate a synthetic dataset using UC Berkeley's Gorilla project RAFT method.

47
/ 100
Emerging

This project helps improve the accuracy of Retrieval Augmented Generation (RAG) systems by teaching language models to better use retrieved information. It takes an existing RAG setup and uses powerful "teacher" models like GPT-4o or Llama 3.1 405B to create specialized training data. This data then fine-tunes a smaller "student" model, leading to more precise and relevant answers. This is for AI practitioners and RAG system developers looking to enhance their model's performance on specific knowledge domains.

No commits in the last 6 months.

Use this if you have a RAG system and want to make your language model more precise and reliable when answering questions based on retrieved documents or data.

Not ideal if you are looking for a general model distillation technique that doesn't focus on improving RAG system precision.

RAG-system-optimization LLM-fine-tuning AI-model-precision synthetic-data-generation domain-specific-AI
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

77

Forks

27

Language

Jupyter Notebook

License

MIT

Last pushed

Jul 17, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/Azure-Samples/azureai-foundry-finetuning-raft"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.