Skip to content

Commit

Permalink
Update 7.mdx
Browse files Browse the repository at this point in the history
add the miss close tag
  • Loading branch information
yaoqih committed Sep 10, 2024
1 parent cadd0ab commit 7806601
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chapters/zh-CN/chapter7/7.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

💡 像 BERT 这样的纯编码器模型往往很擅长提取诸如 “谁发明了 Transformer 架构?”之类的事实性问题的答案。但在给出诸如 “为什么天空是蓝色的?” 之类的开放式问题时表现不佳。在这些更具挑战性的情况下,通常使用编码器-解码器模型如 T5 和 BART 来以类似于 [文本摘要](https://chat.openai.com/course/chapter7/5) 的方式整合信息。如果你对这种 `生成式(generative)` 问答感兴趣,我们推荐你查看我们做的基于 [ELI5 数据集](https://huggingface.co/datasets/eli5)[演示demo](https://yjernite.github.io/lfqa.html)

</Tip>

## 准备数据 [[准备数据]]

作为抽取式问题回答的学术基准最常用的数据集是 [SQuAD](https://rajpurkar.github.io/SQuAD-explorer/) ,所以我们在这里将使用它。还有一个更难的 [SQuAD v2](https://huggingface.co/datasets/squad_v2) 基准,其中包含一些没有答案的问题。你也可以使用自己的数据集,只要你自己的数据集包含了 Context 列、问题列和答案列,应该也能够适用下面的步骤。
Expand Down

0 comments on commit 7806601

Please sign in to comment.