|
|
@@ -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,
|