mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
Minor typo: pply -> Apply (#749)
This commit is contained in:
committed by
GitHub
parent
c6472f1af1
commit
13f049f6a4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user