大模型底座 · 中文选型解读

generative-ai-for-beginners

已解读GitHubMITJupyter Notebook

这是微软推出的生成式AI入门课程,共包含21节内容,覆盖概念讲解与实操演示,帮助学习者掌握生成式AI应用搭建的基础能力。

119.4kstar4 天前更新维护状态MIT · 可评估商用商用提醒
在 GitHub 查看官方项目
适合解决作为问答、生成和智能体应用的基础模型
更适合正在比较模型能力、成本与部署方式的团队
投入判断上手门槛:较高。需要评测真实业务数据与许可边界
一分钟看懂

这个项目值得继续研究吗?

AI 依据上游资料解读 · 2026/9/5

这是微软推出的生成式AI入门课程,共包含21节内容,覆盖概念讲解与实操演示,帮助学习者掌握生成式AI应用搭建的基础能力。

解决什么问题
企业计划落地生成式AI应用时,常面临团队相关知识零散、入门门槛高的问题,缺乏体系化、兼顾概念理解与实操指导的学习材料,非技术人员很难快速掌握相关能力。
适合什么团队
适合想要了解生成式AI基础、计划落地相关应用的企业业务团队、初级技术团队,也可用于企业内部生成式AI普及培训。
使用前注意
实操环节需具备基础的Python或TypeScript知识,代码运行可搭配OpenAI API、Azure OpenAI等服务使用,全量仓库体积较大,可选择稀疏检出按需下载。

本页用于缩短初步筛选时间,不构成技术、采购或法律结论。 正式使用前请在真实业务数据上验证,并以官方说明与许可证为准。

项目导读

从官方资料看清能力、部署与采用边界

AI 翻译整理 · 保留官方来源

以下内容依据项目公开 README 或模型卡翻译整理,代码、命令和产品名保持原样。

项目定位

本项目是微软云倡导者团队推出的生成式AI入门体系化课程,当前为第3版,核心目标是帮助零基础或刚接触生成式AI的学习者,系统掌握生成式AI应用搭建的相关知识与实操能力,没有过高的技术前置要求。

核心课程设置

课程共包含21节独立内容,你可以根据自身需求任选起点学习,课程分为两类:

  1. Learn类课程:侧重讲解生成式AI相关概念,比如生成式AI定义、LLM(大语言模型,可理解、生成自然语言的AI模型)工作原理、不同大模型的选型方法等,没有技术基础也可学习。
  2. Build类课程:在概念讲解的基础上搭配实操案例,尽可能同时提供Python和TypeScript两种编程语言的代码示例,方便不同技术栈的学习者上手。

每节课都配套了短视频介绍、书面教程、拓展学习资源,同时支持包括简体中文在内的50余种语言,适配不同语言使用者的需求。面向.NET技术栈的开发者,微软也推出了专门的.NET版本课程,可单独选择使用。

使用准备要求

如果只学习概念类内容,没有额外门槛。如果要完成实操环节的代码运行,需要提前做以下准备:

  1. 选择大模型运行环境:可从Azure OpenAI服务、Microsoft Foundry Models、OpenAI API、Foundry Local(可在本地设备完全离线运行模型,无需云服务订阅)四类中任选其一。
  2. 具备基础的Python或TypeScript知识,完全没有编程语言基础的学习者,可先学习课程配套的Python、TypeScript入门教程补全基础。
  3. 拥有GitHub账号,可将课程仓库Fork到自己的账号下使用。

如果不需要下载多语言版本课程,可使用稀疏检出方式克隆仓库,大幅降低下载体积、提升下载速度,对应命令如下:

# Bash / macOS / Linux
git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git
cd generative-ai-for-beginners
git sparse-checkout set --no-cone '/*' '!translations' '!translated_images'
# CMD (Windows)
git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git
cd generative-ai-for-beginners
git sparse-checkout set --no-cone "/*" "!translations" "!translated_images"

配套支持资源

课程配套了多类支持资源,降低学习门槛:

  1. 专门的课程配置指引章节,可帮助学习者快速完成开发环境搭建。
  2. 有额外的进阶生成式AI代码样例库,完成入门学习后可继续学习更高阶的应用开发方法。
  3. 官方提供了交流社群,学习者可加入社群和其他学习者交流,遇到问题也可在GitHub的Issue区提交反馈。
  4. 如果是创业团队计划基于生成式AI开发产品,可对接微软创业者支持计划,获取Azure相关权益支持。

许可证与采用建议

本项目采用MIT许可证,个人学习、企业内部培训使用、二次修改分发均无限制。 对于企业业务负责人,可先学习概念类课程,快速建立对生成式AI的系统认知,方便评估AI技术在自身业务中的落地可能性;对于需要开展内部生成式AI普及培训的企业,可直接基于本课程的内容调整适配自身业务场景,无需从零开发培训课件。

可核对的事实层

官方资料与来源

查看来源 →
  • ai
  • azure
  • chatgpt
  • dall-e
  • generative-ai
  • generativeai
  • gpt
  • language-model
  • llms
  • microsoft-for-beginners
  • openai
  • prompt-engineering
