Hugging Face推特 04月26日 18:22
Hugging Face: 🔁 Andrew Ng: New short course: Building Code Agents with Hugging Face smolagents! Learn how to build code agents in this course, crea...
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

该课程由Hugging Face与Andrew Ng合作推出,教你使用smolagents构建代码代理。课程介绍了工具调用代理和代码代理的不同,以及如何安全运行代码代理、开发评估系统等内容。学完本课程,你将能在项目中构建和运行代码代理并安全部署。

🦘工具调用代理按顺序生成多个函数调用,代码代理将这些调用整合为一个代码块。

📖学习使用smolagents构建代码代理,包括如何安全运行及开发评估系统。

💻了解代码代理何时优于函数调用代理,以及如何优化其行为。

🔍学会构建能在线查找信息并整理成报告的多代理系统。

Hugging Face 🔁
Andrew Ng: New short course: Building Code Agents with Hugging Face smolagents!

Learn how to build code agents in this course, created in collaboration with @huggingface, and taught by @Thom_Wolf, its co-founder and CSO, and @AymericRoucher, Hugging Face’s Project Lead on Agents.

Tool-calling agents use LLMs to generate multiple function calls sequentially to complete a complex sequence of tasks. They generate one function call, execute it, observe, reason, and decide what to do next. Code agents take a different approach. They consolidate all these calls into a single block of code, letting the LLM lay out an entire action plan at once, which can be executed efficiently to provide more reliable results.

You’ll learn how to code agents using smolagents, a lightweight agentic framework from Hugging Face. Along the way, you’ll learn how to run LLM-generated code safely and develop an evaluation system to optimize your code agent for production.

In detail, you’ll learn:
- How agentic systems have evolved, gaining greater levels of agency over time—and why code agents are a next step.
- How code agents write their actions in code.
- When code agents outperform function-calling agents.
- How to run code agents safely in your system using a constrained Python interpreter and sandboxing using E2B.
- To trace, debug, and assess the code agent to optimize its behaviours for complex requests.
- How to build a research multi-agent system that can find information online and organize it into an interactive report.

By the end of this course, you’ll know how to build and run code agents using smolagents, and deploy them safely with a structured evaluation system in your projects.

Please sign up here! https://www.deeplearning.ai/short-courses/building-code-agents-with-hugging-face-smolagents


Thu Apr 24 2025 01:54:13 GMT+0800 (China Standard Time)

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Hugging Face 代码代理 smolagents 评估系统
相关文章