mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-10-24 06:20:19 +00:00
add dropout scaling note
This commit is contained in:
parent
2fd07e2cfd
commit
5348565e0f
@ -1485,7 +1485,8 @@
|
|||||||
"id": "5a575458-a6da-4e54-8688-83e155f2de06",
|
"id": "5a575458-a6da-4e54-8688-83e155f2de06",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"- If we apply a dropout rate of 0.5 (50%), the non-dropped values will be scaled accordingly by a factor of 1/0.5 = 2."
|
"- If we apply a dropout rate of 0.5 (50%), the non-dropped values will be scaled accordingly by a factor of 1/0.5 = 2\n",
|
||||||
|
"- The scaling is calculated by the formula 1 / (1 - `dropout_rate`)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user