"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "2d8340a91fe930b394902695c22f9dd892c309bd"
Unverified Commit eaab9397 authored by Nick Lane-Smith's avatar Nick Lane-Smith Committed by GitHub
Browse files

Fix two typos in docs (#11852)

* typo2

* fix typo
parent 8a2a3a25
...@@ -107,7 +107,7 @@ This command performs a magical link between the folder you cloned the repositor ...@@ -107,7 +107,7 @@ This command performs a magical link between the folder you cloned the repositor
``` ```
now this editable install will reside where you clone the folder to, e.g. `~/transformers/` and python will search it too. now this editable install will reside where you clone the folder to, e.g. `~/transformers/` and python will search it too.
Do note that you have to keep that `transformers` folder around and not delete it to continue using the `transfomers` library. Do note that you have to keep that `transformers` folder around and not delete it to continue using the `transformers` library.
Now, let's get to the real benefit of this installation approach. Say, you saw some new feature has been just committed into `master`. If you have already performed all the steps above, to update your transformers to include all the latest commits, all you need to do is to `cd` into that cloned repository folder and update the clone to the latest version: Now, let's get to the real benefit of this installation approach. Say, you saw some new feature has been just committed into `master`. If you have already performed all the steps above, to update your transformers to include all the latest commits, all you need to do is to `cd` into that cloned repository folder and update the clone to the latest version:
......
...@@ -131,7 +131,7 @@ directly create a PyTorch version of your TensorFlow model: ...@@ -131,7 +131,7 @@ directly create a PyTorch version of your TensorFlow model:
.. code-block:: python .. code-block:: python
from transfomers import AutoModel from transformers import AutoModel
model = AutoModel.from_pretrained(save_directory, from_tf=True) model = AutoModel.from_pretrained(save_directory, from_tf=True)
......
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