mirror of
https://github.com/skindhu/Build-A-Large-Language-Model-CN.git
synced 2026-07-16 17:06:40 +08:00
add third chapter
This commit is contained in:
@@ -284,12 +284,12 @@ Sum: tensor(1.)
|
||||
>
|
||||
> 1. **Softmax 的原理**
|
||||
>
|
||||
> Softmax 函数的公式如下:
|
||||
> Softmax 函数的公式如下: $\operatorname{softmax}\left(z_{i}\right)=\frac{e^{z_{i}}}{\sum_{j} e^{z_{j}}}$
|
||||
>
|
||||
>
|
||||
> $$
|
||||
> \operatorname{softmax}\left(z_{i}\right)=\frac{e^{z_{i}}}{\sum_{j} e^{z_{j}}}
|
||||
> $$
|
||||
>
|
||||
> g
|
||||
>
|
||||
> This is an inline formula: $E=mc^2$.
|
||||
>
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user