> For the complete documentation index, see [llms.txt](https://www.fangyuanit.top/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.fangyuanit.top/readme.md).

# 欢迎来到 FangYuan RL：从零构建智能体 🧠

还记得第一次看到 AlphaGo 击败李世石时的震撼——原来机器不仅能“看”、能“说”，还能“决策”！\
从那时起，我便对**人工智能**产生了浓厚兴趣。每学到一个新算法，都让我感受到它的**有趣**；每一次模型成功运行，都让我惊叹它的**神奇**。

> **流水不争先，而在于滔滔不绝。**

本教程适合零基础入门，但它不是一个速成教程。我会带你：

* 从**数学基础**开始，理解 AI 的底层逻辑；
* 用 **Python + PyTorch** 动手实现每一个模型；
* 一步步构建**深度学习**与**强化学习**系统；
* 最终理解 **ChatGPT 背后的 RLHF 技术**。

## 教程目录

* [数学基础](https://github.com/xinyukk/FangYuanRL/blob/main/math/README.md)
* [Python 基础](https://github.com/xinyukk/FangYuanRL/blob/main/python/README.md)
* [PyTorch 基础](https://github.com/xinyukk/FangYuanRL/blob/main/pytorch/README.md)
* [深度学习基础](https://github.com/xinyukk/FangYuanRL/blob/main/dl/README.md)
* [强化学习](https://github.com/xinyukk/FangYuanRL/blob/main/rl/README.md)

让我们一起慢下来，深入思考，享受学习的乐趣。\
**有趣，是最重要的。**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.fangyuanit.top/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
