Skip to content

errata2

Sosuke Nishikawa edited this page Sep 2, 2024 · 7 revisions

「大規模言語モデル入門Ⅱ〜生成型LLMの実装と評価」正誤表

下記の誤りについて、お詫びして訂正いたします。

誤植を見つけられた方は、Issuesに新しいissueを作っていただくか、書籍の問い合わせフォームからお知らせください。

該当箇所 対応 媒体
10.2.4節のwrite_jsonl関数 write_jsonl(path: str, items: list[dict]) write_jsonl(path: str, items: list[dict]) -> None 全て
12.3.2節 In[8]セル 「--eval_setup "vicuna-ja" \」 「--eval_setup "vicuna-ja" \ --eval_setup.gen_kwargs '{do_sample: True, temperature: 0.7, top_p: 0.9, max_new_tokens: 1024}' \」 全て
12.3.3節 In[11]セル 「!wget https://github.com/ghmagazine/llm-book/raw/main/chapter12/safety_judege_config.json」 「!wget https://github.com/ghmagazine/llm-book/raw/main/chapter12/safety_judge_config.json」 全て
12.3.3節 In[12] セル 「--metrics "safety_judege_config.json" \」 「--metrics "safety_judge_config.json" \」 全て
12.3.3節 In[13] セル 「!cat ./drive/MyDrive/llm_book/PT_eval/ do-not-answer-120-ja/ judge/metrics.json」 「!cat ./drive/MyDrive/llm_book/PT_eval/do-not-answer-120-ja/judge/metrics.json」 全て
13.1.1節 In[3] セルの import 部分 pipelines pipeline 全て
Clone this wiki locally