Skip to content

Commit 01a46ca

Browse files
committed
GPT comment
1 parent 03ac132 commit 01a46ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Module12/GPT_hist.ipynb

+1-3
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,6 @@
645645
" optimizer.zero_grad()\n",
646646
" loss.backward()\n",
647647
" optimizer.step()\n",
648-
" #\n",
649-
" # complete the code below:\n",
650648
" _,preds = torch.max(logits,-1)\n",
651649
" \n",
652650
" running_corrects += torch.true_divide(torch.sum(preds == targets.data),targets.shape[0]*targets.shape[1])\n",
@@ -760,7 +758,7 @@
760758
"name": "python",
761759
"nbconvert_exporter": "python",
762760
"pygments_lexer": "ipython3",
763-
"version": "3.6.9"
761+
"version": "3.8.2"
764762
}
765763
},
766764
"nbformat": 4,

0 commit comments

Comments
 (0)