add seventh chapter

This commit is contained in:
skindhu
2024-11-18 16:08:18 +08:00
parent 9f77e585b5
commit f4bb09668e
27 changed files with 1426 additions and 28 deletions

View File

@@ -18,7 +18,7 @@
- [6.6 计算分类损失和准确率](#66-计算分类损失和准确率)
- [6.7 使用监督数据对模型进行微调](#67-使用监督数据对模型进行微调)
- [6.8 将 LLM 用于垃圾短信分类](#68-将-llm-用于垃圾短信分类)
- [6.9 总结](#69-总结)
- [6.9 本章摘要](#69-本章摘要)
-----
@@ -1133,7 +1133,7 @@ model.load_state_dict(model_state_dict)
## 6.9 总结
## 6.9 本章摘要
+ 微调 LLM 有不同的策略,包括分类微调(本章)和指令微调(下一章)。
+ 分类微调是指将 LLM 的输出层替换为一个小型的分类层。