Skip to Content
仕組みからわかる大規模言語モデル 生成AI時代のソフトウェア開発入門
book

仕組みからわかる大規模言語モデル 生成AI時代のソフトウェア開発入門

by 奥田 勝己
February 2025
Intermediate
376 pages
9h 25m
Japanese
Shōeisha
Content preview from 仕組みからわかる大規模言語モデル 生成AI時代のソフトウェア開発入門
1

るとパラメータの数も増えます。大規模言語モデルでいうところの大規模という所以の一つ
は、このパラメータの数が多いということです。
なお、機械学習分野では、しばしばパラメータをまとめてベクトルや行列として表現しま
す。例えば、
w
=
[w
0
, w
1
,
g
,
w
n
]のようなベクトルや、さらに複数のベクトルをまとめて行
W
として表現します。大規模言語モデルでは、このような多数の重みを表す行列が複数組
み合わさったものがモデルのパラメータを表現します。また、重みを表す行列の数が多く、
個々の行列のサイズも大きいことが、大規模言語モデルの特徴の一つです。後述の1.3.6
は、パラメータとサイズの実例を紹介します。

入力
x
f x
]
g
出力
y
図1.1.1

1.1.2
言語
言語は、なんらかの文法に則った単語や文の集合です。自然言語(英語、日本語など)とプ
ログラミング言語(PythonC 言語など)は、言語の代表的な例です。
大規模言語モデルは、自然言語とプログラミング言語の両方を扱うことができます。これ
は、モデルの学習に使用されるデータに、自然言語のテキストとプログラミング言語のコード
の両方が含まれているためです。モデルは、これらのデータから言語の統計的な特徴を抽出
し、言語の文法や意味論を抽象的に学習します。この抽象化のおかげで、モデルは学習データ
に含まれていない新しい言語的特徴も生成できるようになります。大規模言語モデルが扱う言
語は、学習に用いた様々な言語の和集合と考えることができるでしょう。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Brick-and-Mortar Retailers Get Right

What Successful Brick-and-Mortar Retailers Get Right

Rob Angell
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9784798185613