diff --git a/1 - Neural Bag of Words.ipynb b/1 - Neural Bag of Words.ipynb index a7b975c..4cbf3ad 100644 --- a/1 - Neural Bag of Words.ipynb +++ b/1 - Neural Bag of Words.ipynb @@ -545,7 +545,7 @@ "\n", "The first special token is our unknown token, the other, `` is a special token we'll use for padding sentences.\n", "\n", - "When we feed sentences into our model, we pass a _batch_ of sentences, i.e. more than one, at the same time. Passing a batch of sentences is preferred to passing sentences one at a time as it allows our model to perform computation on all sentences within a batch in paralle, thus speeding up the time taken to train and evaluate our model. All sentences within a batch need to be the same length (in terms of the number of tokens). Thus, to ensure each sentence is the same length, any shorter than the longest sentence need to have padding tokens appended to the end of them.\n", + "When we feed sentences into our model, we pass a _batch_ of sentences, i.e. more than one, at the same time. Passing a batch of sentences is preferred to passing sentences one at a time as it allows our model to perform computation on all sentences within a batch in parallel, thus speeding up the time taken to train and evaluate our model. All sentences within a batch need to be the same length (in terms of the number of tokens). Thus, to ensure each sentence is the same length, any shorter than the longest sentence need to have padding tokens appended to the end of them.\n", "\n", "For an example batch of two sentences of length four and three tokens:\n", "\n",