Minor typo: pply -> Apply (#749)

This commit is contained in:
Sebastian Raschka 2025-07-22 08:19:25 -05:00 committed by GitHub
parent 068751c053
commit b74ab9611e

View File

@ -1083,7 +1083,7 @@
" min_val = top_logits[:, -1]\n",
" logits = torch.where(logits < min_val, torch.tensor(-torch.inf).to(logits.device), logits)\n",
"\n",
" # pply temperature scaling\n",
" # Apply temperature scaling\n",
" if temperature > 0.0:\n",
" logits = logits / temperature\n",
"\n",
@ -1201,7 +1201,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.16"
"version": "3.11.9"
}
},
"nbformat": 4,