"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "a7ba27b1b4c10462221f915a4cc4f91beb73eafc"
Unverified Commit a258982a authored by Pri Oberoi's avatar Pri Oberoi Committed by GitHub
Browse files

Add missing arg in 02-transformers notebook (#5085)

* Add missing arg when creating model

* Fix typos

* Remove from_tf flag when creating model
parent 32e94cff
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
}, },
"source": [ "source": [
"The code you saw in the previous section introduced all the steps required to do simple model invocation.\n", "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" "Let's improve our previous example"
] ]
}, },
...@@ -268,7 +268,7 @@ ...@@ -268,7 +268,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "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", "that will go through the model. \n",
"\n", "\n",
"Moreover, you might have noticed it generated some additional tensors: \n", "Moreover, you might have noticed it generated some additional tensors: \n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment