From a258982af3f2caef6db682d87881d2975945d11f Mon Sep 17 00:00:00 2001 From: Pri Oberoi <54854789+pri-ax@users.noreply.github.com> Date: Thu, 18 Jun 2020 19:04:04 -0400 Subject: [PATCH] Add missing arg in 02-transformers notebook (#5085) * Add missing arg when creating model * Fix typos * Remove from_tf flag when creating model --- notebooks/02-transformers.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/02-transformers.ipynb b/notebooks/02-transformers.ipynb index 7164e957b..81615b501 100644 --- a/notebooks/02-transformers.ipynb +++ b/notebooks/02-transformers.ipynb @@ -221,7 +221,7 @@ }, "source": [ "The code you saw in the previous section introduced all the steps required to do simple model invocation.\n", - "For more day-to-day usage, transformers provides you higher-level methods which will makes your NLP journey easier\n", + "For more day-to-day usage, transformers provides you higher-level methods which will makes your NLP journey easier.\n", "Let's improve our previous example" ] }, @@ -268,7 +268,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "As you can see above, the methode `encode_plus` provides a convenient way to generate all the required parameters\n", + "As you can see above, the method `encode_plus` provides a convenient way to generate all the required parameters\n", "that will go through the model. \n", "\n", "Moreover, you might have noticed it generated some additional tensors: \n",