Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 12-3.md #780

Merged
merged 14 commits into from
May 7, 2021
2 changes: 1 addition & 1 deletion docs/en/week12/12-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

where $\boldsymbol{a} \in \mathbb{R}^n$ is a column vector with components $\alpha_i$.
where $\boldsymbol{a} \in \mathbb{R}^t$ is a column vector with components $\alpha_i$.

Note that this differs from the hidden representation we have seen so far, where the inputs are multiplied by a matrix of weights.

Expand Down
4 changes: 2 additions & 2 deletions docs/es/week12/12-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

<!-- where $\boldsymbol{a} \in \mathbb{R}^n$ is a column vector with components $\alpha_i$. -->
donde $\boldsymbol{a} \in \mathbb{R}^n$ es un vector columna con componentes $\alpha_i$.
<!-- where $\boldsymbol{a} \in \mathbb{R}^t$ is a column vector with components $\alpha_i$. -->
donde $\boldsymbol{a} \in \mathbb{R}^t$ es un vector columna con componentes $\alpha_i$.

<!-- Note that this differs from the hidden representation we have seen so far, where the inputs are multiplied by a matrix of weights. -->
Nótese que esto difiere de la representación oculta que hemos visto hasta ahora, donde las entradas son multiplicadas por una matriz de pesos.
Expand Down
4 changes: 2 additions & 2 deletions docs/fr/week12/12-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

where $\boldsymbol{a} \in \mathbb{R}^n$ is a column vector with components $\alpha_i$.
where $\boldsymbol{a} \in \mathbb{R}^t$ is a column vector with components $\alpha_i$.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the comment (which you correctly fixed), but you forgot to edit line 81 below.


Note that this differs from the hidden representation we have seen so far, where the inputs are multiplied by a matrix of weights.

Expand Down Expand Up @@ -78,7 +78,7 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

où $\boldsymbol{a} \in \mathbb{R}^n$ est un vecteur colonne avec les composantes $\alpha_i$.
où $\boldsymbol{a} \in \mathbb{R}^t$ est un vecteur colonne avec les composantes $\alpha_i$.

Notez que cela diffère de la représentation cachée que nous avons vue jusqu'à présent, où les entrées sont multipliées par une matrice de poids.

Expand Down
4 changes: 2 additions & 2 deletions docs/ja/week12/12-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

<!-- where $\boldsymbol{a} \in \mathbb{R}^n$ is a column vector with components $\alpha_i$. -->
ただし$\boldsymbol{a} \in \mathbb{R}^n$は要素が$\alpha_i$の列ベクトルです。
<!-- where $\boldsymbol{a} \in \mathbb{R}^t$ is a column vector with components $\alpha_i$. -->
ただし$\boldsymbol{a} \in \mathbb{R}^t$は要素が$\alpha_i$の列ベクトルです。

<!-- Note that this differs from the hidden representation we have seen so far, where the inputs are multiplied by a matrix of weights.

Expand Down
4 changes: 2 additions & 2 deletions docs/ko/week12/12-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

where $\boldsymbol{a} \in \mathbb{R}^n$ is a column vector with components $\alpha_i$.
where $\boldsymbol{a} \in \mathbb{R}^t$ is a column vector with components $\alpha_i$.

Note that this differs from the hidden representation we have seen so far, where the inputs are multiplied by a matrix of weights.

Expand Down Expand Up @@ -76,7 +76,7 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

$\boldsymbol{a} \in \mathbb{R}^n$는 요소 $\alpha_i$를 갖고있는 열 벡터이다.
$\boldsymbol{a} \in \mathbb{R}^t$는 요소 $\alpha_i$를 갖고있는 열 벡터이다.

이는 우리가 지금까지 보아온 은닉 표현, 입력값이 가중치 행렬로 곱해지는 것과는 다르다.

Expand Down
4 changes: 2 additions & 2 deletions docs/ru/week12/12-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

where $\boldsymbol{a} \in \mathbb{R}^n$ is a column vector with components $\alpha_i$.
where $\boldsymbol{a} \in \mathbb{R}^t$ is a column vector with components $\alpha_i$.

Note that this differs from the hidden representation we have seen so far, where the inputs are multiplied by a matrix of weights.

Expand Down Expand Up @@ -75,7 +75,7 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

где $\boldsymbol{a} \in \mathbb{R}^n$ вектор-столбец с компонентами $\alpha_i$.
где $\boldsymbol{a} \in \mathbb{R}^t$ вектор-столбец с компонентами $\alpha_i$.

Отметим, что это отличается от внутреннего представления, которое мы видели до сих пор, где входы умножались на матрицу весов.

Expand Down
6 changes: 3 additions & 3 deletions docs/tr/week12/12-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ $$
$$

<!--
where $\boldsymbol{a} \in \mathbb{R}^n$ is a column vector with components $\alpha_i$.
where $\boldsymbol{a} \in \mathbb{R}^t$ is a column vector with components $\alpha_i$.

Note that this differs from the hidden representation we have seen so far, where the inputs are multiplied by a matrix of weights.

Depending on the constraints we impose on the vector $\vect{a}$, we can achieve hard or soft attention.
-->
Burada $\boldsymbol{a} \in \mathbb{R}^n$, bileşenleri $\alpha_i$ olan bir sütun vektörüdür.
Burada $\boldsymbol{a} \in \mathbb{R}^t$, bileşenleri $\alpha_i$ olan bir sütun vektörüdür.

Dikkat edin, bu daha önce gördüğümüz, girdilerin ağırlık matrisleriyle çarpıldığı gizli gösterimlerden farklı.

Expand Down Expand Up @@ -577,4 +577,4 @@ model = TransformerClassifier(num_layers=1, d_model=32, num_heads=2,
```
<!--
Where this model is trained in typical fashion.
-->
-->
2 changes: 1 addition & 1 deletion docs/zh/week12/12-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $$
\boldsymbol{h} = \boldsymbol{X} \boldsymbol{a}
$$

其中$\boldsymbol{a} \in \mathbb{R}^n$ 是具有$\alpha_i$分量的列向量.
其中$\boldsymbol{a} \in \mathbb{R}^t$ 是具有$\alpha_i$分量的列向量.

请注意,这与我们到目前为止看到的隐藏表示形式不同,在隐藏表示形式中,输入乘以权重矩阵。

Expand Down