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
13005002
Commit
13005002
authored
Dec 04, 2020
by
曹润柘
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'caorunzhe' 到 'master'
minor update 查看合并请求
!551
parents
d385d804
240479cb
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
77 行增加
和
29 行删除
+77
-29
Chapter16/Figures/figure-optimization-of-the-model-initialization-method.tex
+6
-6
Chapter16/Figures/figure-parameter-initialization-method-diagram.tex
+4
-4
Chapter16/Figures/figure-schematic-of-the-domain-discriminator.jpg
+0
-0
Chapter16/Figures/figure-schematic-of-the-domain-discriminator.tex
+17
-0
Chapter16/Figures/figure-shared-space-inductive-bilingual-dictionary.png
+0
-0
Chapter16/Figures/figure-target-side-multi-task-learning.tex
+2
-2
Chapter16/Figures/figure-unmt-idea1.jpg
+0
-0
Chapter16/Figures/figure-unmt-idea2.jpg
+0
-0
Chapter16/Figures/figure-unmt-idea3.jpg
+0
-0
Chapter16/Figures/figure-unmt-process.jpg
+0
-0
Chapter16/Figures/figure-unmt-process.tex
+9
-17
Chapter16/Figures/figure-unsupervised-dual-learning-process.png
+0
-0
Chapter16/Figures/figure-unsupervised-dual-learning-process.tex
+39
-0
Chapter16/chapter16.tex
+0
-0
没有找到文件。
Chapter16/Figures/figure-optimization-of-the-model-initialization-method.tex
查看文件 @
13005002
...
...
@@ -6,15 +6,15 @@
\tikzstyle
{
circle
}
= [draw,black,very thick,inner sep=3.5pt,rounded corners=4pt,minimum width=2em]
\tikzstyle
{
word
}
= [inner sep=3.5pt]
\node
[circle]
(data) at (0,0)
{
数据
}
;
\node
[circle]
(model) at ([xshift=5em]data.east)
{
模型
}
;
\node
[circle
,fill=red!20
]
(data) at (0,0)
{
数据
}
;
\node
[circle
,fill=blue!20
]
(model) at ([xshift=5em]data.east)
{
模型
}
;
\node
[word]
(init) at ([xshift=-5em]data.west)
{
初始化
}
;
\draw
[->,very thick]
(init.east) -- ([xshift=-0.2em]data.west);
\draw
[->,very thick] ([yshift=1pt]data.north) .. controls +(90:2em) and +(90:2em) .. ([yshift=1pt]model.north) node[above,midway]
{
参数优化
}
;
\draw
[->,very thick] ([yshift=1pt]model.south) .. controls +(-90:2em) and +(-90:2em) .. ([yshift=1pt]data.south) node[below,midway]
{
数据优化
}
;
\node
[word]
at ([yshift=-5em]data.south)
{
(a)思路1
}
;
\node
[word]
at ([
xshift=-0.5em,
yshift=-5em]data.south)
{
(a)思路1
}
;
\end{scope}
\end{tikzpicture}
...
...
@@ -25,15 +25,15 @@
\tikzstyle
{
circle
}
= [draw,black,very thick,inner sep=3.5pt,rounded corners=4pt,minimum width=2em]
\tikzstyle
{
word
}
= [inner sep=3.5pt]
\node
[circle]
(data) at (0,0)
{
数据
}
;
\node
[circle]
(model) at ([xshift=5em]data.east)
{
模型
}
;
\node
[circle
,fill=red!20
]
(data) at (0,0)
{
数据
}
;
\node
[circle
,fill=blue!20
]
(model) at ([xshift=5em]data.east)
{
模型
}
;
\node
[word]
(init) at ([xshift=5em]model.east)
{
初始化
}
;
\draw
[->,very thick]
(init.west) -- ([xshift=0.2em]model.east);
\draw
[->,very thick] ([yshift=1pt]data.north) .. controls +(90:2em) and +(90:2em) .. ([yshift=1pt]model.north) node[above,midway]
{
参数优化
}
;
\draw
[->,very thick] ([yshift=1pt]model.south) .. controls +(-90:2em) and +(-90:2em) .. ([yshift=1pt]data.south) node[below,midway]
{
数据优化
}
;
\node
[word]
at ([yshift=-5em]model.south)
{
(b)思路2
}
;
\node
[word]
at ([
xshift=-0.5em,
yshift=-5em]model.south)
{
(b)思路2
}
;
\end{scope}
\end{tikzpicture}
...
...
Chapter16/Figures/figure-parameter-initialization-method-diagram.tex
查看文件 @
13005002
...
...
@@ -4,13 +4,13 @@
\begin{tikzpicture}
\tikzstyle
{
node
}
=[rounded corners=4pt,draw,minimum height=3em,drop shadow,font=
\footnotesize
]
\node
[node,minimum width=6em,minimum height=2.4em,fill=
blue
!20,line width=0.6pt]
(encoder1) at (0,0)
{
\small
编码器
}
;
\node
[node,anchor=west,minimum width=6em,minimum height=2.4em,fill=
blue
!20,line width=0.6pt]
(encoder2) at ([xshift=4em,yshift=0em]encoder1.east)
{
\small
编码器
}
;
\node
[node,anchor=west,minimum width=6em,minimum height=2.4em,fill=red!
2
0,line width=0.6pt]
(encoder3) at ([xshift=3em]encoder2.east)
{
\small
编码器
}
;
\node
[node,minimum width=6em,minimum height=2.4em,fill=
red
!20,line width=0.6pt]
(encoder1) at (0,0)
{
\small
编码器
}
;
\node
[node,anchor=west,minimum width=6em,minimum height=2.4em,fill=
red
!20,line width=0.6pt]
(encoder2) at ([xshift=4em,yshift=0em]encoder1.east)
{
\small
编码器
}
;
\node
[node,anchor=west,minimum width=6em,minimum height=2.4em,fill=red!
4
0,line width=0.6pt]
(encoder3) at ([xshift=3em]encoder2.east)
{
\small
编码器
}
;
\node
[node,anchor=north,minimum width=6em,minimum height=2.4em,fill=blue!20,line width=0.6pt]
(decoder1) at ([yshift=-3em]encoder1.south)
{
\small
解码器
}
;
\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=
red!2
0,line width=0.6pt]
(decoder3) at ([xshift=3em]decoder2.east)
{
\small
解码器
}
;
\node
[node,anchor=west,minimum width=6em,minimum height=2.4em,fill=
blue!4
0,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>
}
;
...
...
Chapter16/Figures/figure-schematic-of-the-domain-discriminator.jpg
deleted
100644 → 0
查看文件 @
d385d804
38.1 KB
Chapter16/Figures/figure-schematic-of-the-domain-discriminator.tex
0 → 100644
查看文件 @
13005002
\begin{tikzpicture}
\tikzstyle
{
rec
}
= [,line width=0.6pt,draw,rounded corners,minimum height=2.2em,minimum width=4.3em,fill=blue!20]
\node
[anchor=center](node1) at (0,0)
{
源语言
}
;
\node
[anchor=west,rec,fill=red!20](node2) at ([xshift=2.0em]node1.east)
{
编码器
}
;
\node
[anchor=west,rec](node3) at ([xshift=3.0em,yshift=2.0em]node2.east)
{
解码器
}
;
\node
[anchor=west,rec,fill=yellow!20](node4) at ([xshift=3.0em,yshift=-2.0em]node2.east)
{
鉴别器
}
;
\draw
[->,thick](node1.east)--(node2.west);
\draw
[->,thick](node2.east)--([xshift=1.5em]node2.east)--([xshift=1.5em,yshift=2.0em]node2.east)--(node3.west);
\draw
[->,thick](node2.east)--([xshift=1.5em]node2.east)--([xshift=1.5em,yshift=-2.0em]node2.east)--(node4.west);
\node
[anchor=west](node5) at ([xshift=2.0em]node3.east)
{
目标语言
}
;
\node
[anchor=west](node6) at ([xshift=2.0em]node4.east)
{
< 领域 >
}
;
\draw
[->,thick](node3.east)--(node5.west);
\draw
[->,thick](node4.east)--(node6.west);
\end{tikzpicture}
\ No newline at end of file
Chapter16/Figures/figure-shared-space-inductive-bilingual-dictionary.png
deleted
100644 → 0
查看文件 @
d385d804
115 KB
Chapter16/Figures/figure-target-side-multi-task-learning.tex
查看文件 @
13005002
...
...
@@ -3,7 +3,7 @@
\node
[anchor=center] (node1-1) at (0,0)
{
\small
{$
y'
$}}
;
\node
[anchor=south,line width=0.6pt,draw,rounded corners,minimum height=1.5em,minimum width=4.3em,fill=blue!20]
(node1-2) at ([yshift=-3em]node1-1.south)
{
\small
{
Softmax
}}
;
\node
[anchor=north,line width=0.6pt,draw,rounded corners,minimum height=2.2em,minimum width=4.3em,fill=
red
!20]
(node1-3) at ([yshift=-2.0em]node1-2.south)
{
\small
{
解码器
}}
;
\node
[anchor=north,line width=0.6pt,draw,rounded corners,minimum height=2.2em,minimum width=4.3em,fill=
blue
!20]
(node1-3) at ([yshift=-2.0em]node1-2.south)
{
\small
{
解码器
}}
;
\node
[anchor=north,line width=0.6pt,draw,rounded corners,minimum height=2.2em,minimum width=4.3em,fill=yellow!20]
(node3-3) at ([yshift=-2.0em]node1-3.south)
{
\small
{
语言模型
}}
;
...
...
@@ -35,7 +35,7 @@
\node
[anchor=east] (node2-1-1) at ([xshift=-12.0em,yshift=-4.25em]node1-1.west)
{
\small
{$
y'
$}}
;
\node
[anchor=south,line width=0.6pt,draw,rounded corners,minimum height=1.5em,minimum width=4.3em,fill=blue!20]
(node2-1-2) at ([yshift=-3em]node2-1-1.south)
{
\small
{
Softmax
}}
;
\node
[anchor=north,line width=0.6pt,draw,rounded corners,minimum height=2.2em,minimum width=4.3em,fill=
red
!20]
(node2-1-3) at ([yshift=-2.0em]node2-1-2.south)
{
\small
{
解码器
}}
;
\node
[anchor=north,line width=0.6pt,draw,rounded corners,minimum height=2.2em,minimum width=4.3em,fill=
blue
!20]
(node2-1-3) at ([yshift=-2.0em]node2-1-2.south)
{
\small
{
解码器
}}
;
\node
[anchor=east,line width=0.6pt,draw,rounded corners,minimum height=2.2em,minimum width=4.3em,fill=red!20]
(node2-2-1) at ([xshift=-2em]node2-1-3.west)
{
\small
{
编码器
}}
;
\node
[anchor=north]
(node2-2-2) at ([yshift=-2em]node2-2-1.south)
{
\small
{$
x
$}}
;
\node
[anchor=north]
(node2-2-3) at ([yshift=-2em]node2-1-3.south)
{
\small
{$
y
$}}
;
...
...
Chapter16/Figures/figure-unmt-idea1.jpg
deleted
100644 → 0
查看文件 @
d385d804
67.4 KB
Chapter16/Figures/figure-unmt-idea2.jpg
deleted
100644 → 0
查看文件 @
d385d804
113 KB
Chapter16/Figures/figure-unmt-idea3.jpg
deleted
100644 → 0
查看文件 @
d385d804
138 KB
Chapter16/Figures/figure-unmt-process.jpg
deleted
100644 → 0
查看文件 @
d385d804
118 KB
Chapter16/Figures/figure-unmt-process.tex
查看文件 @
13005002
\begin{tikzpicture}
\begin{scope}
% ,minimum height =1em,minimum width=2em
\tikzstyle
{
circle
}
= [draw,black,very thick,inner sep=3.5pt,rounded corners=4pt,minimum width=2em,align=center]
\tikzstyle
{
circle
}
= [draw,black,very thick,inner sep=3.5pt,rounded corners=4pt,minimum width=2em,align=center,fill=blue!20]
\tikzstyle
{
word
}
= [inner sep=3.5pt]
\node
[circle]
(center) at (0,0)
{
\begin{tabular}
{
c | c
}
$
s
\rightarrow
t
$
&
$
t
\rightarrow
s
$
\\
$
x
\rightarrow
y
$
&
$
y
\rightarrow
x
$
\\
模型
&
模型
\end{tabular}
}
;
\node
[circle
]
(left) at ([xshift=-9em]center.west)
{$
s
\rightarrow
t
$
\\
数据
}
;
\node
[circle
]
(right) at ([xshift=9em]center.east)
{$
t
\rightarrow
s
$
\\
数据
}
;
\node
[circle
,fill=red!20]
(left) at ([xshift=-9em]center.west)
{$
x
\rightarrow
y
$
\\
数据
}
;
\node
[circle
,fill=red!20]
(right) at ([xshift=9em]center.east)
{$
y
\rightarrow
x
$
\\
数据
}
;
\node
[word]
(init) at ([yshift=6em]center.north)
{
初始化
}
;
\node
[circle
]
(down) at ([yshift=-8em]center.south)
{$
s,t
$
\\
数据
}
;
\node
[circle
,fill=red!20]
(down) at ([yshift=-8em]center.south)
{$
x,y
$
\\
数据
}
;
\draw
[->,very thick]
(init.south) -- ([yshift=0.2em]center.north);
\draw
[->,very thick]
([yshift=0.2em]down.north) -- ([yshift=-0.2em]center.south) node[pos=
.44,midway,align=center]
{
语言模型
\\
目标函数
\\
(模型优化)
}
;
\draw
[->,very thick]
([yshift=1pt]left.north) .. controls +(90:2em) and +(90:2em) .. ([yshift=1pt,xshift=-2.2em]center.north) node[above,midway,align=center]
{
正常MT
目标函数
\\
(模型优化)
}
;
\draw
[->,very thick]
([yshift=0.2em]down.north) -- ([yshift=-0.2em]center.south) node[pos=
0.6,midway,align=left,xshift=-2.5em,yshift=0.5em]
{
语言模型
\\
目标函数
}
;
\node
[anchor=center] at ([yshift=2.0em,xshift=-2.5em]down.north)
{
(模型优化)
}
;
\draw
[->,very thick]
([yshift=1pt]left.north) .. controls +(90:2em) and +(90:2em) .. ([yshift=1pt,xshift=-2.2em]center.north) node[above,midway,align=center]
{
翻译模型
目标函数
\\
(模型优化)
}
;
\draw
[->,very thick]
([yshift=1pt,xshift=-1.8em]center.north) .. controls +(90:2em) and +(90:2em) .. ([yshift=1pt]right.north) node[above,pos=0.6,align=center]
{
回译
\\
(数据优化)
}
;
\draw
[->,very thick] ([yshift=1pt]right.south) .. controls +(-90:2em) and +(-90:2em) .. ([yshift=1pt,xshift=2.2em]center.south) node[below,midway,align=center]
{
正常MT
目标函数
\\
(模型优化)
}
;
\draw
[->,very thick] ([yshift=1pt]right.south) .. controls +(-90:2em) and +(-90:2em) .. ([yshift=1pt,xshift=2.2em]center.south) node[below,midway,align=center]
{
翻译模型
目标函数
\\
(模型优化)
}
;
\draw
[->,very thick] ([yshift=1pt,xshift=1.8em]center.south) .. controls +(-90:2em) and +(-90:2em) .. ([yshift=1pt]left.south) node[below,pos=0.6,align=center]
{
回译
\\
(数据优化)
}
;
%\draw[->,very thick] (init.east) -- ([xshift=-0.2em]data.west);
%\draw [->,very thick] ([yshift=1pt]data.north) .. controls +(90:2em) and +(90:2em) .. ([yshift=1pt]model.north) node[above,midway] {参数优化};
%\draw [->,very thick] ([yshift=1pt]model.south) .. controls +(-90:2em) and +(-90:2em) .. ([yshift=1pt]data.south) node[below,midway] {数据优化};
%\node[word] at ([yshift=-5em]data.south){(a)思路1};
\end{scope}
\end{tikzpicture}
Chapter16/Figures/figure-unsupervised-dual-learning-process.png
deleted
100644 → 0
查看文件 @
d385d804
15.2 KB
Chapter16/Figures/figure-unsupervised-dual-learning-process.tex
0 → 100644
查看文件 @
13005002
\begin{tikzpicture}
\tikzstyle
{
circle
}
= [draw,black,line width=0.6pt,inner sep=3.5pt,rounded corners=4pt,minimum width=2em]
\tikzstyle
{
word
}
= [inner sep=3.5pt]
\node
[anchor=center] (node1-1) at (0,0)
{
\small
{
\seq
{
x
}}}
;
\node
[anchor=west] (node1-2) at ([xshift=0.8em]node1-1.east)
{
\small
{
\seq
{
y
}}}
;
\node
[anchor=north] (node1-3) at ([xshift=1.0em]node1-1.south)
{
\small
{
翻译模型f
}}
;
\draw
[->,line width=0.6pt](node1-1.east)--(node1-2.west);
\begin{pgfonlayer}
{
background
}
{
\node
[fill=blue!20,inner sep=0.1em,draw=black,line width=0.6pt,minimum width=5em,drop shadow,rounded corners=2pt]
[fit =(node1-1)(node1-2)(node1-3)] (remark1)
{}
;
}
\end{pgfonlayer}
\node
[anchor=north,circle,fill=red!20,minimum width=6.8em]
(node2) at ([xshift=-6.0em,yshift=-2.0em]remark1.south)
{
源语言句子
$
\seq
{
x
}$}
;
\node
[anchor=north,circle,fill=red!20,minimum width=6.8em]
(node2-2) at ([yshift=-0.2em]node2.south)
{
新生成句子
$
\seq
{
x'
}$}
;
\draw
[->,thick]([yshift=0.2em]node2.north).. controls (-1.95,-1.5) and (-1.95,-0.2)..([xshift=-0.2em]remark1.west);
\node
[anchor=north,circle,fill=red!20]
(node3) at ([xshift=6.5em,yshift=-2.0em]remark1.south)
{
目标语言句子
$
\seq
{
x
}$}
;
\draw
[->,thick]([xshift=0.2em]remark1.east).. controls (2.9,-0.2) and (2.9,-0.7) ..([yshift=0.2em]node3.north);
\node
[anchor=north] (node4-1) at ([xshift=-1.0em,yshift=-7.0em]remark1.south)
{
\small
{
\seq
{
y
}}}
;
\node
[anchor=west] (node4-2) at ([xshift=0.8em]node4-1.east)
{
\small
{
\seq
{
x
}}}
;
\node
[anchor=north] (node4-3) at ([xshift=1.0em]node4-1.south)
{
\small
{
翻译模型g
}}
;
\draw
[->,line width=0.6pt](node4-1.east)--(node4-2.west);
\begin{pgfonlayer}
{
background
}
{
\node
[fill=yellow!20,inner sep=0.1em,draw=black,line width=0.6pt,minimum width=5em,drop shadow,rounded corners=2pt]
[fit =(node4-1)(node4-2)(node4-3)] (remark2)
{}
;
}
\end{pgfonlayer}
\draw
[->,thick]([xshift=-0.2em]remark2.west).. controls (-0.8,-4.12) and (-1.95,-4.12)..([yshift=-0.2em]node2-2.south);
\draw
[->,thick]([yshift=-0.2em]node3.south).. controls (2.9,-3) and (2.9,-4.1)..([xshift=0.2em]remark2.east);
\end{tikzpicture}
\ No newline at end of file
Chapter16/chapter16.tex
查看文件 @
13005002
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论