# Hugging Face Course

> Index
> This file is the Markdown twin of ONE page on this site.
> Fetch the complete index at: https://www.aiworkswell.com/llms.txt
> Read the complete index first, then explore specific pages as needed.

> Hugging Face Course 是一个从零学 transformers 的官方课程，配套可运行代码。

Source: https://www.aiworkswell.com/apps/l-huggingface-course

> ★ **Not translated yet.** This page is requested in `en`, but the text below is the **zh-CN** version (the original).
> 本页尚未翻译成 en，下面显示的是 **zh-CN** 原文（本文尚未翻译，当前显示原文（zh-CN））。

## 它是什么
Hugging Face Course 是 Hugging Face 官方的学习课程，覆盖 transformers、数据集与分词器、模型微调与部署，每章配可运行代码。Hugging Face Course 是一套跟着做一遍的练习，不是软件。来源：https://huggingface.co/learn

## 怎么用起来
按章节做练习。卡住时把报错连同课程上下文一起贴给 AI 助手，让 AI 结合课程解释。来源：https://huggingface.co/learn

## 来源与署名

Mentioned from：https://huggingface.co/learn · 原作者 Hugging Face（见官方条款）。

## Identity

- canonical name: Hugging Face Course
- one entity per product; regional name variants refer to the same product

## Facts

- License: 见官方条款
- Platforms: web
- Category: Tutorials
- Effort: L1 (Opens instantly)
- Official source: https://huggingface.co/learn
- Last reviewed: 2026-10-06
- Author: Hugging Face
- Author contact: (none recorded — feedback cannot reach the author yet)

## Install prompt (copy-paste into any AI assistant)

```text
我需要你帮我在我的机器上安装并运行一个软件。

【软件信息】
名称：Hugging Face Course
用途：Hugging Face Course 是一个从零学 transformers 的官方课程，配套可运行代码。
官方来源：https://huggingface.co/learn
许可：见官方条款
支持平台：web

【执行方式】（请先判断你属于哪一种）
· 如果你能直接在我的机器上执行命令：请直接执行，并每完成一个阶段简要报告进度。
· 如果你只能提供指令：请给出我可以逐步复制执行的完整命令，每一步说明预期结果。

【请这样做】
1. 先检测我的环境（操作系统、芯片架构、已有的工具链），再决定怎么做。
2. 每一步先说明你要做什么；涉及删除文件、修改系统配置、安装全局依赖时，先征求我同意。
3. 每一步给出具体命令，不要只说"安装依赖"这种抽象描述。
4. 遇到报错：先分析原因再修复，最多重试 3 次；仍不成功就把报错原文给我。
5. 装完后用一个最小步骤验证它真的能运行，并把验证结果展示给我。
6. 最后告诉我：装在了哪个位置、以后怎么启动、以后怎么更新到新版本、怎么干净卸载。

【安装方式】优先使用在线版
如果官方提供在线版，直接使用即可，不需要本地安装。
若要本地运行：在本地起服务并告诉我访问地址。不要做公网部署或端口转发——我只是想在本机用。

【安全边界】（不可协商）
· 只从上面给出的官方来源获取，不得替换为任何其他下载站或镜像。
· 不要执行任何删除、移动、覆盖我已有文件的操作。
· 修改环境变量、shell 配置、系统设置之前先问我。
· 不要上传我的任何数据到外部服务。

【由你决定】
安装位置、包管理器选择、依赖版本、目录结构 —— 这些由你根据我的环境判断，完成后告诉我你的选择和理由即可。
```

## Known pitfalls

- (none recorded)

## Summary (self-contained)

Hugging Face 官方出的课程平台，内容覆盖 transformers、数据集与分词器、模型微调与部署，每章配可运行代码。它不是软件，而是跟着做一遍的练习；卡住时可把报错连同课程上下文一起丢给 AI 助手。

## FAQ

**要会 PyTorch 吗？**
课程会带你上手，但有一点 Python 与深度学习基础会顺很多。

**学完能做什么？**
能加载预训练模型、做简单微调，并把模型推到 Hugging Face Hub。

---

AIWorksWell — Others tell you what exists. We hand you a prompt.
Non-commercial, no ads, no tracking. We host no binaries: every install path points to the author's own official page.
Quoting and indexing are welcome. Please keep the attribution to the original author.
