Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mtbookv2
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
NiuTrans
mtbookv2
Commits
dbc4633e
Commit
dbc4633e
authored
4 years ago
by
xiaotong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wording (sec 13)
parent
683c09da
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
70 行增加
和
61 行删除
+70
-61
Chapter13/Figures/figure-a-predefined-course-planning.tex
+6
-6
Chapter13/Figures/figure-computation-of-dropout.tex
+8
-8
Chapter13/Figures/figure-curriculum-learning-framework.tex
+1
-1
Chapter13/Figures/figure-ensemble-knowledge-distillation.tex
+21
-20
Chapter13/Figures/figure-exposure-bias.tex
+6
-6
Chapter13/Figures/figure-framework-of-Adversarial-Neural-machine-translation.tex
+2
-2
Chapter13/Figures/figure-label-smoothing.tex
+6
-6
Chapter13/Figures/figure-network-with-dropout.tex
+1
-1
Chapter13/Figures/figure-of-scheduling-sampling-method.tex
+7
-7
Chapter13/Figures/figure-reinforcement-learning-method-based-on-actor-critic.tex
+2
-2
Chapter13/Figures/figure-underfitting-vs-overfitting.tex
+9
-1
Chapter13/Figures/figure-unk-of-bpe.tex
+1
-1
没有找到文件。
Chapter13/Figures/figure-a-predefined-course-planning.tex
查看文件 @
dbc4633e
\begin{tikzpicture}
\tikzstyle
{
node1
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=
ugreen!10!
blue!10]
\tikzstyle
{
node2
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=
ugreen!20!blue!20
]
\tikzstyle
{
node3
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=
ugreen!30!blue!3
0]
\tikzstyle
{
node4
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=
ugreen!40!blue!40
]
\tikzstyle
{
node5
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=
ugreen!50!blue!5
0]
\tikzstyle
{
node1
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=blue!10]
\tikzstyle
{
node2
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=
blue!25
]
\tikzstyle
{
node3
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=
blue!4
0]
\tikzstyle
{
node4
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=
blue!55
]
\tikzstyle
{
node5
}
=[inner sep=0mm,minimum height=1.5em,minimum width=3em,fill=
blue!7
0]
\begin{scope}
\foreach
\i
/
\j
/
\z
in
...
...
@@ -27,7 +27,7 @@
\node
[anchor=north west]
(y1) at ([xshift=14.5em,yshift=-1.3em]n00.south west)
{
训练时长
}
;
\node
[anchor=west,font=\small]
(t1) at ([xshift=0.5em,yshift=0em]n52.east)
{$
\cdots
$}
;
\node
[anchor=west,node1,minimum width=0.5em]
(c1) at ([xshift=
3em,yshift=-2.5em]t1
.east)
{}
;
\node
[anchor=west,node1,minimum width=0.5em]
(c1) at ([xshift=
5em,yshift=0em]n50
.east)
{}
;
\node
[anchor=south,node2,minimum width=0.5em]
(c2) at ([xshift=0em,yshift=0em]c1.north)
{}
;
\node
[anchor=south,node3,minimum width=0.5em]
(c3) at ([xshift=0em,yshift=0em]c2.north)
{}
;
\node
[anchor=south,node4,minimum width=0.5em]
(c4) at ([xshift=0em,yshift=0em]c3.north)
{}
;
...
...
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-computation-of-dropout.tex
查看文件 @
dbc4633e
...
...
@@ -18,10 +18,10 @@
\node
[] (standard) at ([xshift=-1em]neuron
_
z.west)
{
\scriptsize
{$
\mathbf
{
w
}_{
i
}^{
l
}$}}
;
\node
[] (standard) at ([xshift=0.6em,yshift=0.3em]neuron
_
z.east)
{
\scriptsize
{$
f
$}}
;
\draw
[->,line width=0.3mm] (neuron
_
b.east) -- (neuron
_
z.
west
);
\draw
[->,line width=0.3mm] (neuron
_
y3.east) -- (neuron
_
z.
west
);
\draw
[->,line width=0.3mm] (neuron
_
y2.east) -- (neuron
_
z.
west
);
\draw
[->,line width=0.3mm] (neuron
_
y1.east) -- (neuron
_
z.
west
);
\draw
[->,line width=0.3mm] (neuron
_
b.east) -- (neuron
_
z.
130
);
\draw
[->,line width=0.3mm] (neuron
_
y3.east) -- (neuron
_
z.
170
);
\draw
[->,line width=0.3mm] (neuron
_
y2.east) -- (neuron
_
z.
190
);
\draw
[->,line width=0.3mm] (neuron
_
y1.east) -- (neuron
_
z.
230
);
\draw
[->,line width=0.3mm] (neuron
_
z.east) -- (neuron
_
y'.west);
%dropout
...
...
@@ -44,10 +44,10 @@
\node
[] (standard) at ([xshift=-1em]drop
_
neuron
_
z.west)
{
\scriptsize
{$
\mathbf
{
w
}_{
i
}^{
l
}$}}
;
\node
[] (standard) at ([xshift=0.6em,yshift=0.3em]drop
_
neuron
_
z.east)
{
\scriptsize
{$
f
$}}
;
%structure
\draw
[->,line width=0.3mm] (drop
_
neuron
_
b.east) -- (drop
_
neuron
_
z.
west
);
\draw
[->,line width=0.3mm] (drop
_
neuron
_
y3'.east) -- (drop
_
neuron
_
z.
west
);
\draw
[->,line width=0.3mm] (drop
_
neuron
_
y2'.east) -- (drop
_
neuron
_
z.
west
);
\draw
[->,line width=0.3mm] (drop
_
neuron
_
y1'.east) -- (drop
_
neuron
_
z.
west
);
\draw
[->,line width=0.3mm] (drop
_
neuron
_
b.east) -- (drop
_
neuron
_
z.
130
);
\draw
[->,line width=0.3mm] (drop
_
neuron
_
y3'.east) -- (drop
_
neuron
_
z.
170
);
\draw
[->,line width=0.3mm] (drop
_
neuron
_
y2'.east) -- (drop
_
neuron
_
z.
190
);
\draw
[->,line width=0.3mm] (drop
_
neuron
_
y1'.east) -- (drop
_
neuron
_
z.
230
);
\draw
[->,line width=0.3mm] (drop
_
neuron
_
z.east) -- (drop
_
neuron
_
y'.west);
%r
\draw
[->,line width=0.3mm] (drop
_
neuron
_
y3.east) -- (drop
_
neuron
_
y3'.west);
...
...
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-curriculum-learning-framework.tex
查看文件 @
dbc4633e
\begin{tikzpicture}
\tikzstyle
{
node
}
=[inner sep=0mm,minimum height=3em,minimum width=6em,rounded corners=5pt]
\tikzstyle
{
node
}
=[inner sep=0mm,
draw,thick,
minimum height=3em,minimum width=6em,rounded corners=5pt]
\node
[anchor=west,node,fill=ugreen!15]
(n1) at (0,0)
{
训练集
}
;
...
...
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-ensemble-knowledge-distillation.tex
查看文件 @
dbc4633e
...
...
@@ -6,30 +6,30 @@
\setlength
{
\YShift
}{
0.8
\base
}
\setlength
{
\XShift
}{
0.8
\base
}
\tikzstyle
{
modelnode
}
= [rectangle,draw,
rounded corners=2pt,inner sep=0
pt,minimum height=4.5em,minimum width=2em,font=
\small
,anchor=north]
\tikzstyle
{
modelnode
}
= [rectangle,draw,
thick,rounded corners=2pt,inner sep=2
pt,minimum height=4.5em,minimum width=2em,font=
\small
,anchor=north]
\coordinate
(stu01) at (0,0);
\coordinate
(stu02) at ([xshift=
3
em]stu01);
\coordinate
(stu03) at ([xshift=
3
em]stu02);
\coordinate
(stu04) at ([xshift=
3
em]stu03);
\coordinate
(stu05) at ([xshift=
3
em]stu04);
\coordinate
(tea01) at ([xshift=
8
em]stu05);
\coordinate
(tea02) at ([xshift=
3
em]tea01);
\coordinate
(stu02) at ([xshift=
4
em]stu01);
\coordinate
(stu03) at ([xshift=
4
em]stu02);
\coordinate
(stu04) at ([xshift=
4
em]stu03);
\coordinate
(stu05) at ([xshift=
4
em]stu04);
\coordinate
(tea01) at ([xshift=
10
em]stu05);
\coordinate
(tea02) at ([xshift=
4
em]tea01);
% iterations
\foreach
\curr
/
\prev
in
{
1/0,2/1,3/2
}
{
% models
\node
[modelnode,fill=yellow!20]
(stu
\curr
1) at ([yshift=-
2
em]stu
\prev
1.south)
{
\rotatebox
{
90
}{
学生模型
$
1
$}}
;
\node
[modelnode,fill=yellow!20]
(stu
\curr
2) at ([yshift=-
2
em]stu
\prev
2.south)
{
\rotatebox
{
90
}{
学生模型
$
2
$}}
;
\node
[modelnode,fill=yellow!20]
(stu
\curr
3) at ([yshift=-
2
em]stu
\prev
3.south)
{
\rotatebox
{
90
}{
学生模型
$
3
$}}
;
\node
[modelnode,fill=yellow!20]
(stu
\curr
4) at ([yshift=-
2
em]stu
\prev
4.south)
{
\rotatebox
{
90
}{
学生模型
$
4
$}}
;
\node
[modelnode,fill=yellow!20]
(stu
\curr
5) at ([yshift=-
2
em]stu
\prev
5.south)
{
\rotatebox
{
90
}{
学生模型
$
5
$}}
;
\node
[modelnode]
(tea
\curr
1) at ([yshift=-
2
em]tea
\prev
1.south)
{
\rotatebox
{
90
}{
\color
{
red!60
}
教师模型
$
1
$}}
;
\node
[modelnode]
(tea
\curr
2) at ([yshift=-
2
em]tea
\prev
2.south)
{
\rotatebox
{
90
}{
\color
{
blue!60
}
教师模型
$
2
$}}
;
\node
[modelnode,fill=yellow!20]
(stu
\curr
1) at ([yshift=-
3
em]stu
\prev
1.south)
{
\rotatebox
{
90
}{
学生模型
$
1
$}}
;
\node
[modelnode,fill=yellow!20]
(stu
\curr
2) at ([yshift=-
3
em]stu
\prev
2.south)
{
\rotatebox
{
90
}{
学生模型
$
2
$}}
;
\node
[modelnode,fill=yellow!20]
(stu
\curr
3) at ([yshift=-
3
em]stu
\prev
3.south)
{
\rotatebox
{
90
}{
学生模型
$
3
$}}
;
\node
[modelnode,fill=yellow!20]
(stu
\curr
4) at ([yshift=-
3
em]stu
\prev
4.south)
{
\rotatebox
{
90
}{
学生模型
$
4
$}}
;
\node
[modelnode,fill=yellow!20]
(stu
\curr
5) at ([yshift=-
3
em]stu
\prev
5.south)
{
\rotatebox
{
90
}{
学生模型
$
5
$}}
;
\node
[modelnode]
(tea
\curr
1) at ([yshift=-
3
em]tea
\prev
1.south)
{
\rotatebox
{
90
}{
\color
{
red!60
}
教师模型
$
1
$}}
;
\node
[modelnode]
(tea
\curr
2) at ([yshift=-
3
em]tea
\prev
2.south)
{
\rotatebox
{
90
}{
\color
{
blue!60
}
教师模型
$
2
$}}
;
% 集成 labels
\draw
[-
latex'
]
([xshift=2pt]stu
\curr
5.east) to node [auto]
{
\small
集成
}
([xshift=-2pt]tea
\curr
1.west);
\draw
[-
>,very thick
]
([xshift=2pt]stu
\curr
5.east) to node [auto]
{
\small
集成
}
([xshift=-2pt]tea
\curr
1.west);
}
% iteration labels
...
...
@@ -37,8 +37,8 @@
\node
[font=\small,anchor=east,purple!80]
(iterate2) at ([xshift=-1em]stu31.west)
{
\rotatebox
{
90
}{
轮数
$
2
$}}
;
% distillation labels
\node
[font=\small,anchor=south west]
(distill1) at ([yshift=
0.8
em]iterate1.north west)
{
知识蒸馏
}
;
\node
[font=\small,anchor=south west]
(distill2) at ([yshift=
0.8
em]iterate2.north west)
{
知识蒸馏
}
;
\node
[font=\small,anchor=south west]
(distill1) at ([yshift=
1.2
em]iterate1.north west)
{
知识蒸馏
}
;
\node
[font=\small,anchor=south west]
(distill2) at ([yshift=
1.2
em]iterate2.north west)
{
知识蒸馏
}
;
% 学生模型 groups
\begin{pgfonlayer}
{
background
}
...
...
@@ -50,10 +50,10 @@
\end{pgfonlayer}
% distillation
\draw
[-latex',red!60,very thick]
(tea11.south) .. controls +(south:1.5em) and +(north:
2
em) .. (group21.north);
\draw
[-latex',blue!60,very thick]
(tea12.south) .. controls +(south:2em) and +(north:
1.5
em) .. (group22.north);
\draw
[-latex',red!60,very thick]
(tea11.south) .. controls +(south:1.5em) and +(north:
3
em) .. (group21.north);
\draw
[-latex',blue!60,very thick]
(tea12.south) .. controls +(south:2em) and +(north:
2
em) .. (group22.north);
\draw
[-latex',red!60,very thick]
(tea21.south) .. controls +(south:2em) and +(north:2.5em) .. (group32.north);
\draw
[-latex',blue!60,very thick]
(tea22.south) .. controls +(south:2em) and +(north:
1.5
em) .. (group31.north);
\draw
[-latex',blue!60,very thick]
(tea22.south) .. controls +(south:2em) and +(north:
3
em) .. (group31.north);
\end{tikzpicture}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-exposure-bias.tex
查看文件 @
dbc4633e
...
...
@@ -8,8 +8,8 @@
\begin{scope}
[]
\tikzstyle
{
rnnnode
}
= [draw,inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt,fill=red!15]
\tikzstyle
{
snode
}
= [draw,inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt,fill=blue!15]
\tikzstyle
{
rnnnode
}
= [draw,
thick,
inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt,fill=red!15]
\tikzstyle
{
snode
}
= [draw,
thick,
inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt,fill=blue!15]
\tikzstyle
{
ynode
}
= [inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt]
...
...
@@ -122,8 +122,8 @@
\begin{scope}
[yshift=-2in]
\tikzstyle
{
rnnnode
}
= [draw,inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt,fill=red!15]
\tikzstyle
{
snode
}
= [draw,inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt,fill=blue!15]
\tikzstyle
{
rnnnode
}
= [draw,
thick,
inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt,fill=red!15]
\tikzstyle
{
snode
}
= [draw,
thick,
inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt,fill=blue!15]
\tikzstyle
{
ynode
}
= [inner sep=2pt,minimum width=3em,minimum height=1.5em,rounded corners=1pt]
...
...
@@ -166,8 +166,8 @@
\draw
[->,thick,dotted] ([xshift=-2.5em,yshift=1em]n11.north) .. controls +(south:2em) and +(west:0.1em) .. ([xshift=0.2em,yshift=0em]n11.west);
\draw
[->,thick,dotted] ([xshift=0em,yshift=0em]n14.east) .. controls +(east:0.3em) and +(north:
2
em) .. ([xshift=2.5em,yshift=-0.5em]n14.south);
\draw
[->,thick,dotted] ([xshift=0em,yshift=0em]n6.east) .. controls
([xshift=2em,yshift=1em]n6.east) and ([xshift=-2em,yshift=-2em]n4.south west
) .. ([xshift=0.2em,yshift=-0em]n12.west);
\draw
[->,thick,dotted] ([xshift=0em,yshift=0em]n14.east) .. controls +(east:0.3em) and +(north:
1.5
em) .. ([xshift=2.5em,yshift=-0.5em]n14.south);
\draw
[->,thick,dotted] ([xshift=0em,yshift=0em]n6.east) .. controls
+(east:2em) and +(west:2em
) .. ([xshift=0.2em,yshift=-0em]n12.west);
\draw
[->,thick] ([xshift=-0em,yshift=0em]n11.north)--([xshift=-0em,yshift=0em]n3.south);
\draw
[->,thick] ([xshift=0em,yshift=0em]n12.north)--([xshift=-0em,yshift=-0em]n4.south);
...
...
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-framework-of-Adversarial-Neural-machine-translation.tex
查看文件 @
dbc4633e
...
...
@@ -9,9 +9,9 @@
\node
[anchor=west,wode] (n1) at (0,0)
{$
y
$}
;
\node
[anchor=north west,wode] (n2) at ([xshift=3em,yshift=-2.5em]n1.south east)
{$
x
$}
;
\node
[anchor=south west,rnnnode] (n3) at ([xshift=8em,yshift=0.5em]n2.north east)
{
生成模型
$
G
$}
;
\node
[anchor=south west,rnnnode
,thick
] (n3) at ([xshift=8em,yshift=0.5em]n2.north east)
{
生成模型
$
G
$}
;
\node
[anchor=south east,wode] (n4) at ([xshift=-2em,yshift=0em]n3.north west)
{$
\hat
{
y
}$}
;
\node
[anchor=south,snode] (n5) at ([xshift=0em,yshift=6em]n2.north)
{
判别网络
$
D
$}
;
\node
[anchor=south,snode
,thick
] (n5) at ([xshift=0em,yshift=6em]n2.north)
{
判别网络
$
D
$}
;
\node
[anchor=west,align=left,font=
\small
] (n6) at ([xshift=15em,yshift=-3em]n5.east)
{
根据
$
(
\seq
{
x
}
,
\seq
{
\hat
{
y
}}
)
$
生
\\
成奖励信号
}
;
...
...
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-label-smoothing.tex
查看文件 @
dbc4633e
...
...
@@ -55,18 +55,18 @@
\node
[anchor=south,font=
\scriptsize
] (w8) at (label7.north)
{$
0
.
1
$}
;
\node
[font=\scriptsize]
(line1) at ([xshift=
9
em,yshift=-1.5em]model
_
label7.east)
{$
Loss
=-
0
.
3
\log
p
_{
3
}
-
\sum
_{
i
=
1
}^{
7
}
0
.
1
\log
p
_{
i
}$}
;
\node
[font=\scriptsize]
(line2) at ([xshift=
5.9
em,yshift=3em]model
_
label7.east)
{$
Loss
=-
\log
p
_{
3
}$}
;
\node
[font=\scriptsize]
(line1) at ([xshift=
13
em,yshift=-1.5em]model
_
label7.east)
{$
Loss
=-
0
.
3
\log
p
_{
3
}
-
\sum
_{
i
=
1
}^{
7
}
0
.
1
\log
p
_{
i
}$}
;
\node
[font=\scriptsize]
(line2) at ([xshift=
9.5
em,yshift=3em]model
_
label7.east)
{$
Loss
=-
\log
p
_{
3
}$}
;
\begin{pgfonlayer}
{
background
}
\node
[rectangle,inner sep=0.5em,rounded corners=1pt,very thick,dotted,draw=red] [fit =(model
_
w3) (model
_
label1) (model
_
label7) (one
_
hot
_
w3)] (box1)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,fill=purple!10,drop shadow,draw=purple] [fit = (line2)] (box3)
{}
;
\draw
[->,dotted,very thick,red] ([yshift=
1em]box1.east) .. controls +(east:1) and +(west:1
) .. (box3.west);
\node
[rectangle,
thick,
inner sep=0.2em,rounded corners=1pt,fill=purple!10,drop shadow,draw=purple] [fit = (line2)] (box3)
{}
;
\draw
[->,dotted,very thick,red] ([yshift=
2em]box1.east) .. controls +(east:1.7) and +(west:1.5
) .. (box3.west);
\node
[rectangle,inner sep=0.7em,rounded corners=1pt,very thick,dotted,draw=ugreen] [fit =(w3) (label1) (label7) (model
_
w3)] (box2)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,fill=green!10,drop shadow,draw=ugreen] [fit = (line1)] (box4)
{}
;
\draw
[->,dotted,very thick,ugreen] ([yshift=-
1.5em]box2.east) .. controls +(east:1) and +(west:1
) .. (box4.west);
\node
[rectangle,
thick,
inner sep=0.2em,rounded corners=1pt,fill=green!10,drop shadow,draw=ugreen] [fit = (line1)] (box4)
{}
;
\draw
[->,dotted,very thick,ugreen] ([yshift=-
2.5em]box2.east) .. controls +(east:1.7) and +(west:1.5
) .. (box4.west);
\end{pgfonlayer}
...
...
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-network-with-dropout.tex
查看文件 @
dbc4633e
...
...
@@ -2,7 +2,7 @@
\begin{tikzpicture}
\def\neuronsep
{
1
}
\tikzstyle
{
neuronnode
}
= [minimum size=1
.0
em,circle,draw,thick,ublue,inner sep=1pt, fill=white,align=center]
\tikzstyle
{
neuronnode
}
= [minimum size=1em,circle,draw,thick,ublue,inner sep=1pt, fill=white,align=center]
%standard
...
...
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-of-scheduling-sampling-method.tex
查看文件 @
dbc4633e
...
...
@@ -4,8 +4,8 @@
\begin{tikzpicture}
\tikzstyle
{
rnnnode
}
= [draw,inner sep=2pt,minimum width=4em,minimum height=2em,rounded corners=1pt,fill=red!15]
\tikzstyle
{
snode
}
= [draw,inner sep=2pt,minimum width=4em,minimum height=2em,rounded corners=1pt,fill=blue!15]
\tikzstyle
{
rnnnode
}
= [draw,
thick,
inner sep=2pt,minimum width=4em,minimum height=2em,rounded corners=1pt,fill=red!15]
\tikzstyle
{
snode
}
= [draw,
thick,
inner sep=2pt,minimum width=4em,minimum height=2em,rounded corners=1pt,fill=blue!15]
\tikzstyle
{
ynode
}
= [inner sep=2pt,minimum width=4em,minimum height=2em,rounded corners=1pt]
...
...
@@ -14,18 +14,18 @@
\node
[anchor=west,rnnnode] (n3) at ([xshift=3em,yshift=0em]n2.east)
{$
\mathbi
{
h
}_{
j
-
1
}$}
;
\node
[anchor=west,rnnnode] (n4) at ([xshift=3em,yshift=0em]n3.east)
{$
\mathbi
{
h
}_{
j
}$}
;
\node
[anchor=south,snode] (n5) at ([xshift=0em,yshift=1em]n3.north)
{
Softmax
}
;
\node
[anchor=south,ynode] (n6) at ([xshift=0em,yshift=1em]n5.north)
{$
\hat
{{
y
}}_{
j
-
1
}$}
;
\node
[anchor=south,ynode
,fill=green!20
] (n6) at ([xshift=0em,yshift=1em]n5.north)
{$
\hat
{{
y
}}_{
j
-
1
}$}
;
\node
[anchor=south,snode] (n7) at ([xshift=0em,yshift=1em]n4.north)
{
Softmax
}
;
\node
[anchor=south,ynode] (n8) at ([xshift=0em,yshift=1em]n7.north)
{$
\hat
{{
y
}}_{
j
}$}
;
\node
[anchor=south,snode
,font=
\footnotesize
] (n13) at ([xshift=0em,yshift=1em]n1.north)
{
Softmax
}
;
\node
[anchor=south,snode] (n13) at ([xshift=0em,yshift=1em]n1.north)
{
Softmax
}
;
\node
[anchor=south,ynode] (n14) at ([xshift=0em,yshift=1em]n13.north)
{$
\hat
{{
y
}}_{
1
}$}
;
\node
[anchor=north] (x1) at ([xshift=0em,yshift=-1em]n1.south)
{$
\langle
$
sos
$
\rangle
$}
;
\node
[anchor=north,font=
\small
] (x2) at ([xshift=-1.3em,yshift=-2.3em]n3.south)
{$
\hat
{{
y
}}_{
j
-
2
}$}
;
\node
[anchor=north,font=
\small
] (x3) at ([xshift=1.3em,yshift=-2.5em]n3.south)
{${
y
}_{
j
-
2
}$}
;
\node
[anchor=north,font=
\small
] (x4) at ([xshift=1.3em,yshift=-2.5em]n4.south)
{${
y
}_{
j
-
1
}$}
;
\node
[anchor=north,font=
\small
] (x5) at ([xshift=-1.3em,yshift=-2.3em]n4.south)
{$
\hat
{{
y
}}_{
j
-
1
}$}
;
\node
[anchor=north,font=
\small
,fill=green!20
] (x5) at ([xshift=-1.3em,yshift=-2.3em]n4.south)
{$
\hat
{{
y
}}_{
j
-
1
}$}
;
\node
[anchor=south,inner sep=2pt] (st1) at (n6.north)
{
\scriptsize
{
\textbf
{
[step
$
j
-
1
$
]
}}}
;
\node
[anchor=south,inner sep=2pt] (st2) at (n8.north)
{
\scriptsize
{
\textbf
{
[step
$
j
$
]
}}}
;
...
...
@@ -74,7 +74,7 @@
\draw
[-,thick] ([xshift=0em,yshift=0.2em]x4.north)-- ([xshift=1.3em,yshift=0em]n4.south);
\draw
[->,thick,dotted] ([xshift=-2.5em,yshift=1em]x2.north) .. controls +(south:2em) and +(west:0.1em) .. ([xshift=0.2em,yshift=0em]x2.west);
\draw
[->,thick,dotted
] ([xshift=0em,yshift=0em]n6.east) .. controls ([xshift=2em,yshift=1em]n6.east) and ([xshift=-2.5em,yshift=-4em]n4.south west
) .. ([xshift=-0em,yshift=-0em]x5.west);
\draw
[->,thick,dotted] ([xshift=0em,yshift=0em]n14.east) .. controls +(east:0.3em) and +(north:
2
em) .. ([xshift=3em,yshift=-0.5em]n14.south);
\draw
[->,thick,dotted
,ugreen] ([xshift=0em,yshift=0em]n6.east) .. controls +(east:2.5em) and +(west:2.5em
) .. ([xshift=-0em,yshift=-0em]x5.west);
\draw
[->,thick,dotted] ([xshift=0em,yshift=0em]n14.east) .. controls +(east:0.3em) and +(north:
1.5
em) .. ([xshift=3em,yshift=-0.5em]n14.south);
\end{tikzpicture}
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-reinforcement-learning-method-based-on-actor-critic.tex
查看文件 @
dbc4633e
\begin{tikzpicture}
\node
[anchor=west,inner sep=0mm,minimum height=4em,minimum width=5.5em,rounded corners=15pt,align=left,draw,fill=red!15]
(n1) at (0,0)
{
Decoder
\\
Encoder
}
;
\node
[anchor=west,
thick,
inner sep=0mm,minimum height=4em,minimum width=5.5em,rounded corners=15pt,align=left,draw,fill=red!15]
(n1) at (0,0)
{
Decoder
\\
Encoder
}
;
\node
[anchor=west,inner sep=0mm,minimum height=4em,minimum width=5.5em,rounded corners=15pt,align=left,draw,fill=green!15]
(n2) at ([xshift=10em,yshift=0em]n1.east)
{
Decoder
\\
Encoder
}
;
\node
[anchor=west,
thick,
inner sep=0mm,minimum height=4em,minimum width=5.5em,rounded corners=15pt,align=left,draw,fill=green!15]
(n2) at ([xshift=10em,yshift=0em]n1.east)
{
Decoder
\\
Encoder
}
;
\node
[anchor=south,inner sep=0mm,font=\small]
(a1) at ([xshift=0em,yshift=1em]n1.north)
{
演员
$
p
$}
;
...
...
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-underfitting-vs-overfitting.tex
查看文件 @
dbc4633e
\begin{tabular}
{
l l l
}
\begin{tabular}
{
l l l
l l
}
\begin{tikzpicture}
\draw
[->, thick]
(0,0) to (3,0);
\draw
[->, thick]
(0,-0) to (0,2);
...
...
@@ -25,6 +25,10 @@
\node
[font=
\footnotesize
] at (1.5,-0.5)
{
欠拟合
}
;
\end{tikzpicture}
&
\hspace
{
3em
}
&
\begin{tikzpicture}
\draw
[->, thick]
(0,0) to (3,0);
\draw
[->, thick]
(0,-0) to (0,2);
...
...
@@ -52,6 +56,10 @@
\node
[font=
\footnotesize
] at (1.5,-0.5)
{
拟合合适
}
;
\end{tikzpicture}
&
\hspace
{
3em
}
&
\begin{tikzpicture}
\draw
[->, thick]
(0,0) to (3,0);
\draw
[->, thick]
(0,-0) to (0,2);
...
...
This diff is collapsed.
Click to expand it.
Chapter13/Figures/figure-unk-of-bpe.tex
查看文件 @
dbc4633e
\begin{tikzpicture}
\node
[rounded corners=3pt,minimum width=1.0em,minimum height=2.0em,font=\scriptsize,fill=
green!5
,drop shadow,thick]
(top) at (0,0)
{
\node
[rounded corners=3pt,minimum width=1.0em,minimum height=2.0em,font=\scriptsize,fill=
red!10
,drop shadow,thick]
(top) at (0,0)
{
\begin{tabular}
{
lllllll
}
\multicolumn
{
7
}{
c
}{
符号合并表
}
\\
r
\
$
<
$
e
$
>
$
,
&
e
\
s,
&
l
\
o,
&
es
\
t,
&
lo
\
w,
&
est
\
$
<
$
e
$
>
$
,
&
e
\
r
$
<
$
e
$
>
$
,
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论