Skip to content

Commit

Permalink
fix mistake in notebook 11
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelHomberg committed Sep 21, 2023
1 parent e643676 commit 1283559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Notebooks_EN/11 - Recurrent Neural Networks.ipynb
Expand Up @@ -396,7 +396,7 @@
"id": "b36ea152",
"metadata": {},
"source": [
"If you now look at the first row (index `0`) in the weight matrix of the `embedding_layer`, you will notice that this vector has exactly the same values as the first row in the `token_embeddings` layer."
"If you now look at the fourth row (index `3`, for carbon "C") in the weight matrix of the `embedding_layer`, you will notice that this vector has exactly the same values as the first row in the `token_embeddings` layer (as the first atom is a carbon atom)."
]
},
{
Expand All @@ -406,7 +406,7 @@
"metadata": {},
"outputs": [],
"source": [
"embedding_layer[0,:]"
"embedding_layer[3,:]"
]
},
{
Expand Down

0 comments on commit 1283559

Please sign in to comment.