Pārlūkot izejas kodu

Minor typo: pply -> Apply (#749)

Sebastian Raschka 4 mēneši atpakaļ
vecāks
revīzija
13f049f6a4
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      ch05/11_qwen3/standalone-qwen3.ipynb

+ 2 - 2
ch05/11_qwen3/standalone-qwen3.ipynb

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