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
8468cf3c
Commit
8468cf3c
authored
May 12, 2020
by
xiaotong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor updates
parent
bc8b8d78
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
Book/Chapter4/chapter4.tex
+1
-1
Book/Chapter6/Chapter6.tex
+4
-4
Book/Chapter7/Figures/figure-increase-the-encoder.tex
+1
-1
没有找到文件。
Book/Chapter4/chapter4.tex
查看文件 @
8468cf3c
...
...
@@ -1200,7 +1200,7 @@ h_i (d,\textbf{t},\textbf{s})=\sum_{r \in d}h_i (r)
\parinterval
最终,模型得分被定义为:
\begin{eqnarray}
\textrm
{
score
}
(d,
\textbf
{
t
}
,
\textbf
{
s
}
)=
\textrm
{
rscore
}
(d,
\textbf
{
t
}
,
\textbf
{
s
}
)+
\lambda
_
8
\textrm
{
log
}
(
\textrm
{
P
}_{
\textrm
{
lm
}}
(
\text
rm
{
t
}
))+
\lambda
_
9
\mid
\textrm
{
t
}
\mid
\textrm
{
score
}
(d,
\textbf
{
t
}
,
\textbf
{
s
}
)=
\textrm
{
rscore
}
(d,
\textbf
{
t
}
,
\textbf
{
s
}
)+
\lambda
_
8
\textrm
{
log
}
(
\textrm
{
P
}_{
\textrm
{
lm
}}
(
\text
bf
{
t
}
))+
\lambda
_
9
\mid
\textbf
{
t
}
\mid
\label
{
eq:4-27
}
\end{eqnarray}
...
...
Book/Chapter6/Chapter6.tex
查看文件 @
8468cf3c
...
...
@@ -1513,10 +1513,10 @@ L(\mathbf{Y},\widehat{\mathbf{Y}}) = \sum_{j=1}^n L_{\textrm{ce}}(\mathbf{y}_j,\
\parinterval
可以得到``
$
pos
+
k
$
''的位置编码为:
\begin{eqnarray}
\textrm
{
PE
}
(pos+k,2i)
&
=
&
\textrm
{
PE
}
(pos,2i)
\times
\textrm
{
PE
}
(k,2i+1)
+
\textrm
{
PE
}
(pos,2i+1)
\times
\textrm
{
PE
}
(k,2i)
\nonumber
\\
\textrm
{
PE
}
(pos+k ,2i+1)
&
=
&
\textrm
{
PE
}
(pos,2i+1)
\times
\textrm
{
PE
}
(k,2i+1)
-
\textrm
{
PE
}
(pos,2i)
\times
\textrm
{
PE
}
(k,2i)
\nonumber
\\
\textrm
{
PE
}
(pos+k,2i)
&
=
&
\textrm
{
PE
}
(pos,2i)
\times
\textrm
{
PE
}
(k,2i+1)
+
\nonumber
\\
&
&
\textrm
{
PE
}
(pos,2i+1)
\times
\textrm
{
PE
}
(k,2i)
\\
\textrm
{
PE
}
(pos+k ,2i+1)
&
=
&
\textrm
{
PE
}
(pos,2i+1)
\times
\textrm
{
PE
}
(k,2i+1)
-
\nonumber
\\
&
&
\textrm
{
PE
}
(pos,2i)
\times
\textrm
{
PE
}
(k,2i)
\label
{
eq:6-46
}
\end{eqnarray}
...
...
Book/Chapter7/Figures/figure-increase-the-encoder.tex
查看文件 @
8468cf3c
...
...
@@ -15,7 +15,7 @@
\node
[node]
(enc10) at ([xshift =
\base
]enc9.east)
{}
;
\node
[font=\scriptsize,rotate=270]
(src) at ([xshift = -
\base
]enc1.west)
{
src
}
;
\draw
[->] ([xshift=-0.75em]enc1.west) -- (enc1.west);
\draw
[decorate,decoration=
{
brace
}
] ([yshift=0.3em]enc1.north west) to node [auto,anchor=south,font=
\scriptsize
]
{
N
x
}
([yshift=0.3em]enc10.north east);
\draw
[decorate,decoration=
{
brace
}
] ([yshift=0.3em]enc1.north west) to node [auto,anchor=south,font=
\scriptsize
]
{
$
N
$
x
}
([yshift=0.3em]enc10.north east);
\draw
[->] (enc1.east) -- (enc2.west);
\draw
[->] (enc2.east) -- (enc3.west);
\draw
[->] (enc3.east) -- (enc4.west);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论