From 01a46ca2a0406e8d2f3792b76abfa292bec1b99e Mon Sep 17 00:00:00 2001 From: Marc Lelarge Date: Fri, 24 Nov 2023 11:12:09 +0100 Subject: [PATCH] GPT comment --- Module12/GPT_hist.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Module12/GPT_hist.ipynb b/Module12/GPT_hist.ipynb index a7abc51..dc9a14d 100644 --- a/Module12/GPT_hist.ipynb +++ b/Module12/GPT_hist.ipynb @@ -645,8 +645,6 @@ " optimizer.zero_grad()\n", " loss.backward()\n", " optimizer.step()\n", - " #\n", - " # complete the code below:\n", " _,preds = torch.max(logits,-1)\n", " \n", " running_corrects += torch.true_divide(torch.sum(preds == targets.data),targets.shape[0]*targets.shape[1])\n", @@ -760,7 +758,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.9" + "version": "3.8.2" } }, "nbformat": 4,