# Training Agents 4: From reward functions to environments.

> 全文为英语

**Published:** 2026年9月11日
**Author:** Hugging Face
**Source:** YouTube — Hugging Face
**Language:** en-US
**HTML:** https://aiqazaqstan.com/zh/articles/training-agents-4-from-reward-functions-to-environments

Training Agents, Session 4: from reward functions to environments. In this live session, the reward stops being a function and becomes a place the agent acts in. In Session 3 the model answered once and a Python function scored it. Today the model runs a loop: open a file, run a…

> 内容来自原始来源： **YouTube — Hugging Face**
> [在 YouTube — Hugging Face 阅读全文](https://www.youtube.com/watch?v=nJV3yUuz6DU)

**标签：** #Hugging Face #YouTube

---

*AI Qazaqstan — non-commercial informational portal about AI in Kazakhstan. Machine translations and summaries are AI-generated.*