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
5a368988
Commit
5a368988
authored
Nov 06, 2020
by
孟霞
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'master' 到 'mengxia'
Master 查看合并请求
!346
parents
2bd8b3ef
ef167b14
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
10 行增加
和
9 行删除
+10
-9
Chapter10/Figures/figure-3-base-problom-of-p.tex
+3
-3
Chapter10/Figures/figure-calculation-process-of-context-vector-c.tex
+4
-4
Chapter10/Figures/mt-history.png
+0
-0
Chapter10/chapter10.tex
+0
-0
Chapter12/chapter12.tex
+0
-0
Chapter9/chapter9.tex
+0
-0
mt-book-xelatex.tex
+1
-1
structure.tex
+2
-1
没有找到文件。
Chapter10/Figures/figure-3-base-problom-of-p.tex
查看文件 @
5a368988
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
{
{
\node
[anchor=north west] (line11) at ([yshift=-1.8em]line4.west)
{
\scriptsize
{
每个词的one-hot
}}
;
\node
[anchor=north west] (line11) at ([yshift=-1.8em]line4.west)
{
\scriptsize
{
每个词的one-hot
}}
;
\node
[anchor=north west] (line12) at ([yshift=0.3em]line11.south west)
{
\scriptsize
{
离散化表示都被转化为
}}
;
\node
[anchor=north west] (line12) at ([yshift=0.3em]line11.south west)
{
\scriptsize
{
离散化表示都被转化为
\ \ \ \
}}
;
\node
[anchor=north west] (line13) at ([yshift=0.3em]line12.south west)
{
\scriptsize
{
实数向量,即词嵌入
}}
;
\node
[anchor=north west] (line13) at ([yshift=0.3em]line12.south west)
{
\scriptsize
{
实数向量,即词嵌入
}}
;
\node
[anchor=north west] (line14) at ([yshift=0.3em]line13.south west)
{
\scriptsize
{
(
$
e
_
x
()
$
和
$
e
_
y
()
$
函数)
}}
;
\node
[anchor=north west] (line14) at ([yshift=0.3em]line13.south west)
{
\scriptsize
{
(
$
e
_
x
()
$
和
$
e
_
y
()
$
函数)
}}
;
}
}
...
@@ -95,13 +95,13 @@
...
@@ -95,13 +95,13 @@
\begin{pgfonlayer}
{
background
}
\begin{pgfonlayer}
{
background
}
{
{
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,fill=red!10,drop shadow,draw=red] [fit = (line1) (line2) (line3) (line4)] (box1)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,fill=red!10,drop shadow,draw=red
,minimum width =9em
] [fit = (line1) (line2) (line3) (line4)] (box1)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,very thick,dotted,draw=red] [fit = (softmax1) (softmax2) (softmax3)] (box4)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,very thick,dotted,draw=red] [fit = (softmax1) (softmax2) (softmax3)] (box4)
{}
;
\draw
[->,dotted,very thick,red] ([yshift=1em,xshift=2.5em]box1.east) -- ([yshift=1em,xshift=0.1em]box1.east);
\draw
[->,dotted,very thick,red] ([yshift=1em,xshift=2.5em]box1.east) -- ([yshift=1em,xshift=0.1em]box1.east);
}
}
{
{
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,fill=green!10,drop shadow,draw=ugreen] [fit = (line11) (line12) (line13) (line14)] (box2)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,fill=green!10,drop shadow,draw=ugreen
,minimum width =9em
] [fit = (line11) (line12) (line13) (line14)] (box2)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,very thick,dotted,draw=ugreen] [fit = (eemb1) (eemb2) (eemb3)] (box5)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,very thick,dotted,draw=ugreen] [fit = (eemb1) (eemb2) (eemb3)] (box5)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,very thick,dotted,draw=ugreen] [fit = (demb1) (demb2) (demb3)] (box6)
{}
;
\node
[rectangle,inner sep=0.2em,rounded corners=1pt,very thick,dotted,draw=ugreen] [fit = (demb1) (demb2) (demb3)] (box6)
{}
;
\draw
[->,dotted,very thick,ugreen] ([yshift=-1.3em,xshift=2.5em]box2.east) -- ([yshift=-1.3em,xshift=0.1em]box2.east);
\draw
[->,dotted,very thick,ugreen] ([yshift=-1.3em,xshift=2.5em]box2.east) -- ([yshift=-1.3em,xshift=0.1em]box2.east);
...
...
Chapter10/Figures/figure-calculation-process-of-context-vector-c.tex
查看文件 @
5a368988
...
@@ -39,19 +39,19 @@
...
@@ -39,19 +39,19 @@
\node
[anchor=north] (enc42) at ([yshift=0.5em]enc4.south)
{
\scriptsize
{
(位置
$
4
$
)
}}
;
\node
[anchor=north] (enc42) at ([yshift=0.5em]enc4.south)
{
\scriptsize
{
(位置
$
4
$
)
}}
;
{
{
\node
[anchor=west] (math1) at ([xshift=5em,yshift=1em]th2.east)
{$
\vectorn
{
C
}_
j
=
\sum
_{
i
}
\alpha
_{
i,j
}
\vectorn
{
h
}_
i
\ \
$
}
;
\node
[anchor=west] (math1) at ([xshift=5em,yshift=1em]th2.east)
{$
\vectorn
{
C
}_
j
=
\sum
_{
i
}
\alpha
_{
i,j
}
\vectorn
{
h
}_
i
$
\ \ \ \
}
;
}
}
{
{
\node
[anchor=north west] (math2) at ([yshift=-2em]math1.south west)
{$
\alpha
_{
i,j
}
=
\frac
{
\exp
(
\beta
_{
i,j
}
)
}{
\sum
_{
i'
}
\exp
(
\beta
_{
i',j
}
)
}$}
;
\node
[anchor=north west] (math2) at ([yshift=-2em
,xshift=-0.2em
]math1.south west)
{$
\alpha
_{
i,j
}
=
\frac
{
\exp
(
\beta
_{
i,j
}
)
}{
\sum
_{
i'
}
\exp
(
\beta
_{
i',j
}
)
}$}
;
\node
[anchor=north west] (math3) at ([yshift=-0em]math2.south west)
{$
\beta
_{
i,j
}
=
a
(
\vectorn
{
s
}_{
j
-
1
}
,
\vectorn
{
h
}_
i
)
$}
;
\node
[anchor=north west] (math3) at ([yshift=-0em]math2.south west)
{$
\beta
_{
i,j
}
=
a
(
\vectorn
{
s
}_{
j
-
1
}
,
\vectorn
{
h
}_
i
)
$}
;
}
}
\begin{pgfonlayer}
{
background
}
\begin{pgfonlayer}
{
background
}
{
{
\node
[rectangle,inner sep=0.4em,rounded corners=1pt,fill=blue!10,drop shadow] [fit = (math1)] (box1)
{}
;
\node
[rectangle,inner sep=0.4em,rounded corners=1pt,fill=blue!10,drop shadow
,minimum width=9.5em
] [fit = (math1)] (box1)
{}
;
}
}
{
{
\node
[rectangle,inner sep=0.4em,rounded corners=1pt,fill=orange!10,drop shadow] [fit = (math2) (math3)] (box2)
{}
;
\node
[rectangle,inner sep=0.4em,rounded corners=1pt,fill=orange!10,drop shadow
,minimum width=9.5em
] [fit = (math2) (math3)] (box2)
{}
;
}
}
\end{pgfonlayer}
\end{pgfonlayer}
...
...
Chapter10/Figures/mt-history.png
查看文件 @
5a368988
170 KB
|
W:
|
H:
176 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Chapter10/chapter10.tex
查看文件 @
5a368988
差异被折叠。
点击展开。
Chapter12/chapter12.tex
查看文件 @
5a368988
差异被折叠。
点击展开。
Chapter9/chapter9.tex
查看文件 @
5a368988
This source diff could not be displayed because it is too large. You can
view the blob
instead.
mt-book-xelatex.tex
查看文件 @
5a368988
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
{
\large
{
\large
\noindent
{
\color
{
red
}
在此感谢为本书做出贡献的小牛团队(部分)成员
}
\\
\noindent
{
\color
{
red
}
在此感谢为本书做出贡献的小牛团队(部分)成员
}
\\
\noindent
曹润柘、曾信、孟霞、单韦乔、姜雨帆、王子扬、刘辉、许诺、李北、刘继强、张哲旸、周书含、周涛、李炎洋、林野、陈贺轩、刘晓倩、牛蕊、田丰宁、杜权、李垠桥、许晨、张裕浩、胡驰、冯凯、王泽洋、刘腾博、刘兴宇、徐萍、赵闯、高博、张春良、王会珍、张俐、杨木润、宁义明、李洋、秦浩、胡明涵
\\
\noindent
曹润柘、曾信、孟霞、单韦乔、姜雨帆、王子扬、刘辉、许诺、李北、刘继强、张哲旸、周书含、周涛、李炎洋、林野、陈贺轩、刘晓倩、牛蕊、田丰宁、杜权、李垠桥、许晨、张裕浩、胡驰、冯凯、王泽洋、刘腾博、
罗应峰、魏冰浩、
刘兴宇、徐萍、赵闯、高博、张春良、王会珍、张俐、杨木润、宁义明、李洋、秦浩、胡明涵
\\
}
}
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
...
...
structure.tex
查看文件 @
5a368988
...
@@ -686,5 +686,6 @@ addtohook={%
...
@@ -686,5 +686,6 @@ addtohook={%
\newcommand\chaptereighteen
{
第十八章
}
%*
\newcommand\chaptereighteen
{
第十八章
}
%*
\newcommand\funp
{}
%函数P等使用,空是斜体,textrm是加粗
\newcommand\funp
{}
%函数P等使用,空是斜体,textrm是加粗
\newcommand\vectorn
{
\textbf
}
%向量N等使用\vectorn{\emph{s}}
\newcommand\vectorn
{
\textbf
}
%向量N等使用${\vectorn{\emph{s}}}$
\def\mathbi
#1
{
\textbf
{
\em
#1
}}
%向$量N等使用\mathbi{s}$
\newcommand\seq
{}
%序列N等使用
\newcommand\seq
{}
%序列N等使用
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论