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
eab3a9d8
Commit
eab3a9d8
authored
Jan 04, 2021
by
孟霞
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'mengxia' 到 'caorunzhe'
Mengxia 查看合并请求
!772
parents
508373ec
cd19331a
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
26 行增加
和
24 行删除
+26
-24
Chapter13/Figures/figure-exposure-bias.tex
+15
-13
Chapter13/chapter13.tex
+0
-0
Chapter16/Figures/figure-comparison-of-structure-between-gpt-and-bert-model.tex
+1
-1
Chapter16/Figures/figure-example-of-iterative-back-translation.tex
+1
-1
Chapter16/Figures/figure-examples-of-comparable-corpora.tex
+2
-2
Chapter16/Figures/figure-parameter-initialization-method-diagram.tex
+2
-2
Chapter16/chapter16.tex
+0
-0
Chapter17/Figures/figure-cache.tex
+3
-3
Chapter17/chapter17.tex
+0
-0
Chapter18/Figures/figure-memory-multi-use.tex
+2
-2
Chapter18/chapter18.tex
+0
-0
没有找到文件。
Chapter13/Figures/figure-exposure-bias.tex
查看文件 @
eab3a9d8
...
...
@@ -25,7 +25,7 @@
\node
[anchor=north] (n11) at ([xshift=0em,yshift=-1em]n3.south)
{${{
y
}}_{
j
-
2
}$}
;
\node
[anchor=north] (n12) at ([xshift=0em,yshift=-1em]n4.south)
{${{
y
}}_{
j
-
1
}$}
;
\node
[anchor=north] (n9) at ([xshift=0em,yshift=-3em]n4.south)
{
\small
{
(a)训练阶段
}}
;
\node
[anchor=north] (n9) at ([xshift=0em,yshift=-3em]n4.south)
{
\small
{
(a)
训练阶段
}}
;
\node
[anchor=north] (x1) at ([xshift=0em,yshift=-1em]n1.south)
{$
\langle
$
sos
$
\rangle
$}
;
...
...
@@ -65,21 +65,22 @@
\node
[anchor=south,minimum width=0.8em,minimum height=1.4em,fill=
red
!50,inner sep=0pt] (label1) at ([xshift=-0.1em,yshift=0em]y1.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=2.2em,fill=
red
!50,inner sep=0pt] (label2) at ([xshift=-0.1em,yshift=0em]y2.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=2.8em,fill=
red
!50,inner sep=0pt] (label3) at ([xshift=-0.1em,yshift=0em]y3.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=3.2em,fill=
red
!50,inner sep=0pt] (label4) at ([xshift=-0.1em,yshift=0em]y4.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=2.4em,fill=
red
!50,inner sep=0pt] (label5) at ([xshift=-0.1em,yshift=0em]y5.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=1.7em,fill=
red
!50,inner sep=0pt] (label6) at ([xshift=-0.1em,yshift=0em]y6.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=0.4em,fill=
red
!50,inner sep=0pt] (label8) at ([xshift=-0.1em,yshift=0em]y8.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=1.4em,fill=
ugreen
!50,inner sep=0pt] (label1) at ([xshift=-0.1em,yshift=0em]y1.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=2.2em,fill=
ugreen
!50,inner sep=0pt] (label2) at ([xshift=-0.1em,yshift=0em]y2.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=2.8em,fill=
ugreen
!50,inner sep=0pt] (label3) at ([xshift=-0.1em,yshift=0em]y3.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=3.2em,fill=
ugreen
!50,inner sep=0pt] (label4) at ([xshift=-0.1em,yshift=0em]y4.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=2.4em,fill=
ugreen
!50,inner sep=0pt] (label5) at ([xshift=-0.1em,yshift=0em]y5.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=1.7em,fill=
ugreen
!50,inner sep=0pt] (label6) at ([xshift=-0.1em,yshift=0em]y6.north)
{}
;
\node
[anchor=south,minimum width=0.8em,minimum height=0.4em,fill=
ugreen
!50,inner sep=0pt] (label8) at ([xshift=-0.1em,yshift=0em]y8.north)
{}
;
\begin{pgfonlayer}
{
background
}
\node
[rectangle,inner sep=0.1em,rounded corners=5pt,very thick,dotted,draw=
red
] [fit = (n11) (n12)] (b1)
{}
;
\node
[rectangle,inner sep=0.5em,rounded corners=5pt,very thick,dotted,draw=
red
] [fit = (n10) (y1) (y8)] (b2)
{}
;
\node
[rectangle,inner sep=0.1em,rounded corners=5pt,very thick,dotted,draw=
ugreen
] [fit = (n11) (n12)] (b1)
{}
;
\node
[rectangle,inner sep=0.5em,rounded corners=5pt,very thick,dotted,draw=
ugreen
] [fit = (n10) (y1) (y8)] (b2)
{}
;
\draw
[->,dotted,very thick,red] ([yshift=-0em]b1.east) .. controls +(east:2) and +(west:1) .. (b2.west);
\draw
[->,dotted,very thick,ugreen] ([yshift=-0em]b1.east) .. controls +(east:1.7) and +(west:1) .. ([xshift=-0.1em]b2.west);
\node
[anchor=east] (inputlabel1) at ([yshift=-0.2em]b1.west)
{{
\color
{
red
}
\footnotesize
{
人工标注数据
}}}
;
\end{pgfonlayer}
...
...
@@ -103,7 +104,7 @@
\node
[anchor=south,snode,font=
\footnotesize
] (n13) at ([xshift=0em,yshift=1em]n1.north)
{
Softmax
}
;
\node
[anchor=south,ynode] (n14) at ([xshift=0em,yshift=1em]n13.north)
{$
\tilde
{{
y
}}_{
1
}$}
;
\node
[anchor=north] (n9) at ([xshift=0em,yshift=-3em]n4.south)
{
\small
{
(b)
解码
阶段
}}
;
\node
[anchor=north] (n9) at ([xshift=0em,yshift=-3em]n4.south)
{
\small
{
(b)
推断
阶段
}}
;
\node
[anchor=north] (n11) at ([xshift=0em,yshift=-1em]n3.south)
{$
\tilde
{{
y
}}_{
j
-
2
}$}
;
\node
[anchor=north] (n12) at ([xshift=0em,yshift=-1em]n4.south)
{$
\tilde
{{
y
}}_{
j
-
1
}$}
;
...
...
@@ -164,7 +165,8 @@
\node
[rectangle,inner sep=0.5em,rounded corners=5pt,very thick,dotted,draw=ublue] [fit = (n10) (y1) (y5)] (b2)
{}
;
\draw
[->,dotted,very thick,ublue] ([xshift=-0em,yshift=-0em]b1.east) .. controls +(east:2) and +(west:1) .. (b2.west);
\draw
[->,dotted,very thick,ublue] ([xshift=-0em,yshift=-0em]b1.east) .. controls +(east:1.7) and +(west:1) .. ([xshift=-0.1em]b2.west);
\node
[anchor=east] (inputlabel1) at ([yshift=-0.2em]b1.west)
{{
\color
{
red
}
\footnotesize
{
系统预测结果
}}}
;
\end{pgfonlayer}
...
...
Chapter13/chapter13.tex
查看文件 @
eab3a9d8
差异被折叠。
点击展开。
Chapter16/Figures/figure-comparison-of-structure-between-gpt-and-bert-model.tex
查看文件 @
eab3a9d8
...
...
@@ -103,7 +103,7 @@
\node
[anchor=north] (pos1) at ([xshift=1.5em,yshift=-1.0em]node0-2.south)
{
\small
{
(a) GPT模型结构
}}
;
\node
[anchor=north] (pos2) at ([xshift=1.5em,yshift=-1.0em]node0-6.south)
{
\small
{
(b) BERT模型结构
}}
;
\node
[anchor=south] (ex) at ([xshift=2.1em,yshift=0.5em]node3-1.north)
{
\small
{
TRM:
t
ransformer
}}
;
\node
[anchor=south] (ex) at ([xshift=2.1em,yshift=0.5em]node3-1.north)
{
\small
{
TRM:
T
ransformer
}}
;
...
...
Chapter16/Figures/figure-example-of-iterative-back-translation.tex
查看文件 @
eab3a9d8
...
...
@@ -60,7 +60,7 @@
\node
[anchor=west,fill=red!20,minimum width=1.5em](d2-1) at ([xshift=-0.0em]d2.east)
{}
;
\node
[anchor=west,fill=yellow!20,minimum width=1.5em](d3-1) at ([xshift=-0.0em]d3.east)
{}
;
\node
[anchor=north] (d4) at ([xshift=1em]d1.south)
{
\small
{
训练:
}}
;
\node
[anchor=north] (d5) at ([xshift=0.5em]d2.south)
{
\small
{
推
理
:
}}
;
\node
[anchor=north] (d5) at ([xshift=0.5em]d2.south)
{
\small
{
推
断
:
}}
;
\draw
[->,thick] ([xshift=0em]d4.east)--([xshift=1.5em]d4.east);
\draw
[->,thick,dashed] ([xshift=0em]d5.east)--([xshift=1.5em]d5.east);
...
...
Chapter16/Figures/figure-examples-of-comparable-corpora.tex
查看文件 @
eab3a9d8
\begin{tikzpicture}
\begin{scope}
\node
[anchor=center] (node1) at (0,0)
{
\textbf
{
Machine
translation
}
, sometio
mes referred to by the abbreviation
\textbf
{
MT
}
(not to be
}
;
\node
[anchor=north] (node2) at (node1.south)
{
confused with computer-aided translation,
,
machine-aided human translation inter
}
;
\node
[anchor=center] (node1) at (0,0)
{
\textbf
{
Machine
Translation
}
, someti
mes referred to by the abbreviation
\textbf
{
MT
}
(not to be
}
;
\node
[anchor=north] (node2) at (node1.south)
{
confused with computer-aided translation,machine-aided human translation inter
}
;
\node
[anchor=north] (node3) at (node2.south)
{
-active translation), is a subfield of computational linguistics that investigates the
}
;
\node
[anchor=north] (node4) at ([xshift=-1.8em]node3.south)
{
use of software to translate text or speech from one language to another.
}
;
\node
[anchor=south] (node5) at ([xshift=-12.8em,yshift=0.5em]node1.north)
{
\Large
{
WIKIPEDIA
}}
;
...
...
Chapter16/Figures/figure-parameter-initialization-method-diagram.tex
查看文件 @
eab3a9d8
...
...
@@ -12,8 +12,8 @@
\node
[node,anchor=west,minimum width=6em,minimum height=2.4em,fill=blue!20,line width=0.6pt]
(decoder2) at ([xshift=4em,yshift=0em]decoder1.east)
{
\small
解码器
}
;
\node
[node,anchor=west,minimum width=6em,minimum height=2.4em,fill=blue!30,line width=0.6pt]
(decoder3) at ([xshift=3em]decoder2.east)
{
\small
解码器
}
;
\node
[anchor=north,font=\scriptsize,fill=yellow!20]
(w1) at ([yshift=-1.6em]decoder1.south)
{
知识
\
就是
\
力量
\
。
\
<
EOS
>
}
;
\node
[anchor=north,font=\scriptsize,fill=green!20]
(w3) at ([yshift=-1.6em]decoder3.south)
{
Wissen
\
ist
\
Machit
\
.
\
<
EOS
>
}
;
\node
[anchor=north,font=\scriptsize,fill=yellow!20]
(w1) at ([yshift=-1.6em]decoder1.south)
{
知识
\
就是
\
力量
\
。
\
<
eos
>
}
;
\node
[anchor=north,font=\scriptsize,fill=green!20]
(w3) at ([yshift=-1.6em]decoder3.south)
{
Wissen
\
ist
\
Machit
\
.
\
<
eos
>
}
;
\node
[anchor=south,font=\scriptsize,fill=orange!20]
(w2) at ([yshift=1.6em]encoder1.north)
{
Knowledge
\
is
\
power
\
.
}
;
\node
[anchor=south,font=\scriptsize,fill=orange!20]
(w4) at ([yshift=1.6em]encoder3.north)
{
Knowledge
\
is
\
power
\
.
}
;
...
...
Chapter16/chapter16.tex
查看文件 @
eab3a9d8
差异被折叠。
点击展开。
Chapter17/Figures/figure-cache.tex
查看文件 @
eab3a9d8
...
...
@@ -18,7 +18,7 @@
\node
[anchor=south,font=\footnotesize,inner sep=0pt]
(cache)at ([yshift=2em,xshift=1.5em]key.north)
{
\small\bfnew
{
Cache
}}
;
\node
[draw,anchor=east,minimum size=1.8em,fill=orange!15]
(dt) at ([yshift=2.1em,xshift=-4em]key.west)
{${
\mathbi
{
d
}}_{
t
}$}
;
\node
[anchor=north,font=\footnotesize]
(readlab) at ([xshift=2.8em,yshift=0.3em]dt.north)
{
\red
{
reading
}}
;
\node
[anchor=north,font=\footnotesize]
(readlab) at ([xshift=2.8em,yshift=0.3em]dt.north)
{
\red
{
读取
}}
;
\node
[draw,anchor=east,minimum size=1.8em,fill=ugreen!15]
(st) at ([xshift=-3.7em]dt.west)
{${
\mathbi
{
s
}}_{
t
}$}
;
\node
[draw,anchor=east,minimum size=1.8em,fill=red!15]
(st2) at ([xshift=-0.85em,yshift=3.5em]dt.west)
{$
\widetilde
{
\mathbi
{
s
}}_{
t
}$}
;
...
...
@@ -27,10 +27,10 @@
\draw
[-,thick]
(add.0) -- (add.180);
\draw
[-,thick]
(add.90) -- (add.-90);
\node
[anchor=north,inner sep=0pt,font=\footnotesize,text=red]
at ([xshift=-0
.08em,yshift=-1em]add.south)
{
combining
}
;
\node
[anchor=north,inner sep=0pt,font=\footnotesize,text=red]
at ([xshift=-0
em,yshift=-0.5em]add.south)
{
融合
}
;
\node
[draw,anchor=east,minimum size=1.8em,fill=yellow!15]
(ct) at ([xshift=-2em,yshift=-3.5em]st.west)
{$
{
\mathbi
{
C
}}_{
t
}$}
;
\node
[anchor=north,font=\footnotesize]
(matchlab) at ([xshift=6.7em,yshift=-0.1em]ct.north)
{
\red
{
mathching
}}
;
\node
[anchor=north,font=\footnotesize]
(matchlab) at ([xshift=6.7em,yshift=-0.1em]ct.north)
{
\red
{
匹配
}}
;
\node
[anchor=east]
(y) at ([xshift=-6em,yshift=1em]st.west)
{$
\mathbi
{
y
}_{
t
-
1
}$}
;
...
...
Chapter17/chapter17.tex
查看文件 @
eab3a9d8
差异被折叠。
点击展开。
Chapter18/Figures/figure-memory-multi-use.tex
查看文件 @
eab3a9d8
...
...
@@ -39,7 +39,7 @@
\draw
[->,dashed,line width=0.7pt] ([yshift=0.5em,xshift=0.5em]three.north) .. controls +(north:3.5em) and +(south:4.5em) .. ([yshift=-0.2em]mthree.south);
\draw
[->,dashed,line width=0.7pt] ([yshift=0.5em]four.north) .. controls +(north:4.5em) and +(south:4.5em) .. ([yshift=-0.2em]mfour.south);
\node
[word] at ([yshift=-6em]two.south)
{
(a)
显存不复用
}
;
\node
[word] at ([yshift=-6em]two.south)
{
(a)
显存不复用
}
;
%占位
\node
[word]
at ([xshift=1em]four.east)
{}
;
...
...
@@ -95,7 +95,7 @@
\node
[word] at ([xshift=1.5em,yshift=5.6em]one.north)
{
\scriptsize
显存
}
;
\node
[word] at ([yshift=-6em]two.south)
{
(b)
显存复用
}
;
\node
[word] at ([yshift=-6em]two.south)
{
(b)
显存复用
}
;
\begin{pgfonlayer}
{
background
}
\node
[rectangle,inner sep=0.5em,rounded corners=1pt,minimum width=10em,minimum height=3.6em,fill=gray!10,drop shadow] at ([yshift=6.6em,xshift=1em]two.north)
{}
;
...
...
Chapter18/chapter18.tex
查看文件 @
eab3a9d8
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论