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