默认分支main
关注仓库1.0k
复刻次数62.8k
开放议题28
近期更新2026/9/4
仓库状态未标记归档
上游部署线索
## 🌱 Getting Started

This course has 21 lessons. Each lesson covers its own topic so start wherever you like!

Lessons are labeled either "Learn" lessons explaining a Generative AI concept or "Build" lessons that explain a concept and code examples in both **Python** and **TypeScript** when possible.

For .NET Developers checkout [Generative AI for Beginners (.NET Edition)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst)!

Each lesson also includes a "Keep Learning" section with additional learning tools.

该片段来自项目 README,仅用于初步判断;实际部署请以官方文档为准。

核对上游原始说明节选

21 Lessons, Get Started Building with Generative AI

Generative AI For Beginners

21 Lessons teaching everything you need to know to start building Generative AI applications

GitHub license GitHub contributors GitHub issues GitHub pull-requests PRs Welcome

GitHub watchers GitHub forks GitHub stars

Microsoft Foundry Discord

🌐 Multi-Language Support

Supported via GitHub Action (Automated & Always Up-to-Date)

Arabic | Bengali | Bulgarian | Burmese (Myanmar) | Chinese (Simplified) | Chinese (Traditional, Hong Kong) | Chinese (Traditional, Macau) | Chinese (Traditional, Taiwan) | Croatian | Czech | Danish | Dutch | Estonian | Finnish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Kannada | Khmer | Korean | Lithuanian | Malay | Malayalam | Marathi | Nepali | Nigerian Pidgin | Norwegian | Persian (Farsi) | Polish | Portuguese (Brazil) | Portuguese (Portugal) | Punjabi (Gurmukhi) | Romanian | Russian | Serbian (Cyrillic) | Slovak | Slovenian | Spanish | Swahili | Swedish | Tagalog (Filipino) | Tamil | Telugu | Thai | Turkish | Ukrainian | Urdu | Vietnamese

Prefer to Clone Locally?
This repository includes 50+ language translations which significantly increases the download size. To clone without translations, use sparse checkout:
Bash / macOS / Linux:
```bash
git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git
cd generative-ai-for-beginners
git sparse-checkout set --no-cone '/' '!translations' '!translatedimages'
```
CMD (Windows):
```cmd
git clone --filter=blob:none --sparse https://github.com/microsoft/generative-ai-for-beginners.git
cd generative-ai-for-beginners
git sparse-checkout set --no-cone "/" "!translations" "!translatedimages"
```
This gives you everything you need to complete the course with a much faster download.

Generative AI for Beginners (Version 3) - A Course

Learn the fundamentals of building Generative AI applications with our 21-lesson comprehensive course by Microsoft Cloud Advocates.

🌱 Getting Started

This course has 21 lessons. Each lesson covers its own topic so start wherever you like!

Lessons are labeled either "Learn" lessons explaining a Generative AI concept or "Build" lessons that explain a concept and code examples in both Python and TypeScript when possible.

For .NET Developers checkout Generative AI for Beginners (.NET Edition)!

Each lesson also includes a "Keep Learning" section with additional learning tools.

What You Need

To run the code of this course, you can use either:

  • Azure OpenAI Service - Lessons: "aoai-assignment"
  • Microsoft Foundry Models - Lessons: "githubmodels" (GitHub Models is retiring at the end of July 2026 - use Microsoft Foundry Models instead)
  • OpenAI API - Lessons: "oai-assignment"
  • Foundry Local - Run models fully offline on your own device, no cloud subscription required
  • Basic knowledge of Python or TypeScript is helpful - \For absolute beginners check out these Python and TypeScript courses
  • A GitHub account to fork this entire repo to your own GitHub account

We have created a Course Setup lesson to help you with setting up your development environment.

Don't forget to star (🌟) this repo to find it easier later.

🧠 Ready to Deploy?

If you are looking for more advanced code samples, check out our collection of Generative AI Code Samples in both Python and TypeScript.

🗣️ Meet Other Learners, Get Support

Join our official Microsoft Foundry Discord server to meet and network with other learners taking this course and get support.

Ask questions or share product feedback in our Microsoft Foundry Developer Forum on Github.

🚀 Building a Startup?

Visit Microsoft for Startups to find out how to get started building with Azure credits today.

🙏 Want to help?

Do you have suggestions or found spelling or code errors? Raise an issue or Create a pull request

📂 Each lesson includes:

  • A short video introduction to the topic
  • A written lesson located in the README
  • Python and TypeScript code samples supporting Azure OpenAI and OpenAI API
  • Links to extra resources to continue your learning

🗃️ Lessons

| # | Lesson Link | Description | Video | Extra Learning | | --- | -------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | | 00 | Course Setup | Learn: How to Setup Your Development Environment | Video Coming Soon | Learn More | | 01 | Introduction to Generative AI and LLMs | Learn: Understanding what Generative AI is and how Large Language Models (LLMs) work. | Video | Learn More | | 02 | Exploring and comparing different LLMs | Learn: How to select the right model for your use case | Video | [Learn More](https://aka.ms/gena

上游文档较长,此处为节选。完整内容见官方项目。