From c18496823a82c488e2886c348e329fe4c3ca5745 Mon Sep 17 00:00:00 2001 From: Daniel Bourke Date: Fri, 25 Aug 2023 16:38:56 +1000 Subject: [PATCH] fix typos --- 08_pytorch_paper_replicating.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/08_pytorch_paper_replicating.ipynb b/08_pytorch_paper_replicating.ipynb index 15ac7d8..728258e 100644 --- a/08_pytorch_paper_replicating.ipynb +++ b/08_pytorch_paper_replicating.ipynb @@ -2175,7 +2175,7 @@ "\n", "\"going\n", "\n", - "*Reviewing what we've done to create the learnable class token, we start with a sequence of image patch embeddings created by `PatchEmbedding()` on single image, we then created a learnable class token with one value for each of the embedding dimensions and then prepended it to the original sequence of patch embeddings. **Note:** Using `torch.ones()` to create the learnable class token is mostly for demonstration purposes only, in practice, you'd like create it with `torch.randn()`.* " + "*Reviewing what we've done to create the learnable class token, we start with a sequence of image patch embeddings created by `PatchEmbedding()` on single image, we then created a learnable class token with one value for each of the embedding dimensions and then prepended it to the original sequence of patch embeddings. **Note:** Using `torch.ones()` to create the learnable class token is mostly for demonstration purposes only, in practice, you'd likely create it with `torch.randn()`.* " ] }, {