Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
Toy-MT-Introduction
概览
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
Toy-MT-Introduction
Commits
4aeb846b
Commit
4aeb846b
authored
May 03, 2020
by
xiaotong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates of section 7
parent
e8c5a116
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
54 行增加
和
47 行删除
+54
-47
Book/Chapter7/Chapter7.tex
+0
-0
Book/Chapter7/Figures/figure-batch-time-mem.tex
+10
-10
Book/Chapter7/Figures/figure-different-softmax.tex
+3
-2
Book/Chapter7/Figures/figure-encoder-fin.tex
+3
-3
Book/Chapter7/Figures/figure-forecast-result.tex
+7
-7
Book/mt-book-xelatex.idx
+31
-25
没有找到文件。
Book/Chapter7/Chapter7.tex
查看文件 @
4aeb846b
差异被折叠。
点击展开。
Book/Chapter7/Figures/figure-batch-time-mem.tex
查看文件 @
4aeb846b
...
...
@@ -18,7 +18,7 @@
\node
[anchor=west,pnode,minimum width=3em] (p6) at ([xshift=0.3em]s6.east)
{
\tiny
{}}
;
\node
[rectangle,inner sep=0.5em,rounded corners=2pt,very thick,dotted,draw=ugreen!80] [fit = (s1) (s6) (p1) (p6)] (box0)
{}
;
\node
[rectangle,inner sep=0.5em,rounded corners=1pt,draw,fill=blue!15]
(model) at ([xshift=4em]box0.east)
{{
Model
}}
;
\node
[rectangle,inner sep=0.5em,rounded corners=1pt,draw,fill=blue!15]
(model) at ([xshift=4em]box0.east)
{{
模型
}}
;
% big batch
\node
[anchor=west,snode] (sbi1) at ([xshift=3em,yshift=6em]model.east)
{
\tiny
{}}
;
...
...
@@ -63,25 +63,25 @@
\draw
[->,very thick] (box2.east) -- (box3.west);
%%%%%
\node
[] (t10) at ([yshift=1.5em]box1.north)
{
t1
}
;
\node
[] (t11) at ([yshift=1.5em]box2.north)
{
t1
}
;
\node
[] (t2) at ([yshift=1.5em]box3.north)
{
t2
}
;
\node
[] (t10) at ([yshift=1.5em]box1.north)
{
$
t
_
1
$
}
;
\node
[] (t11) at ([yshift=1.5em]box2.north)
{
$
t
_
1
$
}
;
\node
[] (t2) at ([yshift=1.5em]box3.north)
{
$
t
_
2
$
}
;
\draw
[very thick,decorate,decoration=
{
brace
}
] ([xshift=0em,yshift=0.3em]box1.north west) to node [midway,name=final]
{}
([xshift=0em,yshift=0.3em]box1.north east);
\draw
[very thick,decorate,decoration=
{
brace
}
] ([xshift=0em,yshift=0.3em]box2.north west) to node [midway,name=final]
{}
([xshift=0em,yshift=0.3em]box2.north east);
\draw
[very thick,decorate,decoration=
{
brace
}
] ([xshift=0em,yshift=0.3em]box3.north west) to node [midway,name=final]
{}
([xshift=0em,yshift=0.3em]box3.north east);
\node
[] (m1) at ([xshift=1.5em]box1.east)
{
m1
}
;
\node
[] (m2) at ([xshift=1.5em]box3.east)
{
m2
}
;
\node
[] (m1) at ([xshift=1.5em]box1.east)
{
$
m
_
1
$
}
;
\node
[] (m2) at ([xshift=1.5em]box3.east)
{
$
m
_
2
$
}
;
\draw
[very thick,decorate,decoration=
{
brace
}
] ([xshift=3pt]box1.north east) to node [midway,name=final]
{}
([xshift=3pt]box1.south east);
\draw
[very thick,decorate,decoration=
{
brace
}
] ([xshift=3pt]box3.north east) to node [midway,name=final]
{}
([xshift=3pt]box3.south east);
\node
[rectangle,inner sep=0.5em,rounded corners=2pt,draw,fill=red!5,font=
\scriptsize
] at ([yshift=-2em,xshift=10em]sbi1.east)
{
\begin{tabular}
{
l
}
m
: 显存
\\
t
: 时间
\\
$
\textrm
{
m
}_
1
>
\textrm
{
m
}
_
2
$
\\
$
\textrm
{
t
}_
1
>
\textrm
{
t
}
_
2
$
$
m
$
: 显存
\\
$
t
$
: 时间
\\
$
m
_
1
>m
_
2
$
\\
$
t
_
1
>t
_
2
$
\end{tabular}
}
;
...
...
Book/Chapter7/Figures/figure-different-softmax.tex
查看文件 @
4aeb846b
...
...
@@ -65,7 +65,7 @@
\draw
[->] (out3) |- (plabel9.east);
\end{scope}
\node
[anchor=north,font=
\scriptsize
] () at ([yshift=-0.2em]STANDARD.south)
{
(a)
Standard
}
;
\node
[anchor=north,font=
\scriptsize
] () at (
SELECTION.south)
{
(b) Word selection
}
;
\node
[anchor=north,font=
\scriptsize
] () at ([yshift=-0.2em]STANDARD.south)
{
(a)
标准方法
}
;
\node
[anchor=north,font=
\scriptsize
] () at (
[xshift=-3em]SELECTION.south)
{
(b) 词汇选择
}
;
\end{tikzpicture}
\ No newline at end of file
Book/Chapter7/Figures/figure-encoder-fin.tex
查看文件 @
4aeb846b
...
...
@@ -22,9 +22,9 @@
\draw
[->] (w5.north) -- ([yshift=1.3em]w5.north);
\draw
[->] (w6.north) -- ([yshift=1.4em]w6.north);
\draw
[
->
] (w7.south) -- ([yshift=-1.4em]w7.south);
\draw
[
->
] (w8.south) -- ([yshift=-1.4em]w8.south);
\draw
[
->
] (w9.south) -- ([yshift=-1.4em]w9.south);
\draw
[
<-
] (w7.south) -- ([yshift=-1.4em]w7.south);
\draw
[
<-
] (w8.south) -- ([yshift=-1.4em]w8.south);
\draw
[
<-
] (w9.south) -- ([yshift=-1.4em]w9.south);
\node
[model] (encoder1) at ([xshift=8em]encoder0.east)
{
Encoder
}
;
...
...
Book/Chapter7/Figures/figure-forecast-result.tex
查看文件 @
4aeb846b
\begin{tikzpicture}
\node
[anchor=north west] (part1) at (0,0)
{
\small
{$
\begin
{
bmatrix
}
Have
\;
0
.
5
\\
Has
\ \ \;
0
.
1
\\
.
\\
.
\\
.
\\
.
\\
.
\end
{
bmatrix
}$}}
;
\node
[anchor=north](p1) at ([yshift=-0.3em]part1.south)
{$
P
1
$}
;
\node
[anchor=west](part2) at ([xshift=0.5em]part1.east)
{
\small
{$
\begin
{
bmatrix
}
Have
\;
0
.
2
\\
Has
\ \ \;
0
.
3
\\
.
\\
.
\\
.
\\
.
\\
.
\end
{
bmatrix
}$}}
;
\node
[anchor=north](p2) at ([yshift=-0.3em]part2.south)
{$
P
2
$}
;
\node
[anchor=west](part3) at ([xshift=0.5em]part2.east)
{
\small
{$
\begin
{
bmatrix
}
Have
\;
0
.
4
\\
Has
\ \ \;
0
.
3
\\
.
\\
.
\\
.
\\
.
\\
.
\end
{
bmatrix
}$}}
;
\node
[anchor=north](p3) at ([yshift=-0.3em]part3.south)
{$
P
3
$}
;
\node
[anchor=north west] (part1) at (0,0)
{
\small
{$
\begin
{
bmatrix
}
\textrm
{
Have
}
\;
0
.
5
\\
\textrm
{
Has
}
\ \ \;
0
.
1
\\
.
\\
.
\\
.
\\
.
\\
.
\end
{
bmatrix
}$}}
;
\node
[anchor=north](p1) at ([yshift=-0.3em]part1.south)
{$
P
_
1
$}
;
\node
[anchor=west](part2) at ([xshift=0.5em]part1.east)
{
\small
{$
\begin
{
bmatrix
}
\textrm
{
Have
}
\;
0
.
2
\\
\textrm
{
Has
}
\ \ \;
0
.
3
\\
.
\\
.
\\
.
\\
.
\\
.
\end
{
bmatrix
}$}}
;
\node
[anchor=north](p2) at ([yshift=-0.3em]part2.south)
{$
P
_
2
$}
;
\node
[anchor=west](part3) at ([xshift=0.5em]part2.east)
{
\small
{$
\begin
{
bmatrix
}
\textrm
{
Have
}
\;
0
.
4
\\
\textrm
{
Has
}
\ \ \;
0
.
3
\\
.
\\
.
\\
.
\\
.
\\
.
\end
{
bmatrix
}$}}
;
\node
[anchor=north](p3) at ([yshift=-0.3em]part3.south)
{$
P
_
3
$}
;
\node
[anchor=west](part4) at ([xshift=0.5em]part3.east)
{
\huge
{$
\Rightarrow
$}}
;
\node
[anchor=west](part5) at ([xshift=0.5em]part4.east)
{
\small
{$
\begin
{
bmatrix
}
Have
\;
0
.
37
\\
Has
\ \ \;
0
.
23
\\
.
\\
.
\\
.
\\
.
\\
.
\end
{
bmatrix
}$}}
;
\node
[anchor=west](part5) at ([xshift=0.5em]part4.east)
{
\small
{$
\begin
{
bmatrix
}
\textrm
{
Have
}
\;
0
.
37
\\
\textrm
{
Has
}
\ \ \;
0
.
23
\\
.
\\
.
\\
.
\\
.
\\
.
\end
{
bmatrix
}$}}
;
\node
[anchor=north](p5) at (part5.south)
{$
P
=
\sum
_{
i
=
1
}^{
3
}{
\frac
{
1
}{
3
}
P
_{
i
}}$}
;
\end{tikzpicture}
...
...
Book/mt-book-xelatex.idx
查看文件 @
4aeb846b
...
...
@@ -71,32 +71,38 @@
\indexentry{Re-ranking|hyperpage}{34}
\indexentry{双向推断|hyperpage}{34}
\indexentry{Bidirectional Inference|hyperpage}{34}
\indexentry{批量推断|hyperpage}{37}
\indexentry{Batch Inference|hyperpage}{37}
\indexentry{批量处理|hyperpage}{37}
\indexentry{Batching|hyperpage}{37}
\indexentry{批量推断|hyperpage}{38}
\indexentry{Batch Inference|hyperpage}{38}
\indexentry{批量处理|hyperpage}{38}
\indexentry{Batching|hyperpage}{38}
\indexentry{二值网络|hyperpage}{39}
\indexentry{Binarized Neural Networks|hyperpage}{39}
\indexentry{自回归翻译|hyperpage}{40}
\indexentry{Autoregressive Translation|hyperpage}{40}
\indexentry{非自回归翻译|hyperpage}{40}
\indexentry{Regressive Translation|hyperpage}{40}
\indexentry{繁衍率|hyperpage}{40}
\indexentry{Fertility|hyperpage}{40}
\indexentry{偏置|hyperpage}{41}
\indexentry{Bias|hyperpage}{41}
\indexentry{退化|hyperpage}{4
1
}
\indexentry{Degenerate|hyperpage}{4
1
}
\indexentry{退化|hyperpage}{4
2
}
\indexentry{Degenerate|hyperpage}{4
2
}
\indexentry{过翻译|hyperpage}{43}
\indexentry{Over Translation|hyperpage}{43}
\indexentry{欠翻译|hyperpage}{43}
\indexentry{Under Translation|hyperpage}{43}
\indexentry{充分性|hyperpage}{4
3
}
\indexentry{Adequacy|hyperpage}{4
3
}
\indexentry{充分性|hyperpage}{4
4
}
\indexentry{Adequacy|hyperpage}{4
4
}
\indexentry{系统融合|hyperpage}{44}
\indexentry{System Combination|hyperpage}{44}
\indexentry{假设选择|hyperpage}{4
4
}
\indexentry{Hypothesis Selection|hyperpage}{4
4
}
\indexentry{假设选择|hyperpage}{4
5
}
\indexentry{Hypothesis Selection|hyperpage}{4
5
}
\indexentry{多样性|hyperpage}{45}
\indexentry{Diversity|hyperpage}{45}
\indexentry{重排序|hyperpage}{45}
\indexentry{Re-ranking|hyperpage}{45}
\indexentry{重排序|hyperpage}{46}
\indexentry{Re-ranking|hyperpage}{46}
\indexentry{混淆网络|hyperpage}{47}
\indexentry{Confusion Network|hyperpage}{47}
\indexentry{动态线性层聚合方法|hyperpage}{51}
\indexentry{Dynamic Linear Combination of Layers,DLCL|hyperpage}{51}
\indexentry{相互适应|hyperpage}{55}
...
...
@@ -109,20 +115,20 @@
\indexentry{Iterative Back Translation|hyperpage}{58}
\indexentry{前向翻译|hyperpage}{58}
\indexentry{Forward Translation|hyperpage}{58}
\indexentry{预训练|hyperpage}{5
8
}
\indexentry{Pre-training|hyperpage}{5
8
}
\indexentry{微调|hyperpage}{5
8
}
\indexentry{Fine-tuning|hyperpage}{5
8
}
\indexentry{多任务学习|hyperpage}{6
0
}
\indexentry{Multitask Learning|hyperpage}{6
0
}
\indexentry{模型压缩|hyperpage}{6
1
}
\indexentry{预训练|hyperpage}{5
9
}
\indexentry{Pre-training|hyperpage}{5
9
}
\indexentry{微调|hyperpage}{5
9
}
\indexentry{Fine-tuning|hyperpage}{5
9
}
\indexentry{多任务学习|hyperpage}{6
1
}
\indexentry{Multitask Learning|hyperpage}{6
1
}
\indexentry{模型压缩|hyperpage}{6
2
}
\indexentry{Model Compression|hyperpage}{62}
\indexentry{学习难度|hyperpage}{62}
\indexentry{Learning Difficulty|hyperpage}{62}
\indexentry{教师模型|hyperpage}{6
2
}
\indexentry{Teacher Model|hyperpage}{6
2
}
\indexentry{学生模型|hyperpage}{6
2
}
\indexentry{Student Model|hyperpage}{6
2
}
\indexentry{教师模型|hyperpage}{6
3
}
\indexentry{Teacher Model|hyperpage}{6
3
}
\indexentry{学生模型|hyperpage}{6
3
}
\indexentry{Student Model|hyperpage}{6
3
}
\indexentry{基于单词的知识精炼|hyperpage}{63}
\indexentry{Word-level Knowledge Distillation|hyperpage}{63}
\indexentry{基于序列的知识精炼|hyperpage}{63}
...
...
@@ -135,5 +141,5 @@
\indexentry{Circle Consistency|hyperpage}{67}
\indexentry{翻译中回译|hyperpage}{68}
\indexentry{On-the-fly Back-translation|hyperpage}{68}
\indexentry{网络结构搜索技术|hyperpage}{7
0
}
\indexentry{Neural Architecture Search;NAS|hyperpage}{7
0
}
\indexentry{网络结构搜索技术|hyperpage}{7
1
}
\indexentry{Neural Architecture Search;NAS|hyperpage}{7
1
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论