Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Chainerによる深層学習(2)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
youichiro
February 28, 2017
Technology
480
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Chainerによる深層学習(2)
長岡技術科学大学
自然言語処理研究室
B3ゼミ発表会(第6回)
youichiro
February 28, 2017
More Decks by youichiro
See All by youichiro
日本語文法誤り訂正における誤り傾向を考慮した擬似誤り生成
youichiro
0
1.7k
分類モデルを用いた日本語学習者の格助詞誤り訂正
youichiro
0
160
Multi-Agent Dual Learning
youichiro
1
210
Automated Essay Scoring with Discourse-Aware Neural Models
youichiro
0
170
Context is Key- Grammatical Error Detection with Contextual Word Representations
youichiro
1
180
勉強勉強会
youichiro
0
120
Confusionset-guided Pointer Networks for Chinese Spelling Check
youichiro
0
230
A Neural Grammatical Error Correction System Built On Better Pre-training and Sequential Transfer Learning
youichiro
0
220
An Empirical Study of Incorporating Pseudo Data into Grammatical Error Correction
youichiro
0
250
Other Decks in Technology
See All in Technology
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
180
慶應義塾大学 AI実践05 論文執筆の仕組み化
keio_smilab
PRO
7
3.7k
現場を動かすAIエージェント#2_製造業現場でのAI活用から見た、ハマる罠と実践知
kintotechdev
2
180
セキュリティ専任チームなしで攻撃を先回りするSREが実践したSIEM on Amazon OpenSearch Service
cscengineer
PRO
0
410
試験勉強はGrokBotでやれ
maigo999
0
110
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
300
Oracle Database Security 詳細解説
oracle4engineer
PRO
2
270
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
180
Lint の層を組み直した話
bengo4com
3
310
Microsoft Entra Kerberos で実現するクラウド デバイス管理
tamaiyutaro
2
590
Kiro Crew の Bot (続く役目を任せる窓口) | 目指せ Kiro マスター 12
inariku
PRO
1
270
Autonomous AI Lakehouse - Live AI Hubから始めるセキュアなAIデータ活用 -
oracle4engineer
PRO
3
190
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
Are puppies a ranking factor?
jonoalderson
2
4.1k
Faster Mobile Websites
deanohume
310
32k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
510
Automating Front-end Workflow
addyosmani
1370
210k
WCS-LA-2024
lcolladotor
0
980
Being A Developer After 40
akosma
PRO
92
590k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Transcript
Chainerによる深層学習 (2) 平成29年3月1日 長岡技術科学大学 自然言語処理研究室 小川耀一朗
Chainerの使い方 1 /20
計算グラフ !(#) !(%) &% &# &' (% (# ()
*(%) *(#) 2 = $ $ & & + & + $ /20
計算グラフ 3 = , , = − − + −
+ !" !# !$ ℎ# ℎ$ &" &# ℎ" ' /20
計算グラフ 4 = , , = − − + −
+ ℎ& & , $ = & $ + $ $ + 1という関数を考えれば = − − , − ℎ$ & , $ = & − 2$ − 1, ℎ7 & , $ = & $ − 1という 関数を考えれば = ( , , , ) /20
計算グラフ 5 = & , $ , 7 = ℎ&
ℎ$ & , $ , ℎ7 $ , 7 関数がℎ& , ℎ$ , ℎ7 の合成関数になっている !" !# !$ ℎ# ℎ$ &" &# ℎ" ' /20
計算グラフと逆伝搬 6 !" !# !$ ℎ# ℎ$ &" &# ℎ"
' () (*+ () (*, (*+ (-+ (*, (-. (*+ (-, (*, (-, /20
計算グラフと逆伝搬 7 !" !# !$ ℎ# ℎ$ &" &# ℎ"
' () (*+ () (*, (*+ (-+ (*, (-. (*+ (-, (*, (-, = /20
計算グラフと逆伝搬 8 !" !# !$ ℎ# ℎ$ &" &# ℎ"
' () (*+ () (*, (*+ (-+ (*, (-. (*+ (-, (*, (-, = + /20
モジュールのインポート 9 /20
Variable 10 計算グラフの変数ノードに対応するオブジェクトを生成 変数の中身を確認 /20
Variable 11 /20
Variable 12 = 1 − 22 − 1 2 +
2 3 − 1 2 + 1を 各パラメータで偏微分し、 1 , 2 , 3 = (1, 2, 3)を代入 1 = 2 1 − 22 − 1 = −8 2 = −4 1 − 22 − 1 + 23 2 3 − 1 = 46 3 = 22 2 3 − 1 = 20 /20
functions 13 Variableを変数とする関数を提供 /20
links 14 Variableを変数とする関数を提供 links内の関数にはパラメータがある 第層が3個のノード、第 + 1層が4個のノードからなるNNの場合 /20
links 15 2つの3次元ベクトルを関数ℎに与える /20
Chainクラス 16 = $ + & + $ links内の関数Linearや function内の関数sigmoidを
合成して、モデルを定義 !(#) !(%) &% &# &' (% (# (' )(%) )(#) &* /20
Chainクラス 17 /20
optimizers 18 損失関数をパラメータで微分した値から、各パラメータを更新 →かなり面倒 →パラメータを更新する処理をモジュール化 「1つの訓練データ(, )を与えると、パラメータが1回更新される」 /20
プログラムの全体図 19 /20
発表内容 l Chainerの使い方 参考文献: 「Chainerによる実装深層学習」(第3章) 新納浩幸 著 オーム社 20 /20