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
单韦乔
Toy-MT-Introduction
Commits
b1a90ac1
Commit
b1a90ac1
authored
Feb 21, 2020
by
姜雨帆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update slides
parent
5cc504ae
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
7 行增加
和
7 行删除
+7
-7
Section04-Phrasal-and-Syntactic-Models/section04.tex
+7
-7
没有找到文件。
Section04-Phrasal-and-Syntactic-Models/section04.tex
查看文件 @
b1a90ac1
...
...
@@ -2590,7 +2590,7 @@ f_{\textrm{ME}}(d) = \prod_{<o,X_1,X_2> \in d} \Pr(o|X_1, X_2)
\item
对于模型参数
$
\lambda
$
,最佳的翻译推导为
$
D
^
*=
\{
d
_{
1
}^{
*
}
,..,d
_{
i
}^{
*
}
\}
$
\vspace
{
-0.5em
}
\begin{displaymath}
d
_{
i
}^{
*
}
=
\argm
in
_{
d
_{
ij
}}
\sum
_{
k=1
}^{
M
}
\lambda
_
k
\cdot
h
_
k(d
_{
ij
}
)
d
_{
i
}^{
*
}
=
\argm
ax
_{
d
_{
ij
}}
\sum
_{
k=1
}^{
M
}
\lambda
_
k
\cdot
h
_
k(d
_{
ij
}
)
\end{displaymath}
\vspace
{
-0.9em
}
\item
<2-> 最小错误率训练(MERT)
...
...
@@ -2699,7 +2699,7 @@ d_{i}^{*} = \argmin_{d_{ij}} \sum_{k=1}^{M} \lambda_k \cdot h_k(d_{ij})
\begin{itemize}
\item
解码是根据模型以及输入原文,找到得分最高的推导
${
d
}^
*
$
\begin{displaymath}
d
^
* =
\argmax
_{
d
}
\sum
_{
d
\in
D(
\mathbf
{
s
}
,
\mathbf
{
t
}
)
}
\Pr
(d,
\mathbf
{
t
}
|
\mathbf
{
s
}
)
d
^
* =
\argmax
_{
d
\in
D
}
\textrm
{
score
}
(d
)
\end{displaymath}
\vspace
{
-0.8em
}
\begin{itemize}
...
...
@@ -2816,7 +2816,7 @@ d^* = \argmax_{d} \sum_{d \in D(\mathbf{s}, \mathbf{t})} \Pr(d, \mathbf{t}|\ma
\visible
<2->
{
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.2em] (h1) at ([xshift=2.5em]h0.east)
{
\scriptsize
{
on
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.2em] (h2) at ([xshift=2.5em,yshift=2.5em]h0.east)
{
\scriptsize
{
tab
el
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.2em] (h2) at ([xshift=2.5em,yshift=2.5em]h0.east)
{
\scriptsize
{
tab
le
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.2em] (h3) at ([xshift=2.5em,yshift=-2.5em]h0.east)
{
\scriptsize
{
there is
}}
;
\node
[anchor=north west,inner sep=1.5pt,fill=black] (hl1) at (h1.north west)
{
\tiny
{{
\color
{
white
}
\textbf
{
2
}}}}
;
\node
[anchor=north west,inner sep=1.5pt,fill=black] (hl2) at (h2.north west)
{
\tiny
{{
\color
{
white
}
\textbf
{
1
}}}}
;
...
...
@@ -2833,8 +2833,8 @@ d^* = \argmax_{d} \sum_{d \in D(\mathbf{s}, \mathbf{t})} \Pr(d, \mathbf{t}|\ma
\visible
<3->
{
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.2em] (h4) at ([xshift=2.5em,yshift=-1.8em]h3.east)
{
\scriptsize
{
one
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.2em] (h5) at ([xshift=2.5em,yshift=0.7em]h3.east)
{
\scriptsize
{
an apple
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.2em] (h6) at ([xshift=2.5em,yshift=0.7em]h1.east)
{
\scriptsize
{
tab
el
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.5em] (h7) at ([xshift=2.5em,yshift=0.7em]h5.east)
{
\scriptsize
{
on the tab
el
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.2em] (h6) at ([xshift=2.5em,yshift=0.7em]h1.east)
{
\scriptsize
{
tab
le
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.5em] (h7) at ([xshift=2.5em,yshift=0.7em]h5.east)
{
\scriptsize
{
on the tab
le
}}
;
\node
[anchor=west,inner sep=2pt,fill=red!20,minimum height=1.7em,minimum width=3.2em] (h8) at ([xshift=2.5em,yshift=-2em]h5.east)
{
\scriptsize
{
apple
}}
;
\node
[anchor=north west,inner sep=1.5pt,fill=black] (hl4) at (h4.north west)
{
\tiny
{{
\color
{
white
}
\textbf
{
4
}}}}
;
...
...
@@ -3045,7 +3045,7 @@ d^* = \argmax_{d} \sum_{d \in D(\mathbf{s}, \mathbf{t})} \Pr(d, \mathbf{t}|\ma
\draw
[->,thick,red] (h13.north).. controls +(60:0.5) and +(120:0.5) .. (h23.north);
\draw
[->,thick,red] (h13.north).. controls +(58:0.8) and +(122:0.8) .. (h33.north);
\draw
[->,thick,red] (h1.north).. controls +(60:0.5) and +(120:0.5) .. (h2.north);
\draw
[->,thick,red] (h
1.north).. controls +(58:0.8) and +(122:0.8
) .. (h3.north);
\draw
[->,thick,red] (h
2.north).. controls +(60:0.5) and +(120:0.5
) .. (h3.north);
}
\node
[anchor=south east] (wtranslabel) at ([xshift=-2em,yshift=-2em]h0.south west)
{
\scriptsize
{
\textbf
{
:假设堆栈
}}}
;
\node
[anchor=east,inner sep=2pt,fill=blue!10,minimum height=1em,minimum width=2em] (stacklabel) at ([xshift=-0.1em]wtranslabel.west)
{}
;
...
...
@@ -3419,7 +3419,7 @@ d^* = \argmax_{d} \sum_{d \in D(\mathbf{s}, \mathbf{t})} \Pr(d, \mathbf{t}|\ma
\visible
<3->
{&
\xrightarrow
[]
{
r
_
2
}
&
\langle\ \textrm
{
进口
}
\ \alert
{
\textrm
{
X
}_
3
\ \textrm
{
下降
}
\ \textrm
{
X
}_
4
}
,
\ \textrm
{
The imports
}
\ \alert
{
\textrm
{
X
}_
4
\ \textrm
{
X
}_
3
\ \textrm
{
fallen
}}
\ \rangle
\nonumber
\\
}
\visible
<4->
{&
\xrightarrow
[]
{
r
_
3
}
&
\langle\ \textrm
{
进口
}
\ \alert
{
\textrm
{
大幅度
}}
\ \textrm
{
下降
}
\ \textrm
{
X
}_
4,
\nonumber
\\
}
\visible
<4->
{&
&
\ \textrm
{
The imports
}
\ \textrm
{
X
}_
4
\ \alert
{
\textrm
{
drastically
}}
\ \textrm
{
fallen
}
\ \rangle
\nonumber
\\
}
\visible
<5->
{&
\xrightarrow
[]
{
r
_
3
}
&
\langle\ \textrm
{
进口
}
\ \textrm
{
大幅度
}
\ \textrm
{
下降
}
\ \alert
{
\textrm
{
了
}}
,
\nonumber
\\
}
\visible
<5->
{&
\xrightarrow
[]
{
r
_
4
}
&
\langle\ \textrm
{
进口
}
\ \textrm
{
大幅度
}
\ \textrm
{
下降
}
\ \alert
{
\textrm
{
了
}}
,
\nonumber
\\
}
\visible
<5->
{&
&
\ \textrm
{
The imports
}
\ \alert
{
\textrm
{
have
}}
\ \textrm
{
drastically
}
\ \textrm
{
fallen
}
\ \rangle
\nonumber
}
\end{eqnarray}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论