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,